You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we can remove the "relevant" and just take the innerHTML.
In the past, they used to write the old price under the same element as the current price so we had to use this method to extract the correct price. I don't see this behavior anymore. 0dcb148
Hi,
I think amazon.com (and maybe other domains) updated their shipping price template.
we need to update our
extractPrice()
function.Demo product:
https://www.amazon.com/gp/product/B083X4VCLB?pf_rd_r=ZS2V02RVRD05ZWBJYHBS&pf_rd_p=6fc81c8c-2a38-41c6-a68a-f78c79e7253f&pd_rd_r=c18de448-e0e3-4518-ba37-f48304c6cebb&pd_rd_w=hYKXB&pd_rd_wg=iNJx8&ref_=pd_gw_unk
this line:
amazon-local-currency/script.js
Line 166 in ccb9131
is called with the element:
leads to a wrong
relevant
variable:amazon-local-currency/script.js
Line 285 in ccb9131
since the
element.querySelectorAll(':not(.a-text-strike)'
not taking the actual shipping price, but the<b>FREE Shipping</b>
tagThe text was updated successfully, but these errors were encountered: