phildom
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Lightbox] Odd behaviour in WordPress 3.8Update, it does this in all galleries except the All Cakes gallery where it does nothing?
Grateful for some advice as all was working well before update
Forum: Plugins
In reply to: [Visual Form Builder] Visual Form Builder appearancethis is because the update looks for the vfb shortcode first, if it sees anything else it doesn’t load the css. Not sure if this is ideal?
the answer, as Matthew says is to download the dev version and select always on – it works
Forum: Plugins
In reply to: [WooCommerce] Change Cart text to Basket sitewideThis seems to actually work! I tried it on a non live site and it’s great. Why was this obvious and easy solution so hard to find?
Thanks crdust, next update (which by all accounts won’t be long) I’ll try it on the live site by adding the directories now. I’ll change the config after the update.
Good answer 5*. I’ll use your tip if I can on my blog.
Forum: Plugins
In reply to: [WooCommerce] Problem with adding and removing items to/from CartIt would apply to all pages. I doubt you will see a massive drop off in loading speed though.
My site https://www.creightonscakes.co.uk/2013 showed no signs of slowdown.
If you do decide to use a third party cache program make sure you exclude cart and checkout type pages from browser caching as well.
Try the code, see if it works, see if it slows the site and then decide?
Forum: Plugins
In reply to: [WooCommerce] Problem with adding and removing items to/from CartAdd it to the header.php.
Forum: Plugins
In reply to: [WooCommerce] Problem with adding and removing items to/from CartWith Daniel’s help I managed to find it was a caching issue. I added the following bit of code to the header:
<?php
header(“Cache-Control: no-cache, must-revalidate”); // HTTP/1.1
header(“Expires: Sat, 26 Jul 1997 05:00:00 GMT”); // Date in the past
?>This disables server side caching (so I’m told) even though my host said that they didn’t use server side caching. It solved all cart issues for me. V2 works as it should (for the moment).
Forum: Plugins
In reply to: [WooCommerce] Change Cart text to Basket sitewideHave a look at this, it may help:
Forum: Plugins
In reply to: [WooCommerce] Add to Cart functionality not workingI had exactly the same issue and it is a caching issue. If you use a caching program make sure that cart and checkout are excluded, don’t rely on woocommerce to exclude.
If this fails, which it did for me, try adding this code (without the descriptors):
Disabling Browser Cache in HTML
With this code placed in the top of the head section you can turn off client side caching.<meta http-equiv=”cache-control” content=”max-age=0″ />
<meta http-equiv=”cache-control” content=”no-cache” />
<meta http-equiv=”expires” content=”0″ />
<meta http-equiv=”expires” content=”Tue, 01 Jan 1980 1:00:00 GMT” />
<meta http-equiv=”pragma” content=”no-cache” />Disabling Server Side Cache in PHP
This little two liner code goes to the uppermost part of a PHP file.<?php
header(“Cache-Control: no-cache, must-revalidate”); // HTTP/1.1
header(“Expires: Sat, 26 Jul 1997 05:00:00 GMT”); // Date in the past
?>This worked for even though perhaps it shouldn’t of.
You can check out the working site at https://www.creightonscakes.co.uk/2013
edit: the ^&%^%$$ server seems to be having issues at the moment
Forum: Plugins
In reply to: [WooCommerce] Cart and delete problems version 2.0.5It’s either some hidden caching or the cart is not refreshing….I dunno but thanks anyway, appreciate your time.
I do use Total Cache but not on the new install site so there is no legacy data.
Forum: Plugins
In reply to: [WooCommerce] Cart and delete problems version 2.0.5That hack may work on a test site but not on a real one.:(
Forum: Plugins
In reply to: [WooCommerce] Cart and delete problems version 2.0.5I just added this bit of code to the header (as a test, it should go in the correct php file probably):
<?php
header(“Cache-Control: no-cache, must-revalidate”); // HTTP/1.1
header(“Expires: Sat, 26 Jul 1997 05:00:00 GMT”); // Date in the past
?>and it appears to have sorted the issue, so was it indeed some form of server side caching? What do you think?
Forum: Plugins
In reply to: [WooCommerce] Cart and delete problems version 2.0.5OK I understand but i don’t have any caching plugins on the test site and my hosting says they don’t use servers side caching….I’m still stuck.
My main site (which was working fine until the latest update)is now displaying a broken message and I have a new 2013 site but this is also broken https://www.creightonscakes.co.uk/2013/.
Both these use W3 Total Cache but exclude cart (basket) and checkout pages.
Maybe I’m jinxed
Forum: Plugins
In reply to: [WooCommerce] Cart and delete problems version 2.0.5I know, only happens when you are not logged though. Site now in 2012 and it’s the same sadly.
How did you disable add to cart on products on a category page?
Forum: Plugins
In reply to: [WooCommerce] Cart and delete problems version 2.0.5Actually looking at your site, nice by the way, you only allow add to cart from a single product page. I tried the test site this way and it seems to work OK for some reason. Need to look into this, thanks.
By the way it can’t be a caching issue because there is no caching.
Forum: Plugins
In reply to: [WooCommerce] Cart and delete problems version 2.0.5try the new test site at https://www.creightonscakes.co.uk/2014. Try adding and deleting a few products and see what happens. If you want access please respond through ticket number 34686.
Thanks for showing an interest by the way