• How can I send cart link to other person so that it will open in the cart and added product is already there. And then he can go hit Checkout to move on.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Your link will be something like:
    https://www.mysite.com/shop/cart/?add-to-cart=1801

    The exact form will depend on your permalink settings.

    In my example, the 1801 will be replaced by the product id or variation id which you want to add.

    Thread Starter TechPik

    (@techpik)

    Thank you. I tried but I didn’t get it right. I tried to change the settings also. It added the product in to the cart in background but didn’t open the site in the cart with the product.

    Can you give me example with this product:
    https://www.striiiipes.com/?p=7984
    Product id is 7984

    You’ll need to start with the cart url.
    https://www.striiiipes.com/cart/

    Normally one would use:
    https://www.striiiipes.com/cart/?add-to-cart=7984
    but in your theme this causes a page reload, so you get 2 items added on first use.

    This url:
    https://www.striiiipes.com/cart/?add-to-cart=7984&woonotice=yes
    avoids the page reload, so you only get the one item added.

    Thread Starter TechPik

    (@techpik)

    Oh thank you very much. It works

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to copy link with product in it’ is closed to new replies.