Hacker News new | ask | show | jobs
by benmorris 2554 days ago
It is tied to their session ID / shopping cart. They are free to modify the cart and it recalculates the discount.
1 comments

Gotcha. But, if a user wanted to see reviews, they'd have to leave the cart, find the product page, and come back?

Or you mean I could link to a product page, and when the product is added to the cart the discount is active?

It's probably linked to the session's cookie?