tomfrom
Forum Replies Created
-
No, it happens wen enough products are in the cart that the shipping is more than 1000, for example a product with a quantity of 20 (x 60 = 1200).
$productName = $metas[‘_product_name’][0];
$productPrice = $metas[‘_product_price’][0];
$shipping = “60.00”;<? echo print_wp_cart_button_for_product($productName, $productPrice, $shipping); ?>
sorry for the late reply!
Hello mra13, i think you have implemented this fix into your latest version, i updated the plugin today but the fault came back, ive reverted to my modified version for now, just letting you know!
Followed jeremyspouken’s advice and replaced ‘product’ with ‘wsc_product’ in wp_shopping_cart.php where needed ($POST_(‘product’) and input name=”product”). Working perfectly! thanks jeremyspouken
mra13 could you add this fix to future releases of your plugin? thanks ??
If i dont enter a product name everything works as expected…
Im still having this problem, ive updated to wordpres 3.6 and dissabled all other plugins so i know its not any problems with that.
I am however using custom post types to display information about each product but i dont have any named ‘product’
they are:
item_name
item_number
nominal_volume
brimful_volume
dimension
d1
handle
packing_unit
pdf
product_name
product_priceI have noticed that if the product name in WSC is the same as the name for the product post, the shopping cart will go to the product page when updated, if i change the name of the product so its not the same as the product page title then a 404 page will load, so it sounds similar to the problem jeremyspouken describes above.
anyone have any ideas on how i could fix this? im going to try changing the permalinks, page titles and custom post type lables to see if anything fixes it.
Ive just tested this on a new install of wordpress and everything seems fine. I need to get access to the htaccess file and see if theres anything in there causing a problem, i think it will either be a plugin conflict, htaccess issue or out of date wordpress install
Im using 3.4.2 and yes its the first time im using the plugin. Im using the twenty eleven theme and theres no cache plugins. Im actually updating the site for someone else.
Im using the PHP method to include the button and the normal shortcode to show the shopping cart.
I have tried deactivating some of the other plugins but ive not had any luck.
Thanks again
Tom
thats part of this problem though, if you click the add to cart button and it doesnt show you the shopping cart you can click ‘view cart’ on the product page at the top. the problem seems to be viewing the cart and also updating it
sorry
https://www.amphorea-buckets.co.uk/products/plastic-oval-buckets/
try adding the first product on that page and changing the quantity or removing the item.
Im also having the same issue on my website and im getting the same problems on viktorix’s website. Has anyone got a fix for this?
it would do if you put spaces into your name, because there is no spaces it cant break down the word!
Forum: Themes and Templates
In reply to: [Twenty Thirteen] Changing the Post Navigation links coloursif for example you use CSS to change the colour of a link and place the style tag into a stylesheet 3 times, its the 3rd tag is what will be used unless you specify !important on one of the tags before. !important basically tells the browser it has to use that style.
If its not working without adding !important its because further down in your stylesheet the colours being changed again.
try using if you use chrome press f12 and use the developer tools to view the html and css on a page, makes life a lot easier! (or firebug on firefox)
You also need to enclose the style tag in {}
try copying this into your new css file
@media (max-width: 643px){ .site-title {font-size: 20px;} }
^ also that