Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #14506

    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:

    Try to use it like:

    [add_to_cart id="99"]

    and replace the id value.

    Best regards,



    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.





    @Lawrence: Thanks for helping out.

    @chansawad: You like to make another “add to cart” button? What for?



Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘How to add another "add to cart" button’ is closed to new replies.