How do I edit the invoice, packing slips, etc.??
How do I edit the invoice, packing slips, etc.??
OK. I guess I'm not too bright as it appears nobody else has this issue. I've looked everywhere I can think of and did searches on both the forum and AbleCommerce Help, and have not found anything that explains where to edit the invoice, packing slip, etc.
Sorry if this is a really dumb question but I honestly tried to figure it out first
Sorry if this is a really dumb question but I honestly tried to figure it out first
Re: How do I edit the invoice, packing slips, etc.??
I was wondering the same thing. Hasn't happened yet, but any day now someone is going to call and ask me to correct a choice made in error. I don't see a way to change the size, color....
Editing quantity and price are available. Is that all?
Editing quantity and price are available. Is that all?
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: How do I edit the invoice, packing slips, etc.??
It depends on which invoice you need- the one the customer prints or the one in the admin.
The ones in the admin are in the Admin/Orders/Print folder. There is an additional packing slip that is in the Admin/Orders/Shipments folder.
If it is the one the customer sees, the editing would be done in the ConLib.PrintMyOrderPage.ascx and .ascx.cs
The ones in the admin are in the Admin/Orders/Print folder. There is an additional packing slip that is in the Admin/Orders/Shipments folder.
If it is the one the customer sees, the editing would be done in the ConLib.PrintMyOrderPage.ascx and .ascx.cs
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: How do I edit the invoice, packing slips, etc.??
I am needing help with the Admin\Orders\Shipments\PackingList.aspx file. OrderItemDetail.ascx seems to collect all the information for this file. Is that correct? I am needing to put the Summary Description in instead of the Name and I have not been successful at doing this. I have changed the header to say Description but can't get the code to show Product.Summary. Here is the code in the PackingList.aspx file and I know it is with the last template field.
<Columns>
<asp:TemplateField HeaderText="Qty">
<HeaderStyle Width="50" HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="center" />
<ItemTemplate>
<asp:Label ID="Quantity" runat="server" Text='<%#Eval("Quantity")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="SKU">
<HeaderStyle Width="80" HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="center" />
<ItemTemplate>
<asp:Literal ID="Sku" runat="server" Text='<%# GetSku(Container.DataItem) %>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Description">
<ItemTemplate>
<uc:OrderItemDetail ID="OrderItemDetail1" runat="server" OrderItem='<%#(OrderItem)Container.DataItem%>' ShowAssets="False" LinkProducts="False" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
<Columns>
<asp:TemplateField HeaderText="Qty">
<HeaderStyle Width="50" HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="center" />
<ItemTemplate>
<asp:Label ID="Quantity" runat="server" Text='<%#Eval("Quantity")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="SKU">
<HeaderStyle Width="80" HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="center" />
<ItemTemplate>
<asp:Literal ID="Sku" runat="server" Text='<%# GetSku(Container.DataItem) %>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Description">
<ItemTemplate>
<uc:OrderItemDetail ID="OrderItemDetail1" runat="server" OrderItem='<%#(OrderItem)Container.DataItem%>' ShowAssets="False" LinkProducts="False" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: How do I edit the invoice, packing slips, etc.??
The problem is that the product summary is not a part of the order item. You would have to load the product for that order item, then get the summary from product.summary.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: How do I edit the invoice, packing slips, etc.??
Judy, I do not understand you what you mean by "You would have to load the product for that order item, then get the summary from product.summary."
I'm guessing that I need to add code to OrderItemDetail, either .ascx or .ascx.cs or both, I just don't have a clue where or what to add to get the summary. Is there some example that shows this on some other form?
Thanks,
Scott
I'm guessing that I need to add code to OrderItemDetail, either .ascx or .ascx.cs or both, I just don't have a clue where or what to add to get the summary. Is there some example that shows this on some other form?
Thanks,
Scott
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: How do I edit the invoice, packing slips, etc.??
You might be able to get it from something like this that is int the Packing list
Only do GetSummary(object dataItem) and return orderItem.Product.Summary instead of orderItem.Sku
Then in the .aspx file use
<asp:Literal ID="Summary" runat="server" Text='<%# GetSummary(Container.DataItem) %>'></asp:Literal>
Code: Select all
protected string GetSku(object dataItem)
{
OrderItem orderItem = (OrderItem)dataItem;
if (orderItem.OrderItemType == OrderItemType.Product) return orderItem.Sku;
return StringHelper.SpaceName(orderItem.OrderItemType.ToString());
}
Then in the .aspx file use
<asp:Literal ID="Summary" runat="server" Text='<%# GetSummary(Container.DataItem) %>'></asp:Literal>
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: How do I edit the invoice, packing slips, etc.??
Judy, That was perfect. Thanks for the further explination. I spent the better part of a morning working on this earlier this month then gave up because I was always getting errors after editing the code.
Thanks Again,
Scott
Thanks Again,
Scott
- cerami2
- Lieutenant Commander (LCDR)
- Posts: 103
- Joined: Thu Nov 08, 2007 5:29 am
- Location: Plymouth MN
- Contact:
Re: How do I edit the invoice,
i had my early version working thanks to help lastime 7.0 I am using 7.04 i need to add delivery method and type of credit card to the printed invoice .Can some one help me please
Joe Cerami
http://www.insulincase.com
http://www.insulincase.com
Re: How do I edit the invoice, packing slips, etc.??
Have a look at this, it may be helpful
viewtopic.php?f=42&t=8347
viewtopic.php?f=42&t=8347
- cerami2
- Lieutenant Commander (LCDR)
- Posts: 103
- Joined: Thu Nov 08, 2007 5:29 am
- Location: Plymouth MN
- Contact:
Re: How do I edit the invoice, packing slips, etc.??
thanks but that is for the packing list i need the invoice
Joe Cerami
http://www.insulincase.com
http://www.insulincase.com