• Resolved craigmhoward

    (@craigmhoward)


    When adding items to my cart, the shopping cart is always empty.

    Here is an example product

    <p>[wp_cart_display_product name="Winter Hat" price="25.00" thumbnail="http://franklinchargers.org/wp-content/uploads/2017/09/store-hat.jpg" description="Pom-Pom winter hats"]</p>
    

    Here is my checkout page. I tried three different shortcodes, all empty.

    <p>[show_wp_shopping_cart show_thumbnail="1"]</p>
    <p>[wp_compact_cart]</p>
    <p>[always_show_wp_shopping_cart show_thumbnail="1"]</p>

    The page I need help with: [log in to see the link]

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

    (@mbrsolution)

    Hi, have you tried the following shortcode?

    [always_show_wp_shopping_cart]

    Thread Starter craigmhoward

    (@craigmhoward)

    yep, see my code example above. I also tried it without the show_thumbnail=”1″.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, try the following steps. Disable all your other plugins except this one. Then carry out a test.

    If the above does not work, it might be related to your PHP session in your server. Click on the following URL php-session-not-working-correctly. Let me know if this helps you.

    Thank you

    Thread Starter craigmhoward

    (@craigmhoward)

    Thank you for the link. It lead me to the solution.

    I edited the plugin
    wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php

    and added the line
    session_save_path("./tmp");

    and it started working. I’m using GoDaddy BTW.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    I am glad you solved your issue. I and also happy to help in any way.

    I will be marking this thread as resolved.

    Enjoy the plugin.

    Kind regards

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Shopping Cart is always empty’ is closed to new replies.