Support » Plugin: WP Shopify » Quantities not updating

  • My product quantities are not updating correctly. It shows there is only 1 large hoodie of this style available in shopify, but the wordpress store (linked) shows there are 4 available. I’ve tried resyncing, made sure WP Shopify showed as a sales channel on shopify, disconnected and reconnected auto syncing. Im kind of stuck. any idea what i can do?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andrew @ wpshop.io

    (@andrewmrobbins)

    @meezymeek Hey there,

    It might be a caching issue. Can you try clearing your browser cache and re-checking?

    Thread Starter meezymeek

    (@meezymeek)

    Thanks for the response. That did not unfortunately resolve my issue.

    Thread Starter meezymeek

    (@meezymeek)

    Clearing my cookies for the site directly seemed to help however, but I would hate to have to inform my customers that they will need to clear their cookies in order to see correct quantities. Any ideas on how to get around that>

    Plugin Author Andrew @ wpshop.io

    (@andrewmrobbins)

    @meezymeek

    If you go into the plugin tools and use the “Clear cache” button, that should force customers to see the current data.

    Hope this helps!

    Thread Starter meezymeek

    (@meezymeek)

    @andrewmrobbins

    Thanks for the tip! Any idea how I could automate this with like a cron job or something to that effect?

    Thread Starter meezymeek

    (@meezymeek)

    @andrewmrobbins just tappin you one more time to see if you have any ideas for automatically keeping the quantities updated or automatically clearing cache every X hours. Thanks for any insight you can provide!

    Plugin Author Andrew @ wpshop.io

    (@andrewmrobbins)

    @meezymeek Hey there,

    This is actually due to the plugin’s attempt to anticipate inventory levels on page load. You can turn this off by adding the below JavaScript snippet to your WordPress theme:

    
    wp.hooks.addFilter("misc.show.inventoryLevels", "wpshopify", function(shouldSanitize) {
        return false;
      }
    );
    

    This will only work once the next plugin update is released (3.5.8). I’m aiming to push this out by Thursday.

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