Tagged: x
-
AuthorPosts
-
March 14, 2017 at 1:57 pm #1406955
Hi there,
We’re having an issue where the minicart essentially doesn’t work on non-Woocommerce pages as it’s being cached.
Trying to find an answer seems to lead back to whether the minicart is using AJAX or not.
[here’s a solution suggested to solve the problem on a different theme – https://catapultthemes.com/updating-the-woocommerce-mini-cart-via-ajax/ ]
Is this the case, that the minicart used on X-Theme isn’t AJAX so out side of WC it’s being cached (or am I completely wrong and it’s another issue)?
Thank you 🙂
(Website is https://diosa.uk you can see it works fine on any WC page, but if you go to other pages such as home or contact, it shows a cached version)
March 14, 2017 at 11:29 pm #1407549Hi there,
Thanks for writing in! It sounds like you might be having an issue with a third party plugin or script. Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
Thank you for your understanding.
March 15, 2017 at 2:12 am #1407648Hi Rupok,
Of course I understand; but the question I asked was ‘is the X-Theme navbar’s minicart AJAX or not?’ – that functionality is “native to X” and if it isn’t AJAX at least I’ll know that this is where our problem (probably) lies.
Appreciate if you could let us know this 🙂
March 15, 2017 at 3:26 am #1407705Ignore and apologies…
For anyone else, the cause was because we implemented a ‘speed’ recommendation from wpspeedguru.com (Alexei Kutsko off the X-Theme FB Forum).
His ‘Woocommerce Optimization Code’, dequeue’s scripts needed to make the minicart work on non-woocommerce pages – from what I can tell the one script that needs removing is the wp_dequeue_script( ‘wc-cart-fragments’ ); one.
Sorted! 🙂
March 15, 2017 at 5:43 am #1407809Thanks for sharing.
-
AuthorPosts