The Visser Labs team is growing with a newborn baby; a healthy girl named Eva! Use coupon: babybaby-20 for 20% off all Plugins.
Support is limited until Michael gets some sleep! :)

Show a unique Order Item row matching the Quantity value for each Order Item

By default the Order Items Formatting rule “Place each Order Item within their own Order row” places each unique Order Item on its own row. This PHP snippet will force a new Order Item row for each quantity of an Order Item which is ideal for grocers and bulk Orders, for instance:

An Order of 3 Big Apples and 6 Small Apples will generate 9 Order Item rows with a Order Item: Quantity of 1 applied to all Order Items.

View Code
This entry was posted in . Bookmark the permalink.

Leave a Comment

Before you comment - Do you have a support request? If so, this is not the right place to post it. Please submit support requests for Premium Plugins on the Support page and in the community Support Forums for free Plugins.

Your email address will not be published.