Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a unit price (price / quantity)


kaistudio

Recommended Posts

I just added the new Package Qty (PKGqty) to my products.

http://www.allfashiondirect.com/

I need to get it calculate the Unit price

I have set the quantity for each item assigned to PKGqty

 

So if cost of item is 12 per dozen, then

Unit price will show $1.00

 

Can any php pro help me

I know is something line I have to add in here.

new_products.php

 

' . $new_products['products_price / PKGqty'] . '</span><br><span class="productlisting_aslowastext">Package Price (' . $new_products['PKGqty'] . ' PCS) </span><span class="productlisting_aslowas">' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) .'<span><br><br>');

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...