When you use Attributes with Products, you end up with a dropdown box with the different attributes and the adjustment to the price - at the moment it displays this as a + or - symbol then the amount it is adjusted by.
i wish this to display the adjusted price - so if the base price is $10 and i adjust by $2 i'd like it to show $8, not (-$2)
This is in the Cart Module and the Product module.
any help is appreciated lots and lots.
thanks
Michael
attributes with Product and Cart
Re: attributes with Product and Cart
Can anyone help with this? Please?
Re: attributes with Product and Cart
Edit Products Summary:
And in Calguys Ecommerce Base
Just leave
Product Attribute Display Template: with following
{$attrib_text}
Code: Select all
{* accessing all of the fields in a list *}
{if count($entry->fields)}
<h4>Custom Fields</h4>
{foreach from=$entry->fields key='name' item='field'}
<div class="product_detail_field"><p>
{$mod->Lang('name')}: {$name}<br/>
{$mod->lang('type')}: {$field->type}<br/>
{$mod->lang('value')}: {$field->value}<br/>
{if $field->type == 'image' && isset($field->thumbnail)}
<img src="{$entry->file_location}/{$field->thumbnail}" alt="{$field->value}"/>
{/if}
</p></div>
{/foreach}
{/if}
Just leave
Product Attribute Display Template: with following
{$attrib_text}