Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will this tool work on Amazon in other countries? #9

Open
Haruqun opened this issue Jan 31, 2022 · 6 comments
Open

Will this tool work on Amazon in other countries? #9

Haruqun opened this issue Jan 31, 2022 · 6 comments

Comments

@Haruqun
Copy link

Haruqun commented Jan 31, 2022

// @include https://www.amazon.com/*

Does switching the above description to another country's amazon work fine?

@kkapuria3
Copy link
Owner

It’s only built to work with Amazon US. If you’d like it to work for Amazon in other countries, the code would have to be updated to adapt to the formatting for those specific sites. This can include updating url’s, element ID’s, button classes, etc. There are no plans to develop international versions at this time.

@d4rkk1ll0r
Copy link

Hi @kkapuria3
I tried to edit your code using it in Germany for Amazon.de, but it seems that its not working.. Do you have an idea what to change in the script? I already updated the url`s and the button classes seems identical as on amazon.com
BR

@papa4narchia
Copy link

@d4rkk1ll0r You can debug the script using standard Tampermonkey settings (Settings > Config Mode: Advanced > Debug scripts).
For Amazon Germany, the price comparison fails because we are using a "," as decimal separator (US uses ".").
It seems to be able to add to cart when changing that.
As the 2.0 notes state, there is "no auto-checkout yet". You would need to add that yourself.

@Zr305
Copy link

Zr305 commented Jun 15, 2022

Bonjour, a quel endroit faut-il changer "." vers "," ?

Merci

@UtkarshSingh5474
Copy link

@d4rkk1ll0r You can debug the script using standard Tampermonkey settings (Settings > Config Mode: Advanced > Debug scripts). For Amazon Germany, the price comparison fails because we are using a "," as decimal separator (US uses "."). It seems to be able to add to cart when changing that. As the 2.0 notes state, there is "no auto-checkout yet". You would need to add that yourself.

Where to change these price comparison seperators?

@kkapuria3
Copy link
Owner

The script has been way outdated and will probably need core logic to be re-written. You can use, console.log() to print variables in your browsers console and debug it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants