Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password? (Having an issue with the forum login?)

Search the Forum

Tips and Tricks HQ Forum » WP eStore Forum » WP eStore Troubleshooting

Items not being added to cart

(7 posts) (3 voices)
  • Started 1 year ago by lclarke522
  • Latest reply from amin007
  • Possible Solutions (Related Topics):
    1. Shopping Cart Not Retaining Added Items
    2. Items in shopping cart - incorrectly totaled
    3. Problem using back button when items in eStore cart
    4. How to show total items in cart in the menu bar?
    5. Display text link to shopping cart only when items are in cart

Tags:

  • add to cart
  • empty cart
  1. lclarke522
    Member

    Hi. I am setting up a new store, and I am finding that the Add to Cart button only works when called from the main http://lisaclarke.net/downloads page. If I try to include a product on a post, or on a category page like http://www.lisaclarke.net/downloads-paint-shop-pro-scripts/ the Add to Cart button does nothing.

    Any ideas?

    Thanks!

    Posted 1 year ago #
  2. wzp
    Moderator

    Which version of eStore are you using, and what short codes or PHP codes are you using for those buttons?

    When I first tried link #2, the Add To Cart did nothing, like you said. I then tried link #1 and it worked. But then when I went back to link #2, it suddenly started working.

    Posted 1 year ago #
  3. wzp
    Moderator

    Which version of eStore are you using, and what short codes or PHP code did you use?

    When I clicked link #2, it behaved as you described (nothing happens). I then tried link #1, which worked. But when I went back to link #2, it began working.

    Posted 1 year ago #
  4. lclarke522
    Member

    I'm using eStore v4.3.4.

    When adding products individually (like the test one on the main download page, and on any posts I've tried to add to) I use the shortcode [wp_eStore_fancy1 id=#]

    On the category pages, I am using [wp_eStore_category_products:category_id:#:end], but I was initially also using that code on the main page (before I decided to make separate category pages) and it worked then.

    (or did it? It's all getting very confused in my head at this point!!)

    Thank you for your quick reply.

    Posted 1 year ago #
  5. lclarke522
    Member

    In looking at it again, I'd say there's a delayed reaction. It appears items are being added to the cart, but they don't display there for a while. I don't have a cache plugin running or anything. Is there something else that can cause a several-minute delay like that?

    Posted 1 year ago #
  6. lclarke522
    Member

    I figured it out! In some cases, the URL is being prefaced by a "www" and in others, it's not. The system is seeing that as two separate shopping carts.

    Now I just have to figure out how to ensure that the URL remains consistent throughout the session...

    Thanks for your help!

    Posted 1 year ago #
  7. wzp
    Moderator

    The neat thing about time zones, is that it encourages us to "mull things over" while waiting for the other person to respond 8)

    I think an audit of all WordPress, eStore and any other places where you have your URLs set would resolve the matter.

    Posted 1 year ago #
  8. amin007
    Key Master

    Please make sure you have the "http" in your URLs otherwise WordPress thinks it's a relative URL and it doesn't work out nice.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin