I've altered product listing_img_title to display the price on the product listing page. No problem with that, except that the products that have two prices (eg Prime Rib Sliders: 3.25 for one/14.95 for six) are showing the wrong way round, with the price for 6 first. I want it to show price for one followed by price for six.
I've tried altering product listing_price - namely this section here:
echo '</span> ';
if(isset($price->price_min_quantity) && empty($this->cart_product_price) && $this->params->get('per_unit',1)){
if($price->price_min_quantity>1){
echo JText::sprintf('PER_UNIT_AT_LEAST_X_BOUGHT',$price->price_min_quantity);
}else{
echo JText::_('PER_UNIT');
}
}
But my knowledge of PHP is not good enough to know what I should be doing here. I'm sure it must be incredibly simple - could you point me in the right direction?
Thanks, Jen