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

Is it possible to use a text link instead of a button for 'add to cart'?

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Is it possible to use a text link instead of a button for 'add to cart'?

Tagged: add to cart link, estore, Text Link

  • This topic has 9 replies, 4 voices, and was last updated 13 years, 2 months ago by Peter.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • April 2, 2012 at 9:57 pm #6000
    bobk
    Spectator

    Is it possible to use text links instead of buttons/images for ‘add to cart’ and ‘remove’?

    Example: at this site ‘order CD’ and ‘delete item’ are just text links. I like the minimalist design.

    [http://tinyurl.com/7x5txwy]

    Thanks!

    April 2, 2012 at 10:11 pm #43685
    wzp
    Moderator

    Check our documentation on this here:

    https://support.tipsandtricks-hq.com/forums/topic/estore-how-to-use-a-text-link-to-accommodate-the-purchase-of-a-product

    Basically, You can create a link like the following:

    [http://www.example.com/?wp_eStore_add_to_cart=1]

    Just replace “1” with the desired product ID. You will need to install the eStore extra shortcodes package.

    https://support.tipsandtricks-hq.com/forums/topic/calling-add-to-cart-externally

    April 2, 2012 at 10:28 pm #43686
    bobk
    Spectator

    I don’t understand your answer. (I do have the extra shortcodes package installed.)

    In case I wasn’t clear, in the same positions of the ‘add to cart’ button, and the ‘remove’ button, I just want text links (preferably ones which can change color upon hover).

    April 3, 2012 at 12:48 am #43687
    bobk
    Spectator

    I tried adding that code to my page – first in the page’s Visual editor, then in the HTML editor. In both cases, the full link code just appeared on the page instead of a clickable link.

    I checked, and the extra shortcodes plugin is activated.

    Do I really just need the domain name, or the actual directory where the plug-in is installed?

    April 3, 2012 at 1:57 am #43688
    bobk
    Spectator

    One more thing:

    My site is currently on a subdomain during development. Does this matter for the purposes of that link?

    i.e., the current ULR is sitename.hostserver.com

    When it’s ready to go live, it’ll move to sitename.com

    Thanks!

    April 3, 2012 at 6:30 am #43689
    admin
    Keymaster

    The URL just need to be on the same site where eStore is installed. For example: if your eStore is installed in the site “www.subdomain.main-domain.com” then use the following to add an item to the cart on that site using the following link:

    www.subdomain.main-domain.com/?wp_eStore_add_to_cart=1

    April 3, 2012 at 6:36 am #43690
    bobk
    Spectator

    Thanks – I did have the correct URL in the attempts described above (post #31743), and it didn’t work.

    I tried adding the code in both in the ‘visual editor’ and the ‘html editor,’ and in both cases it just displayed the code rather than a link.

    Here’s an example on a test page:

    [http://bobkarty.pairsite.com/past-performances-of-note/]

    April 3, 2012 at 6:46 am #43691
    admin
    Keymaster

    When you create a link you have to specify a destination URL. You use the following URL as your destination URL.

    [http://www.bobkarty.pairsite.com/?wp_eStore_add_to_cart=1]

    This URL won’t do anything special until you make it a link. When you make a link people will be able to click on it and it will take them to the site and add the item to the cart at the same time.

    April 3, 2012 at 7:04 am #43692
    bobk
    Spectator

    Got it!

    [http://bobkarty.pairsite.com/listen_and_buy/leader_solo_artist/ ‎]

    The page in the URL has to be the page you want them to end up on after adding to the cart. I’m not sure I’m using it the way it was intended (in my case, the link is on the same page as the cart), but it works.

    Does this require any more ‘work’ on the part of the server than using the basic ‘add to cart’ button, and if so, is the difference significant? It seems that when I use the link, the entire page re-loads, but when I use the button, just the body (not the background) re-loads.

    Also: how can I move the text closer to the audio player?

    Thanks!

    April 3, 2012 at 12:03 pm #43693
    Peter
    Member

    “how can I move the text closer to the audio player?”

    You should be able to easily achieve this via a CSS tweak by experimenting with firebug – eg, maybe adjust the padding etc.

    See this post for some info about firebug and changing css:

    http://www.tipsandtricks-hq.com/how-to-use-firebug-to-modify-your-wordpress-sites-css-video-tutorial-4037

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 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