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

#   The addition of the quantity of goods to the product of the categ. does not work

##

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

Less More

- Posts: 11
- Thank you received: 0
-
-

8 years 4 months ago [\#294710](#294710) by [SergeyS](/forum/user/57170-sergeys "View SergeyS's Profile")  *[The addition of the quantity of goods to the product of the categ. does not work](/forum/27-checkout/895135-the-addition-of-the-quantity-of-goods-to-the-product-of-the-categ-does-not-work#294710 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.8 -- PHP version -- : 5.6  Hi,  Please help me  The addition of the quantity of goods to the product of the category does not work. On the product page it works.  Thank you")* was created by *[SergeyS](/forum/user/57170-sergeys "View SergeyS's Profile")*

-- HikaShop version -- : 3.4
-- Joomla version -- : 3.8.8
-- PHP version -- : 5.6

Hi,

Please help me

The addition of the quantity of goods to the product of the category does not work.
On the product page it works.

[ ![&#91;img  ](https://content.screencast.com/users/LineProsperity/folders/Jing/media/edddfea3-292f-41f7-aadb-563ece731179/2018-06-30_0537.png) ](https://content.screencast.com/users/LineProsperity/folders/Jing/media/edddfea3-292f-41f7-aadb-563ece731179/2018-06-30_0537.png "&#91;img  ")

[ ![&#91;img  ](https://content.screencast.com/users/LineProsperity/folders/Jing/media/4628187a-27c7-493b-b266-08a741ab3a9b/2018-06-30_0513.png) ](https://content.screencast.com/users/LineProsperity/folders/Jing/media/4628187a-27c7-493b-b266-08a741ab3a9b/2018-06-30_0513.png "&#91;img  ")

Thank you

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 4 months ago [\#294715](#294715) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[The addition of the quantity of goods to the product of the categ. does not work](/forum/27-checkout/895135-the-addition-of-the-quantity-of-goods-to-the-product-of-the-categ-does-not-work#294715 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.8 -- PHP version -- : 5.6  Hi,  Please help me  The addition of the quantity of goods to the product of the category does not work. On the product page it works.  Thank you")*

Hello,

Without a link to your two pages I'm sorry but we won't be able to understand the issue and help you.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

8 years 4 months ago [\#294721](#294721) by [SergeyS](/forum/user/57170-sergeys "View SergeyS's Profile")  Replied by *[SergeyS](/forum/user/57170-sergeys "View SergeyS's Profile")* on topic *[The addition of the quantity of goods to the product of the categ. does not work](/forum/27-checkout/895135-the-addition-of-the-quantity-of-goods-to-the-product-of-the-categ-does-not-work#294721 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.8 -- PHP version -- : 5.6  Hi,  Please help me  The addition of the quantity of goods to the product of the category does not work. On the product page it works.  Thank you")*

> Jerome wrote: Hello,
>
> Without a link to your two pages I'm sorry but we won't be able to understand the issue and help you.
>
> Regards,

here are links to pages:
[ vh59818.eurodir.ru/magnagr/zapchasti-dlya-spetstekhniki-katalog](http://vh59818.eurodir.ru/magnagr/zapchasti-dlya-spetstekhniki-katalog)
[ vh59818.eurodir.ru/magnagr/zapchasti-dly...0-upornyj-podshipnik](http://vh59818.eurodir.ru/magnagr/zapchasti-dlya-spetstekhniki-katalog/product/40-upornyj-podshipnik)

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 4 months ago [\#294731](#294731) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[The addition of the quantity of goods to the product of the categ. does not work](/forum/27-checkout/895135-the-addition-of-the-quantity-of-goods-to-the-product-of-the-categ-does-not-work#294731 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.8 -- PHP version -- : 5.6  Hi,  Please help me  The addition of the quantity of goods to the product of the category does not work. On the product page it works.  Thank you")*

Hello,

It looks like you have a view override for "product / quantity" or "product / show_quantity" with a JS error.
HikaShop 3 do not use anymore the function "hikashopCheckQuantityChange" and in your case, the "min" and "max" parameter are not defined while they should be "0".
In the legacy cart system, we already have a patch to force these two parameters as integer if they are empty but in your website, that fixed error is still there.
So it means that you have an override for a old view, or a custom plugin with the error. But that issue is no more possible in HikaShop 3 and the new "add to cart" system.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [SergeyS](/forum/user/57170-sergeys "View SergeyS's Profile")

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

8 years 4 months ago -  8 years 4 months ago [\#294779](#294779) by [SergeyS](/forum/user/57170-sergeys "View SergeyS's Profile")  Replied by *[SergeyS](/forum/user/57170-sergeys "View SergeyS's Profile")* on topic *[The addition of the quantity of goods to the product of the categ. does not work](/forum/27-checkout/895135-the-addition-of-the-quantity-of-goods-to-the-product-of-the-categ-does-not-work#294779 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.8 -- PHP version -- : 5.6  Hi,  Please help me  The addition of the quantity of goods to the product of the category does not work. On the product page it works.  Thank you")*

Hi,

Yes, you are right, in the quiststart template there is a view override.
I changed the files, now everything works.

You helped me a lot. Thank you

There is another question.
I need the basket to display the weight of the goods and calculate the total weight as the total amount of the order.
There is already an override file for the cart.
What code and where should I add?

Last edit: 8 years 4 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: removing full quote of previous message. Please just use "reply".

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

8 years 4 months ago [\#294797](#294797) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The addition of the quantity of goods to the product of the categ. does not work](/forum/27-checkout/895135-the-addition-of-the-quantity-of-goods-to-the-product-of-the-categ-does-not-work#294797 "-- HikaShop version -- : 3.4 -- Joomla version -- : 3.8.8 -- PHP version -- : 5.6  Hi,  Please help me  The addition of the quantity of goods to the product of the category does not work. On the product page it works.  Thank you")*

Hi,

You'll have to have a PHP developer work on that for you.
He'll have to edit the file "cart" of the view "product" via the menu Display&gt;Views in order to calculate and display the total weight on the HikaShop cart module. And for the cart view on the checkout, it's the file "show_block_cart" of the view "checkout".
And to use the total weight as the total amount of the cart/order, it will require the development of a plugin to use the weight of each product as its price (or configure the price of the product to be the same as its weight).

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

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