WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Page Blank after Adding to Cart

[Resolved] Page Blank after Adding to Cart

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

    @mbrsolution

    Hi wcs2, can you read through the following tutorial just to make sure that the settings are correct.

    Do you have any cache plugin installed?

    Can you provide the URL to your shopping cart page for us to check.

    Thank you.

    Hi,
    Yes, I did everything in that tutorial. There is one difference, though: the shortcode button at the top of the tutorial has a slightly different format, while what I use is what is on the plugin settings itself “[wp_cart_button name=”Test Product” price=”29.95″]” Which should be used?

    The page is http://madlom.org/index.php/test-paying/
    It’s only accessible through a direct link, as I have not yet turned this on since it doesn’t work yet.

    There are no caching plugins installed. I have also tried this with all plugins deactivated and still had the issue. Plugins are: Akismet, Auto ThickBox Plus, Comprehensive Google Map Plugin, Contact From 7, EWWW Image Optimizer, Google XML Sitemaps, jQuery Updater, WordPress Importer and this shopping cart. Pretty straightforward stuff.

    Thanks for the speedy response and your help.

    Plugin Contributor mbrsolution

    @mbrsolution

    Hi have you added the following shortcode any where in your website?

    [show_wp_shopping_cart]

    The above shortcode is needed or else the shopping cart will not be displayed.

    Thank you

    Yes, on the page linked to above it is right after the “3”. It appears when you add something to the cart, use the back button when the page goes blank, then refresh the page.

    Plugin Contributor mbrsolution

    @mbrsolution

    What have you entered in the following?

    1) Automatic Redirection To Check Out Page.

    2) Return URL

    1) Unchecked & Blank (customers must choose more than one product, so I don’t want to send them away from the page until they’re ready to check out).

    2) http://madlom.org/index.php/payment-received/

    Plugin Contributor mbrsolution

    @mbrsolution

    Hi wcs2 your URL above in Step 2 displays the following error right on the top of the page.

    Warning: Invalid argument supplied for foreach() in C:\Websites\982\madlom.org\wp-content\plugins\wordpress-simple-paypal-shopping-cart\wp_shopping_cart.php on line 79

    Are you running the website locally?

    No, it’s not being run locally. It is on a physical server at a data center, but it it’s not a local box to me.

    What are you running that generates that? I don’t see it.

    Plugin Contributor mbrsolution

    @mbrsolution

    It is very hard to see because of the background colour. All I did was simply click on the link above and it generates that error. Click on the link yourself and look very closely to the very top of the page and you will see the error code displayed.

    OK, I see it when I’m not logged in. What function is in line 79 of wp_shopping_cart.php?

    Plugin Contributor mbrsolution

    @mbrsolution

    Hi read through this URL to see if there are other conflicts apart from the error that is currently showing.

    It’s the theme. I switched to the default and the page immediately worked as it should, so it must be screwy (even though the developer said it wasn’t a coding issue on his end).

    Thank you for following through on this.

    Plugin Contributor mbrsolution

    @mbrsolution

    Hello wcs2, your are most welcome.

    Since the issue is not related to the plugin could you mark this support thread as resolved.

    Thank you.

    Yes. For those who have the same issue: It’s the theme, not the plugin.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Resolved] Page Blank after Adding to Cart’ is closed to new replies.