Jump to content

Is there a way to link directly to the checkout/cart page?


man5

Recommended Posts

Say I have this link where I've added a product to the cart.  https://www.adidas.ca/on/demandware.store/Sites-adidas-CA-Site/en_CA/Cart-Show

You will see the cart empty because you're on a different computer and the cookies are unique only to the browser I'm browsing on.

 

Basically what I'm trying to do is have products on my own site and when a user goes to buy them, it will link them directly to the cart/checkout page of that said product on that site(eg. adidas). Is something like that possible to do?

Link to comment
Share on other sites

Short answer: no. Shopping carts work by using cookies and your site cannot set a cookie for a different site.

 

Longer answer: It could be possible if a particular website had their "add item to cart" button thing programmed in a way that it really shouldn't have been. Which is by using a link to a page like "/addtocart.php?item=4252603765" that you could copy/paste into another computer and have work. So no.

Link to comment
Share on other sites

The concept doesn't even make sense. If I happen to already be in the checkout process of adidas independent from your site, would you then add new products to my current session without asking me? Would you abort my current session to replace the products I've chosen with the products of your choice? None of this is acceptable, and I'd probably report it as a security vulnerability.

 

Maybe adidas has some kind of wishlist API or an affiliate program where you can suggest products on their site. Otherwise just link to the product.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.