Notice: Undefined variable: price_with_tax

  • Posts: 69
  • Thank you received: 11
11 years 5 months ago #74081

Notice: Undefined variable: price_with_tax in ../components/com_hikashop/views/cart/view.html.php on line 340

screencast.com/t/OnbO12Uz

If I go the file in question, I see the var is used in 3 lines, being 340 the first of them.

screencast.com/t/cMujR1q3

Temporarily Resolution: Initialize the var in 0. --> Should this be 0??? Or is it supposed to be initialized somewhere else?

If I Initialize it to 0, the Notice goes away.

screencast.com/t/FjZOM9nt


Eduardo Chongkan - Likan Development
http://likandevelopment.com

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

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #74149

Hi there,

It's quite a strange bug you have there... Are you using the last Hikashop version?
The code you showed looks a little bit different that what we have, an update may solve the issue :).

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

  • Posts: 69
  • Thank you received: 11
11 years 5 months ago #74160

Hi,

I'm using the latest business version, I updated last week. The problem is solved, my question is if the var should be in 0 or if it should expect a value from somewhere else.

Regards,


Eduardo Chongkan - Likan Development
http://likandevelopment.com
Last edit: 11 years 5 months ago by likandev.

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

  • Posts: 2334
  • Thank you received: 403
11 years 5 months ago #74165

Hi,

My bad, actually the fix you did is already included in our new file so that's why I didn't spotted the thing.
So it's ok, the edit you made is perfect and shouldn't affect Hikashop processing :)

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

Time to create page: 0.069 seconds
Powered by Kunena Forum