price with Tax doesn't show properly

  • Posts: 79
  • Thank you received: 3
8 years 8 months ago #253067

-- HikaShop version -- : Business: 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.5.38

Hello, I have a problem when I display my product price:
In Hikashop ->Configuration->Main->taxes I have configured to display both prices like you can see in 001conf.jpg


When I edited products in backend, Prices are correct (as you can see in 002back.jpg)

But when I see my product at frontend, only show price without tax in both cases (003front.jpg)


In addition, at listing_price.png view, if i use var_dump function in order to see prices values (var_dump($this->row->prices))
I obtain this values:
array(1) 
{ 
	[0]=> object(stdClass)#1380 (10) 
	{ 
		["price_id"]=> string(4) "4687" 
		["price_currency_id"]=> string(1) "1" 
		["price_product_id"]=> string(4) "4285"
		["price_value"]=> string(8) "14.79290"
		["price_min_quantity"]=> string(1) "0"
		["price_access"]=> string(3) "all" 
		["price_site_id"]=> string(0) "" 
	        ["price_value_with_tax"]=> string(8) "14.79290"
		["taxes_added"]=> bool(true) 
		["taxes"]=> array(0) { } 
	}
}
As you can see price_value and price_value_with_tax have identical values.
Can somebody explain me why price_value and price_value_with_tax have the same value when in backend are diferent?
And, what can I do in order to display correct values?
Thank in advice

Attachments:
Last edit: 8 years 8 months ago by pljuarez.

Please Log in or Create an account to join the conversation.

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
8 years 8 months ago #253069

Hi,

It means that you're probably logged in with a user account which has an address located outside the zone of your tax rules. So the system sees that you shouldn't pay any taxes and thus display you the prices without taxes.

Please Log in or Create an account to join the conversation.

  • Posts: 79
  • Thank you received: 3
8 years 7 months ago #253127

Hello. Thanks for your quick response.

Effectively. I have connected from another browser that have no session opened with any server and it shown prices in correct manner.

Thank you

Last edit: 8 years 7 months ago by pljuarez.

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum