Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, what plugin version is your site running? Also, can you share the shortcode you are currently using?

    Thank you.

    Thread Starter aaronbennett2097

    (@aaronbennett2097)

    Thanks for the speedy reply, this is the shortcode…

    [always_show_wp_shopping_cart show_thumbnail=”1″]’

    Am using the latest version of the plugin.

    Have these errors in the error_log too if that helps(?)…

    [16-Oct-2022 19:48:31 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/amuzkekr/public_html/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 317
    [16-Oct-2022 19:48:31 UTC] PHP Warning: sort() expects parameter 1 to be array, null given in /home/amuzkekr/public_html/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 326

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, make sure you type the double quotes correctly as per the following shortcode.

    [always_show_wp_shopping_cart show_thumbnail="1"]

    Also what is the shortcode for the button you are using?

    The following link can help you setup a shopping cart in your site.

    https://www.tipsandtricks-hq.com/how-to-easily-create-a-simple-wordpress-store-online-for-free-4565

    Kind regards

    • This reply was modified 2 years, 3 months ago by mbrsolution.
    Thread Starter aaronbennett2097

    (@aaronbennett2097)

    Hi.

    I’ve double checked and the 1 is in “” but still no change.

    The button on the product is a bit more complex as I modified it to add custom options for each product – am using it in a template…

    [wp_cart_button name="' . $title . '" price="' . $price . '" shipping="' . $shipping . '" thumbnail="' . $thumb . '"]

    But that works absolutely fine.

    It’s only the shortcode in the popup that’s having problems – showing the paypal button for a second or two, then disappearing.

    Thanks for any help

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi,

    The button on the product is a bit more complex as I modified it to add custom options for each product – am using it in a template…

    This is probably what is causing this issue. Can you test our plugin using our standard shortcode as illustrated in the sample below.

    [wp_cart_button name="product name" price="19.95" thumbnail="your thumbnail url" shipping="2.00"]

    Let me know what happens.

    Thank you.

    Thread Starter aaronbennett2097

    (@aaronbennett2097)

    Hi. I’ll try it, but I’m pretty sure that’s not the problem.

    People are making purchases if they stay on the single product page – the cart works and the Paypal button shows.

    It’s ONLY happening on the shotrcode in the popup – whic is the cart, not the product button.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, how did you go with my suggestion?

    Regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘ppxo_unhandled_error’ is closed to new replies.