• 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 states

    function 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)
  • Plugin Author mra13

    (@mra13)

    We have a few different shortcodes (one that doesn’t show anything until there are items in the cart and there is one that shows an empty cart image or message when there is nothing in the cart).

    Which shortcode are you using?

Viewing 1 replies (of 1 total)
  • The topic ‘Bug Report?’ is closed to new replies.