Support » Plugin: WP Shopify » Cart Images linking incorrectly

  • karafa00

    (@karafa00)


    I do not use the WP Shopify default products page, and instead use a different page and add WP Shopify to it via shortcode. When I open the cart, if I click on the thumbnail image of one of the items, instead of going to the single product page, it goes to the default products page that I am not using. I need to fix this urgently.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author andrewmrobbins

    (@andrewmrobbins)

    @karafa00

    Hey there!

    In the next plugin update (2.1.2), you’ll be able to customize this image link using JS hooks in your theme. The hook you can use will look like this:

    
    wp.hooks.addFilter("cart.lineItems.link", "wpshopify", function(defaultVal, lineItem, cartState) {
      return "/your-custom-page";
    });
    

    I’m aiming to have the update out today or tomorrow.

    karafa00

    (@karafa00)

    I see that there are changelogs for version 2.1.1. WordPress isn’t giving me a prompt to update WP Shopify. I am stuck at 2.1.0

    Plugin Author andrewmrobbins

    (@andrewmrobbins)

    @karafa00

    Try deactivating the plugin and reactivating. That should force WP to check for an update.

    I should have 2.1.2 out soon.

    karafa00

    (@karafa00)

    Do I need to create a new private app? None of the products load at all anymore
    EDIT: Just took a while to sync

    • This reply was modified 4 months ago by karafa00.
    karafa00

    (@karafa00)

    Thanks for the quick responses

    Plugin Author andrewmrobbins

    (@andrewmrobbins)

    @karafa00

    Can you try deactivating all your other plugins for me to see if the products loads again? Also try toggling to another theme as well temporarily.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.