AndShy / Ali-Total-Price

userscript for showing Aliexpress Total Price
GNU General Public License v3.0
26 stars 4 forks source link

Not Working #14

Closed gabxln closed 1 year ago

gabxln commented 1 year ago

Stop Working again.

AndShy commented 1 year ago

https://github.com/AndShy/Ali-Total-Price/issues/13#issue-1669485518

AndShy commented 1 year ago

https://github.com/AndShy/Ali-Total-Price/issues/12#issuecomment-1511110772

AndShy commented 1 year ago

Ok. I can fix script for you, but firstly I need to see what your ali design is. So post a screenshot. Also tell what problem is. Just not working?

gabxln commented 1 year ago

Well, I don't know if the language makes a difference... and yes, it just doesn't work, nothing appears.

Captura de tela 2023-05-06 184205 Captura de tela 2023-05-06 184246 Captura de tela 2023-05-06 185325

AndShy commented 1 year ago

should work now. as write Wlodarski there is some changes in price style most likely for countries of america, and changes in country/language/currency block most likely for everyone. if not work - logout from ali, ctrl+shift+i or F12 >in "elements" select second line with "html ..." > right click > edit as html > copy all, save in txt and send me. Ali_Total_Price_2.14_countries_of_america.user.js.zip

dragoncity17 commented 1 year ago

Hello AndShy ! :)

I am from EU, and previous script doesn't work (nothing...), but for this script [Ali_Total_Price_2.14_countries_of_america.user.js.zip]" I have :

One piece/lot price: --- Total Price: ---

For price :

HTML

<span class="product-price-value">€ 2,01</span>

SELECTOR

#root > div > div.product-main > div > div.product-info > div.product-price > div.product-price-current > span

For shipping :

HTML

<strong data-spm-anchor-id="a2g0o.detail.1000016.i5.676b414e0gmzAc">Livraison: € 2.27</strong>

SELECTOR

#root > div > div.product-main > div > div.product-info > div.product-dynamic-shipping > div > div > div.dynamic-shipping-line.dynamic-shipping-titleLayout > span > span > strong

I hope can help ! :)

AndShy commented 1 year ago

dragoncity17 I have changed selector for currency and have 'fixed' bug with shipping cost in master branch script. try it. but script needs further rewriting due to some changes and many of item page designs, so script may be not always working correctly

dragoncity17 commented 1 year ago

Great !!!! Work ! :)

Good job, I know it's Ali Express the problem ^^

gabxln commented 1 year ago

should work now. as write Wlodarski there is some changes in price style most likely for countries of america, and changes in country/language/currency block most likely for everyone. if not work - logout from ali, ctrl+shift+i or F12 >in "elements" select second line with "html ..." > right click > edit as html > copy all, save in txt and send me. Ali_Total_Price_2.14_countries_of_america.user.js.zip

Works now friend 😀 Thank You