Re:I couldn't submit a PR, so I got hired and fixed it myself
by chupchap on Saturday August 02, 2025 @06:17AM
(#44766321)
It doesn't work that way. A link is to an ASIN (unique product in Amazon). The same product might have a different ASIN in a different region. The product description, title etc might vary.
[ Parent
| on HN ]
Re:I couldn't submit a PR, so I got hired and fixed it myself
by cobbzilla on Saturday August 02, 2025 @07:42AM
(#44766813)
Clearly there exists some higher-level product concept with a mapping of country->ASIN for that product. How hard is it to lookup the correct ASIN?
Maybe you end up on the home page when there is no ASIN for your country? There should be a nicer message telling you that’s what happened. But if it always dumps to the home page, that’s just dumb — Amazon could easily do the lookup.
Re:I couldn't submit a PR, so I got hired and fixed it myself
by LeifCarrotson on Saturday August 02, 2025 @08:19AM
(#44766994)
There's no such mapping, you could do a text search and if the item name matches then maybe US ASIN 2785334 should correspond to UK ASIN 3894948, or maybe some third party just named something ambiguously. They're essentially GUIDs and essentially separate businesses.
Re:I couldn't submit a PR, so I got hired and fixed it myself
by nilamo on Saturday August 02, 2025 @09:39AM
(#44767518)
We all recognize this as an anti-pattern that has directly led to a poor customer experience, right?
Re:I couldn't submit a PR, so I got hired and fixed it myself
by zoover2020 on Saturday August 02, 2025 @12:50PM
(#44769130)
Sorry this is just not true. ASINs can be the same cross marketplace. There are lower level identifiers available if needed
Re:I couldn't submit a PR, so I got hired and fixed it myself
by LeifCarrotson on Sunday August 03, 2025 @11:46AM
(#44777362)
To be precise, sometimes there are matching ASINs and other identifiers cross-marketplace, but often they are unique.
Re:I couldn't submit a PR, so I got hired and fixed it myself
by johnbatch on Saturday August 02, 2025 @09:53AM
(#44767648)
https://www.amazon.de/dp/1408855658
And
https://www.amazon.com/dp/1408855658
Are both the same item.
Same with https://www.amazon.de/dp/B086WQWSNT/
And
https://www.amazon.com/dp/B086WQWSNT/
Seems like changes .com to .de works with every item i can find. Some just won’t be deliverable in a different geo.
Re:I couldn't submit a PR, so I got hired and fixed it myself
by snickerdoodle12 on Saturday August 02, 2025 @12:32PM
(#44768957)
> The same product might have a different ASIN in a different region
But why?