Revision bac96457
Added by koszko over 1 year ago
src/pcspecialist_display_prices.js | ||
---|---|---|
32 | 32 |
} |
33 | 33 |
} |
34 | 34 |
|
35 |
const url = 'https://www.pcspecialist.co.uk/ajax/running_total.php?categories=' + names.join('%2C') +
|
|
35 |
const url = '/ajax/running_total.php?categories=' + names.join('%2C') + |
|
36 | 36 |
'%2C&products=' + values.join('%2C') + '%2C&q=' + form.querySelector('input[name="q"]').value + '&form_id=' + formId; |
37 | 37 |
|
38 | 38 |
xhr.onreadystatechange = priceUpdated; |
Also available in: Unified diff
improve some of the fixes and add sample URLs for testing