WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Simple Paypal Shopping Cart
[resolved] Page Blank after Adding to Cart (15 posts)

  1. wcs2
    Member
    Posted 1 year ago #

    On my payment page, once I click on "add to cart" the page goes blank. This happens regardless of the browser.
    If I return to the page (can't refresh, it remains blank), it shows the item properly added to the cart.

    Using WP 3.8.1 on a Windows server.
    I deactivated all other plugins to see if there's a conflict and the issue remains.

    Thanks.

    https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/

  2. mbrsolution
    Member
    Plugin Contributor

    Posted 1 year ago #

    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.

  3. wcs2
    Member
    Posted 1 year ago #

    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.

  4. mbrsolution
    Member
    Plugin Contributor

    Posted 1 year ago #

    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

  5. wcs2
    Member
    Posted 1 year ago #

    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.

  6. mbrsolution
    Member
    Plugin Contributor

    Posted 1 year ago #

    What have you entered in the following?

    1) Automatic Redirection To Check Out Page.

    2) Return URL

  7. wcs2
    Member
    Posted 1 year ago #

    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/

  8. mbrsolution
    Member
    Plugin Contributor

    Posted 1 year ago #

    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?

  9. wcs2
    Member
    Posted 1 year ago #

    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.

  10. mbrsolution
    Member
    Plugin Contributor

    Posted 1 year ago #

    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.

  11. wcs2
    Member
    Posted 1 year ago #

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

  12. mbrsolution
    Member
    Plugin Contributor

    Posted 1 year ago #

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

  13. wcs2
    Member
    Posted 1 year ago #

    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.

  14. mbrsolution
    Member
    Plugin Contributor

    Posted 1 year ago #

    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.

  15. wcs2
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.