Dear Brain Trust:
In /skin1/customer/main/cart_details.tpl (the page that has the final listing of items before checkout) -
immediately after {$products[prod_num].product|truncate:"40":"...":true}:
Code:
<A href="product.php?productid={$products[prod_num].productid}" title="{$products[prod_num].product|escape:"html"}{if $products[prod_num].product_options}:
{capture name=po}{include file="modules/Product_Options/display_options.tpl" options=$products[prod_num].product_options is_plain='Y'}{/capture}{$smarty.capture.po|escape}{/if}">
{* BEGIN COMMENT OUT SKU DISPLAY AT CHECKOUT *}
{* {if $products[prod_num].productcode}{$products[prod_num].productcode}{else}#{$products[prod_num].productid}{/if}. *}
{* END COMMENT OUT SKU DISPLAY AT CHECKOUT *}
{$products[prod_num].product|truncate:"40":"...":true}
</A></TD>
I want to insert the "variant" color option -- like this mockup:
[image removed]
I thought the code that I used on cart.tpl to display the color variant:
Code:
{if $products[product].product_options ne ""}
{include file="modules/Product_Options/display_options.tpl" options=$products[product].product_options} {/if}
Would work here -- but nothing displays. Yes, I put it in the same <td> as the product...
Anyone have an idea here? Doesn't everyone want to list the color variant of the item in their final shopping cart? has anyone done this?
Thanks,
Jeremy