diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-02-21 14:03:11 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-02-21 14:03:11 +0100 |
commit | bac96457a5b53a3f5fa5857e108e9e32515bb02b (patch) | |
tree | c0db5658a7201146e729bef85aecbca2bf1f6caa /src/pcspecialist_display_prices.js | |
parent | c9ea962d4703fdc33fb5af6670383b721e8be3f9 (diff) | |
download | hydrilla-fixes-bundle-bac96457a5b53a3f5fa5857e108e9e32515bb02b.tar.gz hydrilla-fixes-bundle-bac96457a5b53a3f5fa5857e108e9e32515bb02b.zip |
improve some of the fixes and add sample URLs for testing
Diffstat (limited to 'src/pcspecialist_display_prices.js')
-rw-r--r-- | src/pcspecialist_display_prices.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcspecialist_display_prices.js b/src/pcspecialist_display_prices.js index c28cb47..d38fee3 100644 --- a/src/pcspecialist_display_prices.js +++ b/src/pcspecialist_display_prices.js @@ -32,7 +32,7 @@ function updatePrice() { } } - const url = 'https://www.pcspecialist.co.uk/ajax/running_total.php?categories=' + names.join('%2C') + + const url = '/ajax/running_total.php?categories=' + names.join('%2C') + '%2C&products=' + values.join('%2C') + '%2C&q=' + form.querySelector('input[name="q"]').value + '&form_id=' + formId; xhr.onreadystatechange = priceUpdated; |