Support » Plugin: WooCommerce » How to add "add to cart" link to a static custom page please?

  • Hi there,

    I added an external link to the cart from a static html page, non wordpress outputted and although it does add the product to the cart, it doesn’t add the correct number. It always adds it double. Also when you try to update the cart with the correct quantity it doesn’t work. this only happens when you add the product to the cart from an external link on a static, html external page.

    Any advice?

    Omar

    https://wordpress.org/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Hi Omar, you can use link with format below:

    http://yourproducturl.com/cart/?add-to-cart=ID

    * Replace the yourproducturl.com with your product’s actual URL and to replace the ID with your product’s ID.

Viewing 1 replies (of 1 total)
  • The topic ‘How to add "add to cart" link to a static custom page please?’ is closed to new replies.