This topic has 11 replies, 3 voices, and was last updated 10 years, 2 months ago ago by Eva Kemp
Hi again.
am running into problems with the ‘add to cart’ & cart widget.
add to cart has stopped working, when click on button in cat view the loading graphic appears but freezers, with nothing added.
the cart widget dosnt even show products when added to cart!
iv been through and deactivated plugins but still the same…
any idea what could make this stop working?
iv included admin/ftp below
Hello,
Have you made any changes in the theme files? As I see there are 2 IDStore themes in Appearance > Themes.
Regards,
Eva Kemp.
Hi Eva,
Yes i have made changes to the theme, which i know will probably be out of your support! anyway i have manage to find the problem and its now working.
// add sku to product tags cart page
add_filter( 'woocommerce_in_cart_product_title', 'add_sku_in_cart', 20, 3);
function add_sku_in_cart( $title, $values, $cart_item_key ) {
$sku = $values['data']->get_sku();
return $sku ? $title . sprintf(" <span>(SKU: %s)</span>", $sku) : $title;
}
The code above which i had added to functions.php was causing the problem.
BUT i am still left with the problem of the Cart widget!
iv used a clean install of your theme and dose not work on that as well ?
when add to cart from cat view anything in the cart widget disappear and only show when u refresh the page!
any idea why it dose that ?
(test site clean version: http://1stop.co.th/)
Hello,
Sorry, but as this is Woocommerce cart widget we recommend you to contact Woocommerce support regarding this issue.
Perhaps they will suggest you some solution.
Regards,
Eva Kemp.
ok il check with them.
Hello,
If you have any questions please feel free to contact us.
Regards,
Robert Hall.
tried it using the default WP theme Twenty Fourteen, the widget works! so is this theme related or problem with WooCommerce?
have you managed to have it work under ID Store theme?
Hello,
I’ve jut tested WP theme Twenty Fourteen and there is no sidebar on the Products page with the Cart widget. Which page did you check it on with this theme? Have you tried contacting Woocommerce support regarding this issue?
Regards,
Eva Kemp.
Hi Eva,
Yes contact Woocommerce but no reply back yet..
I know there is no sidebar so i just added to the footer for testing.
Woocommerce replied back and suggest i might be a conflict with Contactfrom7 Captcha, iv disabled the plugin and also commented out /really-simple-captcha.php in file /code/init.php.
but still no joy! and they think its theme related?
🙁
Hello,
In this case please create a ticket at https://support.8theme.com/ and our specialists will look into this issue more deeply.
Thank you.
Regards,
Eva Kemp.
Tagged: add to cart, fixes, issues, solutions, templates, troubleshooting, wordpress woocommerce
The issue related to '‘Add to cart issues’' has been successfully resolved, and the topic is now closed for further responses