Error in Discounts script
-
Hi,
There is in error in Discounts script in version 2.2.0.
When selecting number of days qualifying for discount, the price and dates are not updated during the reservation.To fix this I changed the below line in file frontend-discounts.js
Line 247 OLD:
HTML.push(‘/’+(dataHours[‘enabled’] ? DOPBSPFrontEnd(ID, ‘discounts’, ‘byHour’):DOPBSPFrontEnd(ID, ‘discounts’, ‘byDay’)));Line 247 NEW:
HTML.push(‘/’+(dataHours[‘enabled’] ? DOPBSPFrontEnd.text(ID, ‘discounts’, ‘byHour’):DOPBSPFrontEnd.text(ID, ‘discounts’, ‘byDay’)));
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Error in Discounts script’ is closed to new replies.