Bug Report?
-
I noticed that on a default install the “cart empty” message from settings does not display on an empty cart. Everything else worked great and is just what I needed (thanks!) so I tracked this down and found on
wp_shopping_cart.php around line 35 it statesfunction show_wp_shopping_cart_handler() { if (cart_not_empty()) { $output = print_wp_shopping_cart(); } return $output; }
but it should be as follows:
function show_wp_shopping_cart_handler() { $output = print_wp_shopping_cart(); return $output; }
It seems that it has to run print_wp_shopping_cart to get the empty message now and that function checks cart_not_empty() and grabs the empty message from settings.
http://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug Report?’ is closed to new replies.