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

Text Lnks

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Text Lnks

Tagged: shortcode for list of links to all products

  • This topic has 14 replies, 3 voices, and was last updated 14 years, 4 months ago by GraphicBass.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • January 17, 2011 at 4:50 pm #2524
    GraphicBass
    Member

    I’m coming back to a need for some text links that work with the WP eStore system. I understand it’s complicated to use HTML for this,

    Is there a way to have a shortcode, like [wp_eStore_textlink:product_id:1:end] (just an example) that does everything a regular shortcode link does EXCEPT call a Button URL and DOES insert the proper hyperlink to add to cart?

    I imagine this could be done for “add to cart” as well as “buy it now” types of transactions, although what I need is the cart.

    It would seem to me that would allow everything to tie together without the need for HTML (but then, I’m no programmer).

    Thanks!

    gary

    January 18, 2011 at 5:07 am #28092
    amin007
    Participant

    Text links use HTTP GET to pass the data between pages (its not very efficient when you have to pass a lot of data). Buttons use HTTP POST which is more secure and used for passing a lot of data between pages. Yes it is possible to do something like what you asked for but I will have to add code to handle the HTTP GET requests so it can process the link clicks.

    January 18, 2011 at 5:57 pm #28093
    GraphicBass
    Member

    I would hate to ask you for that, since, not being a programmer, I have no idea how involved it would be to add code. If it’s relatively simple and you choose to do it, I would appreciate it. If it’s not simple, perhaps I can pay for your time.

    The other idea that occurs to me is to have a way to override the Button Image URL. I am currently using that field for my regular sales page order links, which is not appropriate for where I want to use the text links. So I would create a new, smaller and more compact graphic for use on that page, IF I have a way to override the first setting.

    My last option is to create a new product, identical to the first, that specifies the new graphic. Since I have 18 different products, that’s a bunch of time.

    Comments?

    Thanks!

    gary

    January 19, 2011 at 4:35 am #28094
    amin007
    Participant

    I can add a new shortcode to the plugin that lets you override the button image. I have one shortcode that does it for the “Buy Now” type button:

    [wp_eStore_buy_now_custom_button id=1 button=http://your-domain.com/images/buy-now.gif]

    January 19, 2011 at 1:28 pm #28095
    GraphicBass
    Member

    Excellent — that will work for the time being and help me get rid of the cumbersome Paypal code.

    I would definitely like to have the override shortcode for “add to cart”, as I’m converting all the sales links to cart, rather than BIN.

    Thanks!

    gary

    January 20, 2011 at 9:53 pm #28096
    GraphicBass
    Member

    Any idea on when a card shortcode for the button image ovverride might be incorporated?

    Thanks!

    gary

    January 21, 2011 at 6:15 am #28097
    amin007
    Participant

    Hopefully in a few days.

    January 22, 2011 at 9:48 am #28098
    GraphicBass
    Member

    Thanks!

    January 22, 2011 at 10:50 am #28099
    wpCommerce
    Moderator

    Hi, The shortcode has been added to the extra shortcode plugin. You can use the following shortcode to show the custom add to cart button –

    [wp_eStore_add_to_cart_custom_button id=1 button=http://your-domain.com/images/add-to-cart.gif]

    Where id= The Product ID, button = the button image URL

    You need to have the latest versions of both the extra shortcode and eStore plugin for the shortcode to work.

    Please get a recent build of WP eStore from here:

    https://support.tipsandtricks-hq.com/update-request

    January 31, 2011 at 2:18 am #28100
    GraphicBass
    Member

    Thanks for letting me know. Sorry I’ve been late to check back in — been out of town.

    gary

    January 31, 2011 at 7:40 pm #28101
    GraphicBass
    Member

    Hi, I’ve downloaded and installed the updated WP eStore plugin (version 4.9.0 in “Settings” although the ReadMe says 4.5.5) and the “Extra Shortcodes for WPeStore” plus after deactivating and re-activating.

    I then created a test page using the “Custom Button Image Add to Cart” shortcode like this:

    [wp_eStore_add_to_cart_custom_button id=7 button=http://youremployeehandbook.com/images/common/add_to_cart.gif]

    at:

    http://youremployeehandbook.com/news/order-now-alt/

    As you can see, the shortcode doesn’t seem to work.

    Any ideas?

    Thanks!

    gary

    February 1, 2011 at 3:53 am #28102
    wpCommerce
    Moderator

    Hi, The following URL gives me a 404 (page not found) error:

    http://youremployeehandbook.com/news/order-now-alt/

    Please post a valid URL of the page where you placed the shortcode.

    Also the URL you have specified for button image gives a 404 error:

    http://youremployeehandbook.com/images/common/add_to_cart.gif

    The readme file shows the last stable version of eStore. It doesn’t show the current eStore version.

    February 1, 2011 at 10:55 pm #28103
    GraphicBass
    Member

    OK, sorry about that. That’s the problem with posting late at night…

    Here’s the corrected link:

    http://youremployeehandbook.com/news/order-now-ask/

    WP eStore version 4.9.0, which I received on 1/31 via an emailed link. I re-downloaded today and got 4.9.1, which still doesn’t work. Extra Shortcodes plugin is version 3.8.

    Thoughts?

    gary

    February 2, 2011 at 4:26 am #28104
    wpCommerce
    Moderator

    There was a slight bug with the version number checking. We just fixed that. Please get the latest version of eStore extra shortcode plugin from here –

    WP eStore Shortcodes and Functions Reference

    Let me know how it goes.

    February 2, 2011 at 4:45 pm #28105
    GraphicBass
    Member

    Works perfectly. Thanks for your efforts to create this shortcode and help debug it. It will be quite handy in my promotional efforts!

    gary

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