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

#   Minimum quantity per order

##

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

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 11 months ago [\#222099](#222099) by [co88agency](/forum/user/38799-co88agency "View co88agency's Profile")  *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222099 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")* was created by *[co88agency](/forum/user/38799-co88agency "View co88agency's Profile")*

-- HikaShop version -- : 2.6.0 Business
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5.29

Hi, is possible to show written "minimum quantity per order" in every product characteristic?
Thanks and best regards,
Loredana

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODA3MjYtbWluaW11bS1xdWFudGl0eS1wZXItb3JkZXI/dG1wbD1tYXJrZG93bg==) 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: 86561
- Thank you received: 14307
-
-

10 years 11 months ago [\#222105](#222105) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222105 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

Hi,

I'm sorry but I don't understand where you want to display that.
In the dropdown of the characteristics ?
Could you do a screenshot so that we can understand where you want to add that text ?

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 11 months ago [\#222168](#222168) by [co88agency](/forum/user/38799-co88agency "View co88agency's Profile")  Replied by *[co88agency](/forum/user/38799-co88agency "View co88agency's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222168 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

I'm sorry... something like in the picture...

Thanks...
Best regards,
Loredana
[ ![min-quantity.jpg](/forum/attachment/28024) ](/forum/attachment/28024 "min-quantity.jpg")

- [ ![min-quantity.jpg](/forum/attachment/28024) ](/forum/attachment/28024 "min-quantity.jpg") [ ](/forum/attachment/28024?download=1 "min-quantity.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODA3MjYtbWluaW11bS1xdWFudGl0eS1wZXItb3JkZXI/dG1wbD1tYXJrZG93bg==) 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: 86561
- Thank you received: 14307
-
-

10 years 11 months ago [\#222177](#222177) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222177 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

Hi,

So I suppose that this is the variants listing of a product page.
You can edit the file show_block_characteristic in the menu Display&gt;Views in order to add custom code there after the listing_price display block.

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 11 months ago -  10 years 11 months ago [\#222279](#222279) by [co88agency](/forum/user/38799-co88agency "View co88agency's Profile")  Replied by *[co88agency](/forum/user/38799-co88agency "View co88agency's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222279 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

I'm sorry, you don't understand me...
I want to display "Minimum quantity per order" phrase.

Best regards,
Loredana

Last edit: 10 years 11 months ago by [co88agency](/forum/user/38799-co88agency "View co88agency's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODA3MjYtbWluaW11bS1xdWFudGl0eS1wZXItb3JkZXI/dG1wbD1tYXJrZG93bg==) 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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

10 years 11 months ago [\#222280](#222280) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222280 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

Hi,

Nicolas perfectly understood the situation and his last answer is your solution.

Regards,

---

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

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 11 months ago [\#222342](#222342) by [co88agency](/forum/user/38799-co88agency "View co88agency's Profile")  Replied by *[co88agency](/forum/user/38799-co88agency "View co88agency's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222342 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

Hi,
if I edit that file "Miimum quantity per order" doesn't appear...

Regards,
Loredana

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODA3MjYtbWluaW11bS1xdWFudGl0eS1wZXItb3JkZXI/dG1wbD1tYXJrZG93bg==) 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: 86561
- Thank you received: 14307
-
-

10 years 11 months ago [\#222344](#222344) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222344 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

Hi,

How did you modify that file ? Where did you add that code ? Did you modify that file for your frontend template, not another template ?

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 11 months ago [\#222731](#222731) by [co88agency](/forum/user/38799-co88agency "View co88agency's Profile")  Replied by *[co88agency](/forum/user/38799-co88agency "View co88agency's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222731 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

Hi Nicolas,
this is my file: Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.6.0 * @author hikashop.com * @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php if(empty($this-&gt;element-&gt;characteristics)) return; ?&gt;&lt;div id="hikashop_product_characteristics" class="hikashop_product_characteristics"&gt;&lt;?php if($this-&gt;params-&gt;get('characteristic_display') != 'list') { echo $this-&gt;characteristic-&gt;displayFE($this-&gt;element, $this-&gt;params) . '&lt;/div&gt;'; return; } if(!empty($this-&gt;element-&gt;main-&gt;characteristics)) { $display = array('images'=&gt;false, 'variant_name'=&gt;false, 'product_description'=&gt;false, 'prices'=&gt;false); $main_images = ''; if(!empty($this-&gt;element-&gt;main-&gt;images)) { foreach($this-&gt;element-&gt;main-&gt;images as $image) { $main_images .= '&#124;' . $image-&gt;file_path; } } $main_prices = ''; if(!empty($this-&gt;element-&gt;main-&gt;prices)) { foreach($this-&gt;element-&gt;main-&gt;prices as $price) { $main_prices .= '&#124;' . $price-&gt;price_value . '_' . $price-&gt;price_currency_id; } } foreach($this-&gt;element-&gt;variants as $variant) { foreach($display as $k =&gt; $v) { if(isset($variant-&gt;$k) &amp;&amp; !is_array($variant-&gt;$k) &amp;&amp; !empty($variant-&gt;$k)) $display[$k] = true; } $variant_images = ''; if(!empty($this-&gt;element-&gt;main-&gt;images) &amp;&amp; !empty($variant-&gt;images)) { foreach($variant-&gt;images as $image) { $variant_images .= '&#124;' . $image-&gt;file_path; } } if($variant_images != $main_images) $display['images'] = true; $variant_prices = ''; if(!empty($variant-&gt;prices)) { foreach($variant-&gt;prices as $price) { $variant_prices .= '&#124;' . $price-&gt;price_value . '_' . $price-&gt;price_currency_id; } } if($variant_prices!=$main_prices) $display['prices'] = true; } $columns=0; if((int)$this-&gt;config-&gt;get('show_quantity_field') &gt;= 2) { ?&gt; &lt;form action="&lt;?php echo hikashop_completeLink('product&amp;task=updatecart'); ?&gt;" method="post" name="hikashop_product_form_variants" enctype="multipart/form-data"&gt; &lt;?php } ?&gt; &lt;table class="hikashop_variants_table hikashop_products_table adminlist table table-striped table-hover" cellpadding="1"&gt; &lt;thead class="hikashop_variants_table_thead"&gt; &lt;tr class="hikashop_variants_table_thead_tr"&gt; &lt;?php if($this-&gt;config-&gt;get('thumbnail') &amp;&amp; $display['images']) { $columns++; ?&gt; &lt;th class="hikashop_product_image title hikashop_variants_table_th"&gt;&lt;?php echo JText::_( 'HIKA_IMAGE' ); ?&gt;&lt;/th&gt; &lt;?php } if($display['variant_name']) { $columns++; ?&gt; &lt;th class="hikashop_product_name title hikashop_variants_table_th"&gt;&lt;?php echo JText::_( 'PRODUCT' ); ?&gt;&lt;/th&gt; &lt;?php } if($this-&gt;config-&gt;get('show_code')) { $columns++; ?&gt; &lt;th class="hikashop_product_code_title hikashop_variants_table_th"&gt;&lt;?php echo JText::_( 'PRODUCT_CODE' ); ?&gt;&lt;/th&gt; &lt;?php } foreach($this-&gt;element-&gt;main-&gt;characteristics as $characteristic) { $columns++; ?&gt; &lt;th class="hikashop_product_characteristic hikashop_product_characteristic_&lt;?php echo $characteristic-&gt;characteristic_id; ?&gt; title hikashop_variants_table_th"&gt;&lt;/th&gt; &lt;?php } if($display['product_description']) { $columns++; ?&gt; &lt;th class="hikashop_product_description title hikashop_variants_table_th"&gt;&lt;?php echo JText::_( 'HIKA_DESCRIPTION' ); ?&gt;&lt;/th&gt; &lt;?php } if($this-&gt;params-&gt;get('show_price','-1') == '-1') { $this-&gt;params-&gt;set('show_price', $this-&gt;config-&gt;get('show_price')); } if($this-&gt;params-&gt;get('show_price') &amp;&amp; $display['prices']) { $columns++; ?&gt; &lt;th class="hikashop_product_price title hikashop_variants_table_th"&gt;&lt;?php echo JText::_('PRICE'); ?&gt;&lt;/th&gt; &lt;?php } if(!$this-&gt;params-&gt;get('catalogue')){ $columns++; ?&gt; &lt;th class="hikashop_product_add_to_cart title hikashop_variants_table_th"&gt;&lt;?php echo JText::_('QUANTITY_LAYOUT'); ?&gt; &lt;/th&gt; &lt;?php } ?&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody class="hikashop_variants_table_tbody"&gt; &lt;?php $productClass = hikashop_get('class.product'); $productClass-&gt;generateVariantData($this-&gt;element); foreach($this-&gt;element-&gt;variants as $variant) { if(isset($variant-&gt;map)) continue; if(!$this-&gt;config-&gt;get('show_out_of_stock', 1) &amp;&amp; $variant-&gt;product_quantity == 0) continue; if(!$variant-&gt;product_published) continue; $this-&gt;row =&amp; $variant; ?&gt; &lt;tr id="hikashop_variant_row_&lt;?php echo $variant-&gt;product_id; ?&gt;" class="hikashop_variant_row hikashop_variants_table_tbody_tr"&gt; &lt;?php if($this-&gt;config-&gt;get('thumbnail') &amp;&amp; $display['images']){ ?&gt; &lt;td class="hikashop_product_image_row hikashop_variants_table_td" data-label="&lt;?php echo JText::_( 'HIKA_IMAGE' ); ?&gt;"&gt; &lt;?php if (!empty ($variant-&gt;images)) { $image = reset($variant-&gt;images); $width = $this-&gt;config-&gt;get('thumbnail_x'); $height = $this-&gt;config-&gt;get('thumbnail_y'); $this-&gt;image-&gt;checkSize($width,$height,$image); foreach($variant-&gt;images as $image) { ?&gt; &lt;div class="hikashop_variants_table_image_thumb"&gt;&lt;?php echo $this-&gt;image-&gt;display($image-&gt;file_path, true, $image-&gt;file_name, 'style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"', '', $width, $height); ?&gt;&lt;/div&gt; &lt;?php } } ?&gt; &lt;/td&gt; &lt;?php } if($display['variant_name']){ ?&gt; &lt;td class="hikashop_product_name_row hikashop_variants_table_td" data-label="&lt;?php echo JText::_( 'PRODUCT' ); ?&gt;"&gt; &lt;?php echo $variant-&gt;variant_name; ?&gt; &lt;/td&gt; &lt;?php } if ($this-&gt;config-&gt;get('show_code')) { ?&gt; &lt;td class="hikashop_product_code_row hikashop_variants_table_td" data-label="&lt;?php echo JText::_( 'PRODUCT_CODE' ); ?&gt;"&gt;&lt;?php echo $variant-&gt;product_code; ?&gt;&lt;/td&gt; &lt;?php } foreach($this-&gt;element-&gt;main-&gt;characteristics as $characteristic) { ?&gt; &lt;td class="hikashop_product_characteristic_row hikashop_product_characteristic_&lt;?php echo $characteristic-&gt;characteristic_id; ?&gt;_row hikashop_variants_table_td" data-label="&lt;?php echo $characteristic-&gt;characteristic_value; ?&gt;"&gt; &lt;?php if(!empty($characteristic-&gt;values)) { foreach($characteristic-&gt;values as $k =&gt; $value) { foreach($variant-&gt;characteristics as $variantCharacteristic) { if($variantCharacteristic-&gt;characteristic_id == $value-&gt;characteristic_id) { echo $variantCharacteristic-&gt;characteristic_value; break 2; } } } } ?&gt; &lt;/td&gt; &lt;?php } if($display['product_description']) { ?&gt; &lt;td class="hikashop_product_description_row hikashop_variants_table_td" data-label="&lt;?php echo JText::_( 'HIKA_DESCRIPTION' ); ?&gt;"&gt;&lt;?php echo JHTML::_('content.prepare', preg_replace('#&lt;hr *id="system-readmore" */&gt;#i', '', $variant-&gt;product_description)); ?&gt;&lt;/td&gt; &lt;?php } if($this-&gt;params-&gt;get('show_price') &amp;&amp; $display['prices']){ ?&gt; &lt;td class="hikashop_product_price_row hikashop_variants_table_td" data-label="&lt;?php echo JText::_( 'PRICE' ); ?&gt;"&gt; &lt;?php $this-&gt;params-&gt;set('from_module',1); $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); $this-&gt;params-&gt;set('from_module',0); ?&gt; &lt;/td&gt; &lt;?php } if(!$this-&gt;params-&gt;get('catalogue')) { ?&gt; &lt;td class="hikashop_product_add_to_cart_row hikashop_variants_table_td"&gt; &lt;?php if ($this-&gt;config-&gt;get('show_quantity_field') &lt; 2) { ?&gt; &lt;form action="&lt;?php echo hikashop_completeLink('product&amp;task=updatecart'); ?&gt;" method="post" name="hikashop_product_form_&lt;?php echo $this-&gt;row-&gt;product_id.'_'.$this-&gt;params-&gt;get('main_div_name'); ?&gt;" enctype="multipart/form-data"&gt; &lt;?php $this-&gt;formName = 'hikashop_product_form_'.$this-&gt;row-&gt;product_id.'_'.$this-&gt;params-&gt;get('main_div_name'); $this-&gt;ajax = 'return hikashopModifyQuantity(\'' . $this-&gt;row-&gt;product_id . '\',field,\'' . $this-&gt;formName . '\',\'cart\');'; $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); if($this-&gt;config-&gt;get('redirect_url_after_add_cart','stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } ?&gt; &lt;input type="hidden" name="hikashop_cart_type_&lt;?php echo $this-&gt;row-&gt;product_id.'_0'; ?&gt;" id="hikashop_cart_type_&lt;?php echo $this-&gt;row-&gt;product_id.'_0'; ?&gt;" value="cart"/&gt; &lt;input type="hidden" name="product_id" value="&lt;?php echo $this-&gt;row-&gt;product_id; ?&gt;" /&gt; &lt;input type="hidden" name="module_id" value="0" /&gt; &lt;input type="hidden" name="add" value="1"/&gt; &lt;input type="hidden" name="ctrl" value="product"/&gt; &lt;input type="hidden" name="task" value="updatecart"/&gt; &lt;input type="hidden" name="return_url" value="&lt;?php echo urlencode(base64_encode(urldecode($this-&gt;redirect_url))); ?&gt;"/&gt; &lt;/form&gt; &lt;?php } else { if($this-&gt;row-&gt;product_quantity == -1 &#124;&#124; $this-&gt;row-&gt;product_quantity &gt; 0) { if(JRequest::getVar('quantitylayout', 'show_default') != 'show_select') { ?&gt; &lt;input id="hikashop_listing_quantity_&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;" type="text" style="width:40px;" name="data[&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;]" class="hikashop_listing_quantity_field" value="0" /&gt; &lt;?php } else { if((int)$this-&gt;row-&gt;product_min_per_order &lt;= 0) $this-&gt;row-&gt;product_min_per_order = 1; $min_quantity = (int)$this-&gt;row-&gt;product_min_per_order; if((int)$this-&gt;row-&gt;product_max_per_order == 0) $max_quantity = $min_quantity * 15; ?&gt; &lt;select id="hikashop_listing_quantity_select_&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;" class="tochosen" onchange="var qty_field = document.getElementById('hikashop_listing_quantity_&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;'); qty_field.value = this.value;"&gt; &lt;?php echo '&lt;option value="0" selected="selected"&gt;0&lt;/option&gt;'; for($j = $min_quantity; $j &lt;= $max_quantity; $j += $min_quantity) { echo '&lt;option value="'.$j.'"&gt;'.$j.'&lt;/option&gt;'; } ?&gt; &lt;/select&gt; &lt;input id="hikashop_listing_quantity_&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;" type="hidden" name="data[&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;]" value="0" /&gt; &lt;?php } } else { echo JText::_('NO_STOCK'); } } ?&gt; &lt;/td&gt; &lt;?php } ?&gt; &lt;/tr&gt; &lt;?php } ?&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;?php if($this-&gt;config-&gt;get('show_quantity_field') &gt;= 2) { $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form_variants\')){ return hikashopModifyQuantity(\'\',field,1,\'hikashop_product_form_variants\'); } return false;'; $this-&gt;row = new stdClass(); $this-&gt;row-&gt;prices = array($this-&gt;row); $this-&gt;row-&gt;product_quantity = -1; $this-&gt;row-&gt;product_min_per_order = 0; $this-&gt;row-&gt;product_max_per_order = -1; $this-&gt;row-&gt;product_sale_start = 0; $this-&gt;row-&gt;product_sale_end = 0; $this-&gt;row-&gt;prices = array('filler'); $this-&gt;params-&gt;set('show_quantity_field', 2); $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); if(!empty($this-&gt;ajax) &amp;&amp; $this-&gt;config-&gt;get('redirect_url_after_add_cart','stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } ?&gt; &lt;input type="hidden" name="hikashop_cart_type_0" id="hikashop_cart_type_0" value="cart"/&gt; &lt;input type="hidden" name="add" value="1"/&gt; &lt;input type="hidden" name="ctrl" value="product"/&gt; &lt;input type="hidden" name="task" value="updatecart"/&gt; &lt;input type="hidden" name="return_url" value="&lt;?php echo urlencode(base64_encode(urldecode($this-&gt;redirect_url)));?&gt;"/&gt; &lt;/form&gt; &lt;?php } } ?&gt;&lt;/div&gt;

where I add that code?

Thanks and best regards,
Loredana

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODA3MjYtbWluaW11bS1xdWFudGl0eS1wZXItb3JkZXI/dG1wbD1tYXJrZG93bg==) 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: 86561
- Thank you received: 14307
-
-

10 years 11 months ago [\#222830](#222830) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222830 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

Hi,

You can add it after the code: Code:

&lt;?php $this-&gt;params-&gt;set('from_module',1); $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); $this-&gt;params-&gt;set('from_module',0); ?&gt;

The following user(s) said Thank You: [co88agency](/forum/user/38799-co88agency "View co88agency's Profile")

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 11 months ago -  10 years 11 months ago [\#222885](#222885) by [co88agency](/forum/user/38799-co88agency "View co88agency's Profile")  Replied by *[co88agency](/forum/user/38799-co88agency "View co88agency's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222885 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

I'm sorry... I don't understand...
Can you write me what code I have to add?
(Before I added only "Minimum quantity...")

Thank you and best regards,
Loredana

Last edit: 10 years 11 months ago by [co88agency](/forum/user/38799-co88agency "View co88agency's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODA3MjYtbWluaW11bS1xdWFudGl0eS1wZXItb3JkZXI/dG1wbD1tYXJrZG93bg==) 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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

10 years 11 months ago [\#222888](#222888) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222888 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

Hi,

Nicolas gave you the place where you need to put your custom content ; as you asked.

> where I add that code?

Regards,

---

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

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 11 months ago [\#222940](#222940) by [co88agency](/forum/user/38799-co88agency "View co88agency's Profile")  Replied by *[co88agency](/forum/user/38799-co88agency "View co88agency's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222940 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

I'm sorry...
I asked you

> Can you write me what code I have to add?
> (Before I added only "Minimum quantity...")

Regards,
Loredana

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODA3MjYtbWluaW11bS1xdWFudGl0eS1wZXItb3JkZXI/dG1wbD1tYXJrZG93bg==) 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: 86561
- Thank you received: 14307
-
-

10 years 11 months ago [\#222943](#222943) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#222943 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

It depends what you want to display.
If you just want to display the text "minimum quantity per order:50" then just write that text after that piece of code and it will display it.

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 10 months ago [\#226135](#226135) by [co88agency](/forum/user/38799-co88agency "View co88agency's Profile")  Replied by *[co88agency](/forum/user/38799-co88agency "View co88agency's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#226135 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

Hi!
I'm still here... I have different quantity per different variant... so... I need to write php code:
I write this but it doesn't work...:
Code:

&lt;?php $this-&gt;params-&gt;set('from_module',1); $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); $this-&gt;params-&gt;set('from_module',0); ?&gt; Minimum quantity per order: &lt;?php echo $this-&gt;element-&gt;product_min_per_order ?&gt; &lt;/td&gt;

Can you help me? Thanks...
Best regards,
Loredana

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODA3MjYtbWluaW11bS1xdWFudGl0eS1wZXItb3JkZXI/dG1wbD1tYXJrZG93bg==) 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)
-

10 years 10 months ago [\#226313](#226313) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#226313 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

Hi,

To display the value of the variants, you need to use that code instead: Code:

Minimum quantity per order: &lt;?php echo @$variant-&gt;product_min_per_order ?&gt;

The following user(s) said Thank You: [co88agency](/forum/user/38799-co88agency "View co88agency's Profile")

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 10 months ago [\#226338](#226338) by [co88agency](/forum/user/38799-co88agency "View co88agency's Profile")  Replied by *[co88agency](/forum/user/38799-co88agency "View co88agency's Profile")* on topic *[Minimum quantity per order](/forum/26-product-category-display/880726-minimum-quantity-per-order#226338 "-- HikaShop version -- : 2.6.0 Business -- Joomla version -- : 3.4.5 -- PHP version -- : 5.5.29  Hi, is possible to show written &quot;minimum quantity per order&quot; in every product characteristic? Thanks and best regards, Loredana")*

Perfect! Now it's all ok, thank you!
Best regards,
Loredana

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

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