If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Tagged: add to cart button
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…
Afaik this can be done with a woocommerce shortcode: http://wcdocs.woothemes.com/user-guide/misc/shortcodes/
Try to use it like:
and replace the id value.
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
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.
The topic ‘How to add another "add to cart" button’ is closed to new replies.