Opened 4 years ago

Closed 3 years ago

#1944 closed defect (fixed)

Order Amount Limits Are Not Enforced

Reported by: reto.kohli Owned by: riesen
Priority: normal Milestone: Contrexx 3.2
Component: Shop Version: 3.1.1
Severity: normal Keywords: shop order amount limit
Cc:

Description (last modified by reto.kohli)

After defining lower and/or upper order amount limits in the shop settings, these are not enforced. In the standard page template, a BEGIN/END block is missing around the "continue" button:

<input type="submit" name="continue" class="continue-button" value="[[TXT_NEXT]]" />

This should be extended like

<!-- BEGIN continue --> <input type="submit" name="continue" class="continue-button" value="[[TXT_NEXT]]" /> <!-- END continue -->

Also, warning messages about the amount being too low or too high are not set using the global Message class, but using the placeholders [[TXT_SHOP_NOTE_AMOUNT_TOO_LOW]] and [[TXT_SHOP_NOTE_AMOUNT_LIMIT_REACHED]], respectively. This should be changed as well.

Change History (4)

comment:1 Changed 4 years ago by reto.kohli

  • Description modified (diff)

comment:2 Changed 3 years ago by riesen

  • Owner changed from comvation to riesen
  • Status changed from new to assigned

comment:3 Changed 3 years ago by kramer

  • Milestone changed from unknown to Contrexx 3.2

comment:4 Changed 3 years ago by riesen

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.