Add to cart permalink for multiple products

Highlighted
New Member
1 0 0

Hi guys, here's the question.

I need to create button on my website which leads to cart of my shop with particular multiple products added. I can achieve this with this link:

https://nameoftheshop.com/cart/12497956292:1,32408984580:1

but this leads to checkout. I would like to use somethink like this:

https://nameoftheshop.com/cart/add?id=12497956292

however I don't know what's the pattern for adding few products with his, tried with commas but didn't work.

Any ideas? Many thanks.

0 Likes
Highlighted
New Member
1 0 1

Was curious if you figured this out as we're trying to do the same thing.

 

updated: found a great explanation here: https://freakdesign.com.au/blogs/news/add-multiple-products-to-cart-without-permalinks

1 Like
New Member
1 0 0
0 Likes