Jump to content

Customized Data Quantity bug in PaymentModule.php


Recommended Posts

I noticed a small bug in the way 1.6.0.9 displays the quantity of customized products in the confirmation email that gets sent to customers.

 

If you order multiple variations of a customizable product, say 4 custom mugs, 3 with the name "Betty" and one with the name "Frank", the email will display that you ordered 4 mugs, but also say you ordered 3 of each name.

 

Line 445 of the class PaymentModule is currently:

 

$customization_quantity = (int)$product['customization_quantity'];

 

It should be changed to:

 

$customization_quantity = $customization['quantity'];

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...