Reply 13431 to: Add to cart issues

Avatar: onestop
onestop
Participant
August 25, 2014 at 10:21

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/)

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.