custom add to cart link

Hello I am building a landing page with custom buttons and I need to put the "add to cart" woocommerce shortcode to this button.

for example I know that this is the shortcode:

[add_to_cart_url id=76]

I tried to put it inside you button but it's not working ... maybe I am putting it in the wrong position?

Please let me know.

Also, is there a way, only for this particular url / product ID to go direclty to chart/checkout page, as soon as I click on the button?

Thank you in advance for your assistance

Comments

Sign In or Register to comment.