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 14 years, 7 months ago by Shannon.
-
AuthorPosts
-
January 30, 2010 at 7:53 am #721hooperbillMember
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 #17617amin007ParticipantYou 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 #17618Art MunsonSpectatorIn 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 #17619hooperbillMemberI 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 #17620amin007ParticipantI 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 #17621ShannonMemberis 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 #17622amin007ParticipantYes, 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 #17623ShannonMember[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 #17624amin007ParticipantOpen 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 #17625ShannonMemberWonderful, 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 #17626amin007ParticipantI can modify the file to remove the image for you as it will be a quick one.
April 27, 2010 at 4:24 pm #17627ShannonMemberThat’d be great. Thank you very much
April 28, 2010 at 12:49 am #17628amin007ParticipantI 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 #17629ShannonMemberThanks again for the great service.
April 28, 2010 at 4:32 pm #17630ShannonMemberI’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
-
AuthorPosts
- You must be logged in to reply to this topic.