What link should I put to add something to the cart? I want to make a secondary 'buy now' button for the bottom of the page...
Thanks
What link should I put to add something to the cart? I want to make a secondary 'buy now' button for the bottom of the page...
Thanks
Hi!
Afaik this can be done with a woocommerce shortcode: http://wcdocs.woothemes.com/user-guide/misc/shortcodes/
Try to use it like:
[add_to_cart id="99"]
and replace the id value.
Best regards,
Peter
Hi, Dude.:)
I'm very new to wordpress.
Actauly I want to make "add to cart" button to my product page. But i can't.
So, would you kindly tell me where i can put this code. Sometimes i'll find the way to solve my problem
Thank you.
Hi Chansawad,
You can type a shortcode into the edit box where you type the content for your page. On the visual tab, just type [add_to_cart id="x"], replace the x with the id of the product you wish to add to the cart. You can find the product id, by going to the products section in your dashboard, and hovering over the product row, you will see it listed as ID: x | Quick Edit | Trash | View | Duplicate.
Hope this helps.
Regards,
Lawrence
Hey
@Lawrence: Thanks for helping out.
@chansawad: You like to make another "add to cart" button? What for?
Regards,
Ismael
You must log in to post.