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

#   Product variants with a % price of main product

##

- **[GunnarB](/forum/user/36435-gunnarb "View GunnarB's Profile")**
- [![GunnarB's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36435-gunnarb "View GunnarB's Profile") Topic Author
- [ Offline](/forum/user/36435-gunnarb)

Less More

- Posts: 21
- Thank you received: 0
-
-

11 years 8 months ago [\#195139](#195139) by [GunnarB](/forum/user/36435-gunnarb "View GunnarB's Profile")  *[Product variants with a % price of main product](/forum/32-content-creation/875747-product-variants-with-a-price-of-main-product#195139 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4 -- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$tax&#95;amount in C:&#92;xampp&#92;htdocs&#92;xxx&#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;product.php on line 1513  Just for fun I defined a product variant.  When I leave the price at 0 and define 120% instead, this error occurs when product is displayed.")* was created by *[GunnarB](/forum/user/36435-gunnarb "View GunnarB's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$tax_amount in C:\xampp\htdocs\xxx\administrator\components\com_hikashop\classes\product.php on line 1513

Just for fun I defined a product variant.

When I leave the price at 0 and define 120% instead, this error occurs when product is displayed.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 8 months ago [\#195148](#195148) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Product variants with a % price of main product](/forum/32-content-creation/875747-product-variants-with-a-price-of-main-product#195148 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4 -- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$tax&#95;amount in C:&#92;xampp&#92;htdocs&#92;xxx&#92;administrator&#92;components&#92;com&#95;hikashop&#92;classes&#92;product.php on line 1513  Just for fun I defined a product variant.  When I leave the price at 0 and define 120% instead, this error occurs when product is displayed.")*

Hi,

Thanks for the report, to correct it on your end, you can edit the file as indicated in the error and at the line 1513 add "@" before "$tax-&gt;tax_amount".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NvbnRlbnQtY3JlYXRpb24vODc1NzQ3LXByb2R1Y3QtdmFyaWFudHMtd2l0aC1hLXByaWNlLW9mLW1haW4tcHJvZHVjdD90bXBsPW1hcmtkb3du) 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.042 seconds

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