Jump to content

Edit History

beepow

beepow

I have a strange issue with couriers' error messages at checkout in PS 1.6.1.14 (Default Theme).

To emulate a minimum amount for purchases needed for a specific group, I've disabled its assigned couriers below a certain purchase amount (let's say 150). The behavior is correct and there's an error showing until the cart reaches 150 euros.

But the error message is printed twice for every assigned courier!
The message comes from order-carrier.tpl, I guess: if I change that line into tpl file, it changes in error box too (and, of course, it is repeated two times for every courier that is active for that group). The url that shows the error is /quick-order

Some years ago someone modified a controller to have this thing of minimum purchase amount working. 
Something like this: https://www.prestashop.com/forums/topic/585753-set-minimum-order-purchase-for-customers-group-prestashop-16/

Any suggestion on on what to do? Where to check?
Is there a way to force a single error message to be printed?

PS: of course the message "The product selection cannot be delivered by the available carrier(s). Please amend your cart." has been translated to fit the need of warining about minum purchase amount.

Thanks for your time

 

beepow

beepow

I have a strange issue with couriers' error messages at checkout in PS 1.6.1.14 (Default Theme).

To emulate a minimum amount for purchases needed for a specific group, I've disabled its assigned couriers below a certain purchase amount (let's say 150). The behavior is correct and there's an error showing until the cart reaches 150 euros.

But the error message is printed twice for every assigned courier!
The message comes from order-carrier.tpl, I guess: if I change that line into tpl file, it changes in error box too (and, of course, it is repeated two times for every courier that is active for that group). The url that shows the error is /quick-order

Some years ago someone modified a controller to have this thing of minimum purchase amount working. 
Something like this: https://www.prestashop.com/forums/topic/585753-set-minimum-order-purchase-for-customers-group-prestashop-16/

Any suggestion on on what to do? Where to check?
Is there a way to force a single error message to be printed?

PS: of course the message "The product selection cannot be delivered by the available carrier(s). Please amend your cart." has been translated to fit the need of warining about minum purchase amount.

Thanks for your time

 

×
×
  • Create New...