Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › What is the Shortcodes to display “Add to Cart” + “Price”
- This topic has 10 replies, 5 voices, and was last updated 12 years, 1 month ago by admin.
-
AuthorPosts
-
November 5, 2011 at 3:57 pm #4692eircMember
Hello, I’m looking for the shortcodes to display “Add to Cart” button and “Product Price”.
Below shortcode only display “Add to Cart” button without product price.
[wp_eStore_add_to_cart id=1]
Thank for your advice.
November 5, 2011 at 4:39 pm #38181wzpModeratorNote: some features require the “extra shortcodes plugin” which is also described in the above reference.
November 6, 2011 at 5:56 am #38182eircMemberI go thought all the shortcode, but did not find any shortcode for “Add to Cart” together with price:
http://automotive-manual.net/audi-a4-b5-factory-service-repair-manual-1995-2000.html
it’s possible shown me the “shortcode” (Add to Cart + price), Thank alot
November 6, 2011 at 6:32 am #38183PeterMemberHi,
If you simply use the following shortcode it will display your product with an image and a price and an “Add to Cart” button:
[wp_eStore_fancy1 id=<your product ID>]
or similarly you can also use:
[wp_eStore_fancy2 id=<your product ID>]
Try these out and choose which one suits you.
November 6, 2011 at 3:45 pm #38184eircMemberHello petreski, thank for your reply. But what I need is show only “Add to Cart” button & price, not description.
http://automotive-manual.net/images/Add-to-Cart.jpg
I had summary description from below page:
http://automotive-manual.net/store/audi-service-manual
After visitor click on either product item “>More Info<”, the link bring user to full description page.
From full description page, I able to added the shortcode for “Add to Cart”, but no luck to get the shortcode for price.
Your help is appreciated. Thank
November 6, 2011 at 10:08 pm #38185PeterMemberHi,
As far as I’m aware, eStore doesn’t display add to cart button with price only.
To do that will require modifying the code.
If I find out how to do it I will post another reply.
November 6, 2011 at 10:15 pm #38186adminKeymastereStore doesn’t output add to cart and just price because we don’t know how you would want to style price. All you have to do is enter the price in the editor so you can style it however you like then place the shortcode for the add to cart button. For example:
Price: $15.00
[wp_eStore_add_to_cart id=1]This approach lets you format the price however you want it (make it bold, red, use different font etc).
November 7, 2011 at 1:36 am #38187eircMemberHello Petreski, Ok. Thank for your help.
Hello Admin,
I had thinking your suggestion before. But this a bit job for me to edit same product price in two difference place.
Price: $15.00
[wp_eStore_add_to_cart id=1]
It’s possible to add in the shortcode function? This may less work for user to edit the same product price in two difference place.
This may give user Option to select use their own text or use your shortcode for shown the price.
If this function is add-in, for sure I will support.
Thank again for your help, Have a nice day…
November 7, 2011 at 11:51 pm #38188adminKeymasterI can do a custom shortcode for you to just show the price and the add to cart button. Please contact me using this contact form for a quote to get this done if you are interested (mention this post so I have some reference):
October 18, 2012 at 9:05 am #38189workformumsMemberHi Admin,
I would be interested in having the add to cart with price shortcode. The price has to be dynamic to avoid issues when running offers and having to update in several locations. Is this something that is now available?
October 19, 2012 at 3:28 am #38190adminKeymasterYes, there is an option for this. You can show any details of the product dynamically and then show the add to cart button with it.
The following post will help:
-
AuthorPosts
- You must be logged in to reply to this topic.