Jump to content

Wanted quantity - multiplying / sq m in pack


igniter89

Recommended Posts

Hi presta,

I have feature with id 6. This feature is number of sq meters in one pack of floor.

{if isset($features) && $features}
 {foreach from=$features item=feature}
   {if $feature.id_feature == 6}
   <div class="itemTwo">{$feature.value|escape:'htmlall':'UTF-8'}</div> 
   {/if}
 {/foreach}
{/if}

what i need is: if customer increase or decrease wanted quantity i need to show him actual info with real sq meters in his packs of floor.

For example:  
1pack with price 100$ ... i know that 1 pack is 2m2. Customer change wanted quantity to 5pack and i want to show him info that 5packs for 500$ contain 10m2.

 

So, is it possible something like this?:  (wanted_quantity * id_feature == 6) = value of m2  that the customer gets.

PLS see attached file post-801573-0-20778500-1436433294_thumb.jpg

Many thanks for fast reply and your time.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...