Forums / Templates, Stylesheets, Page Layout / How do i display the price like this?

How do i display the price like this?

Views: 486

Results 1 to 3 of 3
13 Jan 2011, 2:19 PM
#1
mx_signs avatar

mx_signs

New Zenner

Join Date:
Jan 2011
Location:
Southampton, UK
Posts:
11
Plugin Contributions:
0

How do i display the price like this?

Please can someone help, I'm Stuck!

Can you please tell me what to use in my template to display the product price

$products_price doesn't seem to work

I'm trying to display my prices like this:
12 x Panasonic AA batteries 4 batteries per card £0.46 £5.52

i've got most of it right but can't get it to calculate the end price (the £5.52) it just displays £0 so i'm obviously doing something wrong.

This is what i am using to calculate it

<?php $sum_total = $products_quantity_order_min * $products_price ; echo ($sum_total); ?>

Can someone please tell me where i am going wrong.

Thanks
Ryan

13 Jan 2011, 5:16 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: How do i display the price like this?

Have you considered using attributes to do this? https://www.zen-cart.com/tutorials/index.php?article=57

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

17 Jan 2011, 12:34 PM
#3
mx_signs avatar

mx_signs

New Zenner

Join Date:
Jan 2011
Location:
Southampton, UK
Posts:
11
Plugin Contributions:
0

Re: How do i display the price like this?

Thanks, I have looked at this but it doesn't seem that it is possible to achieve through using the attributes.
If you think it is please can you explain how.

Thanks again
Ryan