Hi, what plugin version is your site running? Also, can you share the shortcode you are currently using?
Thank you.
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
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 3 years, 6 months ago by
mbrsolution.
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
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.
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.
Hi, how did you go with my suggestion?
Regards.