• I modified the plugin to add a paypal and cart icon https://www.maxxlite.co.nz but this fails with the new plugin.

    The change shows while the page is loading, but once it is loaded… disappears!

    Under this line…

    echo '<span class="contents">' . sprintf( _n( '%d item', '%d items', $woocommerce->cart->get_cart_contents_count(), 'woocommerce-cart-tab' , $woocommerce->cart->get_cart_contents_count() ) . '</span>';

    I had added this…

    echo '<br/><span id="secure-text">Safe Checkout</span>';
    					echo '<img id="cart-icon" src="linktoicon/cart-icon-1.png">';
    					echo '<img id="paypal-secure" src="mydomain.co.nz/woocommerce/assets/images/icons/paypal.png">';

    https://www.ads-software.com/plugins/woocommerce-cart-tab/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Bizstudio

    (@ajamm)

    Possibly this may be a caching issue with a network WP install. I am now showing an older modification… quite weird.

    Hi,
    I’m trying to do some similar and also fail. But I’m not sure that this
    is related to caching as I tried to modify some other things within
    the script and these modifications appear immediately…

    So… anyone here who could shed some light on this problem?

    Thread Starter Bizstudio

    (@ajamm)

    My mods started working after 30 mins. No idea why as I has no cache plugin. But all good now.

    That’s strange… you’re absolutely right. I’ve waited now the 30 minutes you’ve mentioned and it’s working (alltough before some changes appeared immediately)… strange..

    anyway, thank’s a lot, I’d never come to the idea to wait for that long time ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mods not working in newer version’ is closed to new replies.