News:

Looking for documentation? Take a look on our wiki

Main Menu

virtuemart 3 quantity range pricing table???

Started by revaboogy, April 23, 2015, 00:04:39 AM

Previous topic - Next topic

revaboogy

Anyone know how to add a virtuemart 3 quantity range pricing table??? :o

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

revaboogy

Fantastic.

In Category I used:

<div class="price-table">
        <?php foreach ($product->allPrices as $key => $price) {
  echo $price["price_quantity_start"]." + <strong>£".$price["product_price"],$currency->_priceConfig['salesPrice'][1]."</strong><br/>";
}


?>
</div>


In product description I used:

<div class="price-table">
       
        <?php foreach ($this->product->allPrices as $key => $price) {
  echo $price["price_quantity_start"]." + <strong>£".$price["product_price"],$currency->_priceConfig['salesPrice'][1]."</strong><br/>";
}


?>
</div>