attributes with Product and Cart

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
merder99
Forum Members
Forum Members
Posts: 47
Joined: Wed Oct 29, 2008 3:14 am

attributes with Product and Cart

Post 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
merder99
Forum Members
Forum Members
Posts: 47
Joined: Wed Oct 29, 2008 3:14 am

Re: attributes with Product and Cart

Post by merder99 »

Can anyone help with this? Please?
jukums
New Member
New Member
Posts: 9
Joined: Fri Jan 15, 2010 10:13 pm

Re: attributes with Product and Cart

Post 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}
Post Reply

Return to “Modules/Add-Ons”