Viewing 1 replies (of 1 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi @mindiapolis!

    Thanks for reaching out, and welcome to WooCommerce! 🙂

    Yes, if you don’t want customers to visit the product page, you can use an Add to Cart URL so that clicking the Ebook button adds the product directly to the cart.

    The URL would follow this format:

    https://yoursite.com/cart/?add-to-cart=PRODUCT_ID&quantity=1

    You’ll need to replace:

    • yoursite.com with your website URL.
    • PRODUCT_ID with the ID of your Ebook product.
    • quantity=1 with the quantity you want to add.

    For more details on using Add to Cart URLs, you can refer to this guide: WooCommerce — Quick Guide to Add-to-Cart URLs

    I hope this helps!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.