Land van herkomst voor Amazon-producten

userscript om het land van herkomst voor Amazon-producten op te halen en weer te geven. oorspronkelijk ontwikkeld om het boycotten van de CCP gemakkelijker te maken.

< Feedback op Land van herkomst voor Amazon-producten

Recensie: Goed - het script werkt zoals het hoort

§
Geplaatst: 06-07-2024

It's not working for me at the moment. It displays Amazon as the seller instead of the country.

Your script is soooo useful. I hope it gets updated again.

SidemMaker
§
Geplaatst: 07-07-2024

If it shows amazon as the seller it's either sold by amazon or the seller origin data is not made available by amazon.
if you dont think that is the case and it erroneously shows amazon, please provide a product page that can demonstrate that problem.

§
Geplaatst: 08-07-2024
Bijgewerkt: 08-07-2024

Thanks for replying.
Here's an example.

Search listing for chocolate shows most items sold by Amazon: https://www.amazon.com/s?k=chocolate

First item I click on, which shows sold by Amazon: https://www.amazon.com/HERSHEYS-Nuggets-Chocolate-Candy-Assortment/dp/B07PFF8J2P/ref=sr_1_5?sr=8-5
But the country of origin listed is USA.

Second item I clicked on, also showing sold by Amazon: https://www.amazon.com/Ferrero-MCLANE500342642-Rocher-Hazelnut-Chocolate/dp/B0002XO5W4/ref=sr_1_6?sr=8-6
But the country of origin listed is Canada.


I'm currently using the chrome extension `Made Where: Country of Origin for Amazon` which correctly shows the country of origin. Maybe you can look into its javascript and see how they do it. I'm not a programmer, and couldn't figure it out by asking ChatGPT to compare its .js to modify your userscript.

SidemMaker
§
Geplaatst: 08-07-2024

I have updated the script to make this additional check. It should work now

§
Geplaatst: 08-07-2024

Cool stuff. Thanks. The correct flag shows up in the product page.

Reactie plaatsen

Log in om antwoord te geven.