Page 1 of 1

attributes with Product and Cart

Posted: Tue Feb 02, 2010 4:38 am
by merder99
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

Re: attributes with Product and Cart

Posted: Thu Feb 04, 2010 12:16 am
by merder99
Can anyone help with this? Please?

Re: attributes with Product and Cart

Posted: Mon May 31, 2010 11:29 am
by jukums
Edit Products Summary:

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}
And in Calguys Ecommerce Base

Just leave
Product Attribute Display Template: with following
{$attrib_text}