Kit Assemblies & Migration Utility

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
brennan1313
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Wed May 28, 2008 5:59 pm

Kit Assemblies & Migration Utility

Post by brennan1313 » Wed May 28, 2008 6:15 pm

Hello, my name is Brennan and I am looking to migrate a client off another shopping cart to AbleCommerce. I have tried the online demo and love it. My only concern is how the kit assemblies are displayed on the invoice and packing slips. Does anyone know if the components of a kit product are populated in ac_OrderItems table in column ParentItemId? The packing slip lists the components from the kit assemblies as separate line items. My client would require the products be grouped together on a single line item. I would need to modify the following files to display the product correctly for my client:

PackSlips.aspx and Invoices.aspx.

Previously, has anyone modified these pages? Also, is there a place for documentation on the order items data structures(OrderItemCollection)?

Secondly, has anyone used the migration utility? Is there any documentation available for the migration utility?

Any insight would greatly be appreciated.

Thanks,
Brennan

User avatar
m_plugables
Commander (CMDR)
Commander (CMDR)
Posts: 149
Joined: Tue Mar 11, 2008 12:44 am
Contact:

Re: Kit Assemblies & Migration Utility

Post by m_plugables » Thu May 29, 2008 2:18 am

Image
Visit the links below to Download Plugins for your AC7 Store
http://www.plugables.com
http://blog.plugables.com

brennan1313
Ensign (ENS)
Ensign (ENS)
Posts: 2
Joined: Wed May 28, 2008 5:59 pm

Re: Kit Assemblies & Migration Utility

Post by brennan1313 » Fri May 30, 2008 11:43 am

Thanks! :D

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Kit Assemblies & Migration Utility

Post by Logan Rhodehamel » Fri May 30, 2008 5:29 pm

brennan1313 wrote:I would need to modify the following files to display the product correctly for my client:

PackSlips.aspx and Invoices.aspx.
Let's start with Invoices.aspx.... this might be simple and appears to be a bug in the file. We have the items sorting by name, but actually they need to be sorted according to other rules that factor in relationships between items (e.g. kit items).

On Line 81 of Admin/Odrres/Print/Invoice.aspx is this code:

Code: Select all

products.Sort("Name");
That line should actually be this:

Code: Select all

products.Sort(new OrderItemComparer());
With this change, items that are in kits will group together. The same code change can be made on line 123 of Admin/Orders/Print/PackSlips.aspx.

This change won't make the items group onto a single line item though. Is the change above sufficient or are you looking for something more like what the customer sees when they view their own invoice? On the customer invoice, the kit is not broken out by each item but rather the items are shown in a bulleted list.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Kit Assemblies & Migration Utility

Post by compunerdy » Sat May 31, 2008 12:03 am

It should display on the admin the side the same way it does on the customer side in my opinion.

Post Reply