BV Commerce Forum
»
BV Commerce Support
»
Development
»
Displaying Product Variations (Choices & Modifiers) in Cart, Orders and Print/Email Templates
Rank: Member
Joined: 6/26/2007(UTC) Posts: 14
|
Hi there
We've noticed that in general, BV5 only displays SKU codes to distinguish between product variations such as colour, size etc. For example, viewing your shopping cart, viewing an order in the administration system or customising print and email templates, does not show / allow product variations to be displayed by name (blue, black, green etc.).
Is there an easy way to display choices / modifiers by name and not only SKU code or is the option already available and I'm just not looking in the right place?
Thanks...
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
At least in the email templates and the print templates, if you add this: [[LineItem.InputsAndModifiers]]
... to the 'repeating section',
<tr> <td align=left valign=top>[[LineItem.Quantity]]</td> <td align=left valign=top>[[Product.Sku]]</td> <td align=left valign=top>[[Product.ProductName]]<br />[[LineItem.InputsAndModifiers]]<br />[[LineItem.ShippingStatus]]</td> <td align=right valign=top>[[LineItem.AdjustedPrice]]</td> </tr>
It'll look like this in emails and print:
[table cellSpacing=0 cellPadding=5 width="100%" border=0] [tr ][td ]Qty[/td][td ]SKU[/td][td ]Product Name[/td][td align=right]Unit Price[/td][/tr][tr ][td colSpan=4]<HR> [/td][/tr][tr ][td vAlign=top align=left]1[/td][td vAlign=top align=left]MAS742R[/td][td vAlign=top align=left]Edison Recessed Medicine Cabinet
<UL class=inputsandmodifiers> <LI>Wall opening height: 24 3/4 <LI>Wall opening width: 14 <LI>Wall opening depth: 4 1/2 <LI>Door orientation: Hinge on LEFT, knob or right <LI>Shelf style: Wood <LI>Door style: Beveled mirror + $95.00 <LI>Hinge finish: Nickel plated * Wood/Finish: Oak, Naked </UL> Unshipped[/td][td vAlign=top align=right]$590.95[/td][/tr][tr ][td colSpan=4] <HR>
[/td][/tr][/table]
The variants (choices) are shown as I named them for display on the product page. The "24 3/4", etc., are customer's text inputs.
Mine looks like this for the time being (haven't had time to really make this look good yet), and the code is plenty sloppy, but it works.
Orders veiwed in the admin's "Order Manager" should show you everything including choices/modifiers OOTB. I don't remember doing anything to this area... |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 6/26/2007(UTC) Posts: 14
|
Thanks for the help, but we've had no luck with the [[LineItem.InputsAndModifiers]] tag - shows up blank for us and our orders look like this in the admin:
[table id=ctl00_MainContent_ItemsGridView style="MARGIN: 20px 0px; WIDTH: 100%; BORDER-BOTTOM: #666 1px solid; BORDER-COLLAPSE: collapse" cellSpacing=0 border=0] [tr class=rowheader]<TH scope=col></TH> <TH scope=col>SKU</TH> <TH scope=col>Item</TH> <TH scope=col>Shipping</TH> <TH scope=col align=right>Price</TH> <TH scope=col align=right>Quantity</TH> <TH scope=col align=right>Line Total</TH>[/tr][tr ][td ] [/td][td ]<SPAN id=ctl00_MainContent_ItemsGridView_ctl02_SKUField>RING006 [/td][td ]<SPAN id="ctl00_MainContent_ItemsGridView_ctl02_Descript<b"></B>Ring Thing [/td][td ]<SPAN id=ctl00_MainContent_ItemsGridView_ctl02_ShippingStatusField>Unshipped [/td][td align=right]<SPAN id=ctl00_MainContent_ItemsGridView_ctl02_AdjustedPriceField>$9.95 [/td][td align=right]<SPAN id=ctl00_MainContent_ItemsGridView_ctl02_QuantityField>1 [/td][td align=right]<SPAN id=ctl00_MainContent_ItemsGridView_ctl02_LineTotalField>$9.95 [/td][/tr][tr class=alternaterow][td ] [/td][td ]<SPAN id=ctl00_MainContent_ItemsGridView_ctl03_SKUField>LIGH001 [/td][td ]<SPAN id="ctl00_MainContent_ItemsGridView_ctl03_Descript<b"></B>Magic Light Pup [/td][td ]<SPAN id=ctl00_MainContent_ItemsGridView_ctl03_ShippingStatusField>Unshipped [/td][td align=right]<SPAN id=ctl00_MainContent_ItemsGridView_ctl03_AdjustedPriceField>$20.00 [/td][td align=right]<SPAN id=ctl00_MainContent_ItemsGridView_ctl03_QuantityField>1 [/td][td align=right]<SPAN id=ctl00_MainContent_ItemsGridView_ctl03_LineTotalField>$20.00 [/td][/tr][tr ][td ] [/td][td ]<SPAN id=ctl00_MainContent_ItemsGridView_ctl04_SKUField>EQUT004 [/td][td ]<SPAN id="ctl00_MainContent_ItemsGridView_ctl04_Descript<b"></B>Equaliser T-Shirt [/td][td ]<SPAN id=ctl00_MainContent_ItemsGridView_ctl04_ShippingStatusField>Unshipped [/td][td align=right]<SPAN id=ctl00_MainContent_ItemsGridView_ctl04_AdjustedPriceField>$25.00 [/td][td align=right]<SPAN id=ctl00_MainContent_ItemsGridView_ctl04_QuantityField>1 [/td][td align=right]<SPAN id=ctl00_MainContent_ItemsGridView_ctl04_LineTotalField>$25.00[/td][/tr][/table]There doesn't seem to be a column for displaying a choice / modifier. I've found that the only way to display a modifier / choice name is to edit a line item, which allows you to see all the current and available variations for a particular product. Is our system somehow working differently to how it should?
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.