Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Product price with Tax
(1 viewing) (1) Guest
Q&A about usage, Report bugs,...
  • Page:
  • 1

TOPIC: Product price with Tax

Product price with Tax 9 years, 2 months ago #23442

Hi,

I have updated as follows (from a previous forum):

Please go to the file: /modules/mod_sj_hk_minicart_pro/mod_sj_hk_minicart_pro.php and find:
$_price .= $currencyHelper->format($price->price_value,$price->price_currency_id);
=> Edit to:
$_price .= $currencyHelper->format($price->price_value_with_tax,$price->price_currency_id);

and this worked for the TOTAL price but the individual Product price still shows as the pre-tax amount. How do I change that to show the total Product price inc tax ?

Re: Product price with Tax 9 years, 2 months ago #23464

anyone (online support??) able to answer this?

Re: Product price with Tax 9 years, 2 months ago #23505

Does no-one read this forum and help???

Re: Product price with Tax 9 years, 1 month ago #23621

You also have to change
/modules/mod_sj_hk_minicart_pro/core/helper.php line 406 (in function _processPrice)
	private static function _processPrice($item){
		$_price = '';
		$currencyHelper = hikashop_get('class.currency');
		$config = hikashop_config();
		if(empty($item->prices)){
			$_price .=  JText::_('FREE_PRICE');
		}else{
			foreach($item->prices as $price){
			/*** CHANGE THIS VARIABLE $_price BELLOW (line 406) ***/
				$_price .=  $currencyHelper->format($price->price_value,$price->price_currency_id);
			}
		}
		return $_price;
	}
  • Page:
  • 1
Time to create page: 0.20 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes