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

#   Minimal quantity of product to order

##

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

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 3 months ago [\#309473](#309473) by [Bender](/forum/user/38688-bender "View Bender's Profile")  *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#309473 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")* was created by *[Bender](/forum/user/38688-bender "View Bender's Profile")*

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.10
-- PHP version -- : 7

Hi,

How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?

For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces.
Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

7 years 3 months ago [\#309478](#309478) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#309478 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")*

Hello,

You'll probably find a solution through that thread :

> There is now a "show select price" choice for the "quantity input" setting of the products so that the dropdown can be based on the minimum quantities of your product prices.
> So enter the different unit prices (which can be the same) and their respective minimum quantities in the Prices section and the system will base itself on them to display the quantity dropdown.

[ www.hikashop.com/forum/product-category-...-listing.html#243656](https://www.hikashop.com/forum/product-category-display/868428-quantity-dropdown-on-product-listing.html#243656)

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

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

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 3 months ago [\#309513](#309513) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#309513 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")*

this theme is too dificult

is any solution like &lt;input type="number" step="step_number"&gt; there i can choose step_number in
product page backoffice ?

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

7 years 3 months ago [\#309516](#309516) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#309516 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")*

Hello,

That kind of solution will require custom development, can you give us more information about what you want and why ? So that we can properly advise you ? Thank you.

Kind regards,
Mohamed Thelji.

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

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

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 3 months ago [\#309649](#309649) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#309649 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")*

> Mohamed Thelji wrote: Hello,
>
> That kind of solution will require custom development, can you give us more information about what you want and why ? So that we can properly advise you ? Thank you.
>
> Kind regards,
> Mohamed Thelji.

I want to make sure that the basket is added immediately
the quantity of goods is a multiple of how much will be indicated in the product settings. for example, immediately 20, 50, 200, 1000 pieces, etc.
and if you set 20 pc per step only 20, 40, 60, 80 etc will be added in to basket.

This is necessary cauz some goods are sold only in packages, but from the data source information about them is stored in pieces and the price is indicated for a piece, not for a package. But a package may include more than 1 pc, for ex. 100 pcs, so it have to be
100, 200, 300 , 400 etc pcs to cart , but user (buyer) may not understand about it, i mean you cant add 102 pcs of such product into cart.

in other words, we sell some goods only in bulk, do not sell at retail.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTgwMjctbWluaW1hbC1xdWFudGl0eS1vZi1wcm9kdWN0LXRvLW9yZGVyP3RtcGw9bWFya2Rvd24=) 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: 86556
- Thank you received: 14305
-
-

7 years 3 months ago [\#309655](#309655) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#309655 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")*

Hi,

If you use "show select" in the "quantity input method" setting and enter the minimum quantity per order to 100, then the quantity input field will automatically be 100,200,300,400,etc
This should do what you need I think.

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

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

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 3 months ago [\#309677](#309677) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#309677 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")*

> nicolas wrote: Hi,
>
> If you use "show select" in the "quantity input method" setting and enter the minimum quantity per order to 100, then the quantity input field will automatically be 100,200,300,400,etc
> This should do what you need I think.

it is inconvenient, caus "show select" in the "quantity input method" change all web site view
from html5 input to select input.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTgwMjctbWluaW1hbC1xdWFudGl0eS1vZi1wcm9kdWN0LXRvLW9yZGVyP3RtcGw9bWFya2Rvd24=) 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: 86556
- Thank you received: 14305
-
-

7 years 3 months ago [\#309691](#309691) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#309691 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")*

In that case, you want to edit the file "quantity" of the view "layouts" via the menu Display&gt;Views and customize the display of the quantity input to meet your needs.

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

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

Less More

- Posts: 239
- Thank you received: 8
-
-

7 years 3 months ago [\#309753](#309753) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#309753 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")*

> nicolas wrote: In that case, you want to edit the file "quantity" of the view "layouts" via the menu Display&gt;Views and customize the display of the quantity input to meet your needs.

do you mean like i may try to make custom field and after include into quantity.php like if this custom field is like i need
show input with step ?

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

7 years 3 months ago [\#309765](#309765) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#309765 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")*

Hello,

I'm sorry but I didn't fully understand what you meant through your last message.
Nicolas only advised your to edit the code of the "quantity" file of the "layouts" view of your front-end template, through the page "Hikashop-&gt;Display-&gt;Views", so that you could change the displaying of the dropdown according to your needs.

Editing these line will do the job : Code:

case 'show_select': if(empty($max_quantity)) $max_quantity = (int)$min_quantity * 15; ?&gt; &lt;div class="hikashop_product_quantity_div hikashop_product_quantity_input_div_select"&gt;&lt;?php $r = range($min_quantity, $max_quantity, $min_quantity); if(!in_array($current_quantity, $r)) $r[] = $current_quantity; if(!in_array($max_quantity, $r)) $r[] = $max_quantity; $values = array_combine($r, $r); ksort($values); echo JHTML::_('select.genericlist', $values, '', 'style="width:auto;" class="no-chzn" onchange="var el = document.getElementById(\''.$id.'\'); el.value = this.value; el.onchange();"', 'value', 'text', $current_quantity, $id.'_select'); ?&gt; &lt;input id="&lt;?php echo $id; ?&gt;" type="hidden" value="&lt;?php echo $current_quantity; ?&gt;" class="hikashop_product_quantity_field" name="&lt;?php echo $quantity_fieldname; ?&gt;" data-hk-qty-old="&lt;?php echo $current_quantity; ?&gt;" data-hk-qty-min="&lt;?php echo $min_quantity; ?&gt;" data-hk-qty-max="&lt;?php echo $max_quantity; ?&gt;" onchange="&lt;?php echo $script; ?&gt;" &lt;?php echo $extra_data; ?&gt; /&gt; &lt;/div&gt; &lt;?php break;

We wish you a nice day !
Kind regards,
Mohamed Thelji.

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

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

Less More

- Posts: 239
- Thank you received: 8
-
-

5 years 2 months ago -  5 years 2 months ago [\#335503](#335503) by [Bender](/forum/user/38688-bender "View Bender's Profile")  Replied by *[Bender](/forum/user/38688-bender "View Bender's Profile")* on topic *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#335503 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")*

Hello there,

I custimozed some code in show_quantity.php
Code:

case 'show_html5': $html5_data = ((int)$max_quantity &gt; 0) ? 'max="'.(int)$max_quantity.'"' : ''; $step=$min_quantity; ?&gt; &lt;div class="hikashop_product_quantity_div hikashop_product_quantity_input_div_simplified"&gt; &lt;input id="&lt;?php echo $id; ?&gt;" type="number" step="&lt;?php echo $step; ?&gt;" min="&lt;?php echo $min_quantity; ?&gt;" value="&lt;?php echo $current_quantity; ?&gt;" class="hikashop_product_quantity_field" name="&lt;?php echo $name; ?&gt;" data-hk-qty-min="&lt;?php echo $min_quantity; ?&gt;" data-hk-qty-max="&lt;?php echo $max_quantity; ?&gt;" onchange="window.hikashop.checkQuantity(this);" /&gt; &lt;/div&gt;

Where to find window.hikashop.checkQuantity(this) function ? Now i need to make feature = if user adds to basket quantity thru manual , popup message have to display text = Warning the quantity must be a multiple of the minimum quantity !

Like then user try to add quantity more than it on stock popup message

Thanx

Last edit: 5 years 2 months ago by [Bender](/forum/user/38688-bender "View Bender's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTgwMjctbWluaW1hbC1xdWFudGl0eS1vZi1wcm9kdWN0LXRvLW9yZGVyP3RtcGw9bWFya2Rvd24=) 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: 86556
- Thank you received: 14305
-
-

5 years 2 months ago [\#335508](#335508) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Minimal quantity of product to order](/forum/26-product-category-display/898027-minimal-quantity-of-product-to-order#335508 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.10 -- PHP version -- : 7  Hi,  How to enable the setting to add products to the cart not by one thing, but by how much you install in the product?  For example, it has product, the price is indicated per piece, while it is sold in packages of only 100 pieces. Moreover, if people add this product to the basket, they will add 100, 200, 300, and so on.")*

Hi,

The checkQuantity function is located in the file media/com_hikashop/js/hikashop.js
Note however that you don't need to modify the code of that function in that file.
First, you could copy / paste the code of that function in the view file like this: Code:

&lt;script&gt; window.hikashop.checkQuantity = function (el) { .... code .... } &lt;/script&gt;

That way, it would override the default function we have in HikaShop and thus you wouldn't loose your modifications to it when you update.

Another solution is to register the event quantity.checked: Code:

&lt;script&gt; window.Oby.registerAjax(["quantity.checked"],function(params){ console.log(params.el); } &lt;/script&gt;

As you can see in the default checkQuantity function, the code to display the notification popup is: Code:

if(hkjQuery.notify) { this.translate(['QUANTITY_CHANGE_IMPOSSIBLE', 'MINIMUM_FOR_PRODUCT_IS_X'], function(trans){ hkjQuery(el).notify({title:trans[0],text:trans[1].replace('%s', min), image:'&lt;i class="fa fa-3x fa-exclamation-circle"&gt;&lt;/i&gt;'},{style:"metro",className:"warning",arrowShow:true}); }); }

You just need to check the key MINIMUM_FOR_PRODUCT_IS_X to a custom translation key of yours

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

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