[Skip to main content](#vessel-content)

#   Notice: Undefined variable: price\_with\_tax

##

- **[likandev](/forum/user/9788-likandev "View likandev's Profile")**
- [![likandev's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9788.png)](/forum/user/9788-likandev "View likandev's Profile") Topic Author
- [ Offline](/forum/user/9788-likandev)

Less More

- Posts: 69
- Thank you received: 11
-
- [](http://likandevelopment.com)
-

14 years 1 week ago [\#74081](#74081) by [likandev](/forum/user/9788-likandev "View likandev's Profile")  *[Notice: Undefined variable: price\_with\_tax](/forum/3-bug-report/74081-notice-undefined-variable-price-with-tax#74081 "Notice: Undefined variable: price&#95;with&#95;tax in ../components/com&#95;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. --&gt; 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")* was created by *[likandev](/forum/user/9788-likandev "View likandev's Profile")*

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

[ screencast.com/t/OnbO12Uz](http://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](http://screencast.com/t/cMujR1q3)

Temporarily Resolution: Initialize the var in 0. **--&gt; 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](http://screencast.com/t/FjZOM9nt)

---

Eduardo Chongkan - Likan Development
[ ](http://likandevelopment.com)[ likandevelopment.com](http://likandevelopment.com)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NDA4MS1ub3RpY2UtdW5kZWZpbmVkLXZhcmlhYmxlLXByaWNlLXdpdGgtdGF4P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 1 week ago [\#74149](#74149) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Notice: Undefined variable: price\_with\_tax](/forum/3-bug-report/74081-notice-undefined-variable-price-with-tax#74149 "Notice: Undefined variable: price&#95;with&#95;tax in ../components/com&#95;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. --&gt; 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")*

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 ![:)](/media/kunena/emoticons/3.png ":)").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NDA4MS1ub3RpY2UtdW5kZWZpbmVkLXZhcmlhYmxlLXByaWNlLXdpdGgtdGF4P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[likandev](/forum/user/9788-likandev "View likandev's Profile")**
- [![likandev's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9788.png)](/forum/user/9788-likandev "View likandev's Profile") Topic Author
- [ Offline](/forum/user/9788-likandev)

Less More

- Posts: 69
- Thank you received: 11
-
- [](http://likandevelopment.com)
-

14 years 1 week ago -  14 years 1 week ago [\#74160](#74160) by [likandev](/forum/user/9788-likandev "View likandev's Profile")  Replied by *[likandev](/forum/user/9788-likandev "View likandev's Profile")* on topic *[Re: Notice: Undefined variable: price\_with\_tax](/forum/3-bug-report/74081-notice-undefined-variable-price-with-tax#74160 "Notice: Undefined variable: price&#95;with&#95;tax in ../components/com&#95;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. --&gt; 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")*

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)[ likandevelopment.com](http://likandevelopment.com)

Last edit: 14 years 1 week ago by [likandev](/forum/user/9788-likandev "View likandev's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NDA4MS1ub3RpY2UtdW5kZWZpbmVkLXZhcmlhYmxlLXByaWNlLXdpdGgtdGF4P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 1 week ago [\#74165](#74165) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Notice: Undefined variable: price\_with\_tax](/forum/3-bug-report/74081-notice-undefined-variable-price-with-tax#74165 "Notice: Undefined variable: price&#95;with&#95;tax in ../components/com&#95;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. --&gt; 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")*

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 ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83NDA4MS1ub3RpY2UtdW5kZWZpbmVkLXZhcmlhYmxlLXByaWNlLXdpdGgtdGF4P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.071 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
