Support » Plugin: WPC Product Bundles for WooCommerce » Add-to-cart direct link

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support miemie

    (@miemie)

    Hi @michaelroed,

    The link you sent to us no longer exists or is temporarily unavailable.
    Pls attach again the link for us to check and give you a proper solution.

    Regards,

    Thread Starter michaelroed

    (@michaelroed)

    Hi @miemie
    I don’t think you understand what this link does.

    The above link is an example of how you can put an item in the cart and go directly to checkout just with a single link for example in a botton.

    I usually use these links to ad specific products to the cart on landing pages but this kind of link do not work with products created as “Smart bundle”.

    Thanks.

    Plugin Author WPClever

    (@wpclever)

    Hi @michaelroed

    Yes, you can do that!

    #1. When the bundle hasn’t a variable product and isn’t optional (can’t change the quantity of bundled products).

    Please try this bundle https://demo.wpclever.net/woosb/product/smart-bundle-01/

    And add-to-cart endpoint:

    https://demo.wpclever.net/woosb/cart/?add-to-cart=102

    #2. In case, a bundle has a variable product or is optional, the buyer needs to define the variation or quantity of each bundled product before buying. You also need to do that in the endpoint.

    Please try this bundle https://demo.wpclever.net/woosb/product/smart-bundle-03/

    And add-to-cart endpoint:

    https://demo.wpclever.net/woosb/?add-to-cart=135&woosb_ids=93/1,256/2,41/4

    93/1,256/2,41/4 is the combination of product/variation ID and its quantity.

    Thread Starter michaelroed

    (@michaelroed)

    Perfect. Thank you very much for this detailed explanation.
    Now I got this to work :o)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add-to-cart direct link’ is closed to new replies.