Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eStore – unable to add item to cart via text link

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › eStore – unable to add item to cart via text link

Tagged: add product, Text Link

  • This topic has 8 replies, 3 voices, and was last updated 5 years, 2 months ago by admin.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • April 9, 2020 at 7:14 pm #14708
    Kam
    Member

    Hello,

    As per this support article (https://support.tipsandtricks-hq.com/forums/topic/estore-how-to-use-a-text-link-to-accommodate-the-purchase-of-a-product) I am trying to create a text link that will add a product to the cart and then take the customer to my cart page: http://www.example.com/cart.

    I have used this link: http://www.example.com/cart/?wp_eStore_add_to_cart=1 and replaced with “example.com” with my domain…

    The link is taking me to the cart page however, it is saying that the cart is empty. Can you please assist with regards to why it is not adding the product to the cart.

    Just FYI, I have added https://mydomain.com/cart/ to the “Checkout Page” field in WP eStore > Settings > General Settings. I have also checked off the box “Automatic redirection to checkout page”.

    Thank you

    April 9, 2020 at 7:36 pm #80454
    Kam
    Member

    I do have the Extra Shortcodes for WP eStore plugin installed and activated.

    April 9, 2020 at 11:56 pm #80455
    wzp
    Moderator

    I have used this link: http://www.example.com/cart/?wp_eStore_add_to_cart=1 and replaced with “example.com” with my domain…

    Did you also replace the “1” with the product code you want added to the cart?

    April 10, 2020 at 12:21 am #80456
    admin
    Keymaster

    Post the real URL of the site (that you are using) so we can check the behavior using our browser.

    You have added the Extra eStore Shortocodes addon to your site correct?

    April 10, 2020 at 2:46 am #80457
    Kam
    Member

    Hi,

    The product code is actually “1”. I only entered 1 product thus far.

    The real URL is: [fitnesswebdesigner.com/cart/?wp_eStore_add_to_cart=1]

    Thank you

    April 10, 2020 at 2:47 am #80458
    Kam
    Member

    Yes correct, I have added and activated the Extra eStore Shortcodes addon

    April 11, 2020 at 1:08 am #80459
    admin
    Keymaster

    Looks like you are having a caching issue. At first it was showing me a cached page (for that cart page). Then I cleared my browser cache and also hit the force refresh to pull content from ther server and it showed me the item in the cart.

    So the plugin is working fine. You are just seeing a cached page for that “cart” page. Can you exclude that “cart” page from caching? What kind of caching solution do you have?

    We only support the following caching solutions:

    Using the plugins with W3 Total Cache – https://support.tipsandtricks-hq.com/forums/topic/using-the-plugins-with-w3-total-cache-plugin

    Using the plugins with WP Super Cache – https://support.tipsandtricks-hq.com/forums/topic/using-the-plugins-together-with-wp-super-cache-plugin

    April 11, 2020 at 5:49 pm #80460
    Kam
    Member

    Hi,

    Thanks alot. I am actually not using any special caching solution. I’m just using the Divi Theme Builder and some other simple plugins.

    I noticed that if I use the URL without “www.” then the cart functions properly but with the “www.” then it doesnt.

    This works: [https://fitnesswebdesigner.com/cart/?wp_eStore_add_to_cart=1]

    This doesn’t work: [https://www.fitnesswebdesigner.com/cart/?wp_eStore_add_to_cart=1]

    April 11, 2020 at 11:26 pm #80461
    admin
    Keymaster

    That would be an issue. Please fix the URL rewriting issue on this site. The following post has explanation.

    https://support.tipsandtricks-hq.com/forums/topic/incorrect-server-setup-related-to-url-rewriting-cause-and-effect

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ