Wednesday 24 May 2006 1:27:54 pm
dont apper these options itens. In the order only have a one line with total number of itens for all options from the same product.
Sorry, but I don't exactly understand what you mean. For example in "email sended to client;" the options do not show up, because the code used in the template only loops through the ordered products but does not loop through the options of each ordered product. So for orderemail.tpl you will have to create an override template. So for example for orderemail.tpl replace some of it's default code with something like this:
Your order:
{section var=product_item loop=$order.product_items}
{$product_item.item_count}x {$product_item.object_name} {$product_item.price_inc_vat|l10n(currency)}
{section show=$product_item.item.item_object.option_list}
With the options:
{section var=product_options loop=$product_item.item_object.option_list}
{$product_options.name}: {$product_options.value} {section show=$product_options.price|ne( 0 )}{$product_options.price|l10n( currency )} {/section}
{/section}
{/section}
{/section}
Product Total: {$order.product_total_inc_vat|l10n(currency)}
{section var=order_item loop=$order.order_items show=$order.order_items}
{$order_item.description}: {$order_item.price_inc_vat|l10n(currency)}
{/section}
Order Total: {$order.total_inc_vat|l10n(currency)}
In the admin area or the control panel, the options should show up by default I think. Click on the order id. If they do not show up, there might be a problem somewhere else. Let me know if you have any problems.
-------------------------------
http://www.kookfijn.nl & http://www.magento.be
|