Fail in price view
10 years 4 months ago - 10 years 4 months ago #241592
by Nowweb
Best regards
Brian
Fail in price view was created by Nowweb
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6.19
When i set Min Qty in Price and taxes to 6.
When i can not se the price in the product overview
And it do not sho up on the invoice
It works fine if i set the value to 1.
What can i do about that?
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6.19
When i set Min Qty in Price and taxes to 6.
When i can not se the price in the product overview
And it do not sho up on the invoice
It works fine if i set the value to 1.
What can i do about that?
Best regards
Brian
Last edit: 10 years 4 months ago by Nowweb.
Please Log in or Create an account to join the conversation.
10 years 4 months ago #241595
by nicolas
Replied by nicolas on topic Fail in price view
Hi,
On the products listing of the backend that's normal. The price displayed there is only the unit price in order to avoid having too many prices displayed.
Add the code:
before the line:
in the file administrator/components/com_hikashop/classes/currency.php and that will display the prices with min quantity on the products listing.
I've checked on my end but it displays fine on the invoice. So I'm not sure what you're talking about.
On the products listing of the backend that's normal. The price displayed there is only the unit price in order to avoid having too many prices displayed.
Add the code:
Code:
if(!count($p)){
foreach($prices as $price) {
$p[] = $this->format($price->$value_field, $price->$currency_id_field).JText::sprintf('PER_UNIT_AT_LEAST_X_BOUGHT',$price->price_min_quantity);
}
}
Code:
return implode(' / ', $p);
I've checked on my end but it displays fine on the invoice. So I'm not sure what you're talking about.
Please Log in or Create an account to join the conversation.
Time to create page: 0.151 seconds