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

Add to Cart button in a post

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Add to Cart button in a post

  • This topic has 14 replies, 4 voices, and was last updated 15 years ago by Shannon.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • January 30, 2010 at 7:53 am #721
    hooperbill
    Member

    I want to create a post to feature a particular product. I add the shortcode [wp_eStore:product_id:1:end] to the end of the post and all I get is the button. I’d like to be able to display the Available Qty and Price along with the button. Now I could just add this as part my post, but I’d rather have something like a shortcode just in case the product is sold out or the price changes. That way I don’t have to go back through all my posts and change everything.

    Hopefully this makes sense.

    January 30, 2010 at 11:59 pm #17617
    amin007
    Participant

    You can try one of the following two shortcodes which displays the product with the details:

    [wp_eStore_fancy:product_id:1:end]

    or

    [wp_eStore_fancy2:product_id:1:end]

    All the shortcodes can be found here:

    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

    January 31, 2010 at 12:45 am #17618
    Art Munson
    Spectator

    In the video and plug-in page you say to use [wp_eStore:product_id:PRODUCT-1:end] to display item #1. In the “Shortcodes and Functions” on website you have the shortcode listed as [wp_eStore:product_id:1:end]. Am I missing something?

    Thanks

    Art

    January 31, 2010 at 1:02 am #17619
    hooperbill
    Member

    I know about the fancy shortcodes, but what I would like is something less fancy. Something that just shows the price, quantity and a button. The [wp_eStore:product_id:1:end] shortcode just adds the button, which means I need to add the price and quantity in the post text.

    The problem with adding the price and quantity as part the post text is if the quantity or price changes I have to go back to edit the post.

    January 31, 2010 at 9:03 am #17620
    amin007
    Participant

    I see what you want but the problem was that many people wanted different variations (e.g. only price, only name, price in bold, price in blue etc). Now, I have no way of accommodating all these different requests so I just went with the basic button so the user can customize the way they want to display the product details.

    April 21, 2010 at 1:53 am #17621
    Shannon
    Member

    is there a way to edit the PHP to change this. I also have the same issue. I sell digital music downloads and would like an updating “fancy cart” with all of the information except the image.

    April 21, 2010 at 9:07 am #17622
    amin007
    Participant

    Yes, you can customize it by changing it in the PHP files… if you tell me which shortcode output you want to customize then I will tell you which file to look into.

    April 23, 2010 at 4:38 am #17623
    Shannon
    Member

    [wp_eStore_fancy:product_id:1:end]

    I’d like to remove the image place holder. Is there a way to add a audio file in it’s place? HTML5 or Flash.

    April 23, 2010 at 8:54 am #17624
    amin007
    Participant

    Open the “eStore_misc_functions.php” file and look for the following function:

    show_product_fancy_style

    There you can remove the image and add anything else that you like.

    April 25, 2010 at 10:04 pm #17625
    Shannon
    Member

    Wonderful, but I am not a PHP programmer so is there anyone who can help me with this?

    I’d like to remove the image for sure.

    If anyone knows how to add in it’s place a way to have a mp3 file that plays a preview that be great. I’d like to use the thumbnail placeholder in the WP eStore plugin to show the location of the mp3. Can anyone help?

    Thumbnail Image URL =

    This thumbnail image is used when displaying products using the fancy display option.

    April 26, 2010 at 7:46 am #17626
    amin007
    Participant

    I can modify the file to remove the image for you as it will be a quick one.

    April 27, 2010 at 4:24 pm #17627
    Shannon
    Member

    That’d be great. Thank you very much

    April 28, 2010 at 12:49 am #17628
    amin007
    Participant

    I will work on implementing another shortcode that looks like the fancy display without the thumbnail image. Please bump this post later if I forget to send you an update.

    April 28, 2010 at 4:18 pm #17629
    Shannon
    Member

    Thanks again for the great service.

    April 28, 2010 at 4:32 pm #17630
    Shannon
    Member

    I’m still interesting in have an audio file (mp3) preview play in the fancy view for each item. I’d like to put the link in the same place as the thumbnail. I’m looking to have it flash or even better HTML5 supported to add support to the iPhone market. Is this possible? What would be an estimated cost to this and could you do this or direct me to someone who could? If you’d like to contact me outside the forum : shannon[at]soundedge.net

    Thanks

  • 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