Page 1 of 1

Problem with KIT information in Vendor Notification E-mail

Posted: Thu Jun 25, 2009 5:48 am
by NC Software
I'm trying to solve a problem that I also had to do in AC 5 but was easier in AC 5 due to the code structure and could be done in the source. Hopefully I can do something in nVelocity to fix this in the e-mail template.

What is happening is when ordering a KIT product (bundle style) you see the master item (sku, qty, etc.) and then you see the kit items. So if you have a BINDER product and then a kit item for color, which is three private products making up a component named BLACK, BROWN, TAN, you get a confusing output to the vendor. The attached image shows a QTY of 2 for the BINDER product and then a QTY of 2 for BLACK.

A sharp order fulfillment person would add up the QTY column and make sure that number of items is placed in a box. Or even better a merchant will add a "Total Items to Ship" summing the QTY column. However, that is NOT how to fulfill this order. What I had to do in AC 5 is use a hyphen for the kit master in the SKU and QTY columns and then I could tell the vendor, only fulfill what has a SKU.

So how can I go about this within an e-mail template? I need a conditional (#if #else #end) so that I can use a hyphen for the SKU and QTY entries to prevent this issue. I hope you can see how a warehouse could end up shipping more items than are paid for in this presentation. How can we determine if a product has children, i.e. is a KIT master product?