Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Avatar: andyreece
    andyreece
    Participant

    Hi

    Thanks for the quick reply, unfortunately this doesn’t resolve the issue
    as the ‘Etheme_WooCommerce_Widget_Cart’ is not referenced anywhere in the code apart from the header.php so causes an error as the class doesn’t exist when the header tries to run

    When you say

    reupload it from a new theme package.

    What exactly do you mean as I have uploaded the new theme in whole that was downloaded from ThemeForest so this is the latest woocommerce folder

    Also just looking at the latest download the version actually says 4.1.1 in the stylesheet not 4.2 even though the zipped file says 4.2. Is this the correct download?

    Cheers
    Andy

    Avatar: andyreece
    andyreece
    Participant

    Hi

    I have the same issue
    I have looked and see that the class Etheme_WooCommerce_Widget_Cart is no longer included in the code/woo.php file or any other file but is still called in the header.php file

    Cheers
    Andy

    Avatar: andyreece
    andyreece
    Participant

    Hi

    I have now resolved this with WP Engine by removing the necessary Woocommerce pages from the server level cache and also Woocommerce cookies as these were being cached as well

    All is now fine

    Cheers
    Andy

    Avatar: andyreece
    andyreece
    Participant

    Hi

    It’s not SSL I’ve narrowed it down to caching
    I’m using WP Engine and the pages are cached, so when the code in script.js runs to get the updated page

    
    jQuery.get(this_pageIe, function(data) {
    	var newCartHtml = jQuery(data).find('.widget_shopping_cart').html();
    	jQuery('.widget_shopping_cart').html(newCartHtml);         
    });

    Is getting the same page it’s on, this is cached so returns no update
    Also when you then go to a new page or refresh then the cart comes back empty

    Cheers
    Andy

    Avatar: andyreece
    andyreece
    Participant

    It works on my localhost and the staging site but not on the live server
    I think it may be to do with SSL

    Please, contact administrator
    for this information.
Viewing 5 posts - 1 through 5 (of 5 total)