Daniel Posted September 12, 2008 Share Posted September 12, 2008 I've not installed 3.7.1 yet but found a bug in the demo. I created a promo code for a fixed amount set to "5" and gone through the order process. Once the code is validated this is the output. Promotional Code 1 - 5.00% Discount Don't use Promotional Code Subtotal: $19.95 USD 5.00% Discount: -$0.00 USD Total Due Today: $19.95 USD Total Recurring: $19.95 USD Monthly There are two things wrong here, firstly the discount is being reported as 5% when the 'Fixed Amount' option is set and the discount is $0.00 Link to comment Share on other sites More sharing options...
uberhost Posted September 12, 2008 Share Posted September 12, 2008 Works properly here with 3.7.1 installed and following your instructions. Link to comment Share on other sites More sharing options...
Daniel Posted September 12, 2008 Author Share Posted September 12, 2008 That's strange.. I just tried it on the demo again and it worked find - it was definitely doing it earlier though. Just noticed something else though, the new default order form doesn't tell you if the product code doesnt apply to that product - just gives a $0.00 discount. Link to comment Share on other sites More sharing options...
magga Posted September 12, 2008 Share Posted September 12, 2008 The cart doesn't do it either.... it hasn't done for a while but it used to work on the original order process. Link to comment Share on other sites More sharing options...
uberhost Posted September 12, 2008 Share Posted September 12, 2008 "Invalid Promotion Code" would be nice. Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted September 12, 2008 WHMCS CEO Share Posted September 12, 2008 If a promotion code doesn't exist, it will give an error to the user, but if the promotion code is valid then it can be applied to the cart and items can then be added after adding the promotion to receive discount. This is essential for the setting of a promotion code via an url such as cart.php?a=add&pid=1&promocode=sep08 to work. Matt Link to comment Share on other sites More sharing options...
Recommended Posts