Cart prices blank
-
I’ve had to put up store notice and restrict sales as my cart now comes up with no prices. Worked fine last week now prices in cart come up as 0.00.
I don’t know what caused this I did not make any changes. I’ve disabled most plugins.
This is a retail site so I did use a code in the wordpress functions to double the wholesale price but that has always worked fine.Here is the code I used. It has been working fine for months:
function return_custom_price($price, $product) {
global $post, $blog_id;
$price = get_post_meta($post->ID, ‘_regular_price’);
$post_id = $post->ID;
$price = ($price[0]*2.0);
return $price;
}
add_filter(‘woocommerce_get_price’, ‘return_custom_price’, 10, 2);I really need help to remedy this. Thanks in advance.
https://www.fishtalespei.com/shop
The page I need help with: [log in to see the link]
- The topic ‘Cart prices blank’ is closed to new replies.