Ali Total Price

Shows Total Price on Aliexpress

< Feedback on Ali Total Price

Review: Good - script works

§
Posted: 2021-10-13

Doesn't work on search pages for me, for example, this page: https://www.aliexpress.com/af/1.5-V-battery.html?trafficChannel=af&d=y&CatId=0&SearchText=1.5+V+battery<ype=affiliate&SortType=total_tranpro_desc&groupsort=1&page=1

Also, I would like to change the separator to '.' instead of ',' – how can I do it?

AndShyAuthor
§
Posted: 2021-10-27

for search pages explanations: https://github.com/AndShy/Ali-Total-Price/issues/5
separator can be changed by pointing another locale code in Intl.NumberFormat('us-US', line 216
it's a built-in function. "how to" you can read here: https://www.codingexercises.com/format-a-number-with-a-comma-as-a-thousands-separator-js

Post reply

Sign in to post a reply.