VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: revaboogy on April 23, 2015, 00:04:39 AM

Title: virtuemart 3 quantity range pricing table???
Post by: revaboogy on April 23, 2015, 00:04:39 AM
Anyone know how to add a virtuemart 3 quantity range pricing table??? :o
Title: Re: virtuemart 3 quantity range pricing table???
Post by: jenkinhill on April 23, 2015, 10:57:27 AM
Ther answer is on this board, just two threads down!!   http://forum.virtuemart.net/index.php?topic=129528.0
Title: Re: virtuemart 3 quantity range pricing table???
Post by: revaboogy on April 24, 2015, 01:09:23 AM
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>