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

#   QTY Step

##

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

Less More

- Posts: 4
- Thank you received: 0
-
-

3 years 3 months ago [\#354202](#354202) by [zieasoft](/forum/user/68679-zieasoft "View zieasoft's Profile")  *[QTY Step](/forum/26-product-category-display/906848-qty-step#354202 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.3 -- PHP version -- : 8.1  I have a quantity increase and decrease buttons on my product pages.  These however, increase or decrease by 1, I would like to change it to 5. How can this be done please?")* was created by *[zieasoft](/forum/user/68679-zieasoft "View zieasoft's Profile")*

-- HikaShop version -- : 4.7.5
-- Joomla version -- : 4.3.3
-- PHP version -- : 8.1

I have a quantity increase and decrease buttons on my product pages.

These however, increase or decrease by 1, I would like to change it to 5. How can this be done please?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDY4NDgtcXR5LXN0ZXA/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: 86593
- Thank you received: 14334
-
-

3 years 3 months ago [\#354205](#354205) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[QTY Step](/forum/26-product-category-display/906848-qty-step#354205 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.3 -- PHP version -- : 8.1  I have a quantity increase and decrease buttons on my product pages.  These however, increase or decrease by 1, I would like to change it to 5. How can this be done please?")*

Hi,

Edit the view files product / show_quantity and layouts / quantity via the menu Display&gt;Views
There, you'll find the pieces of code: Code:

data-hk-qty-mod="1"

and: Code:

data-hk-qty-mod="-1"

which respectively define the increment and decrement steps.
Change them to use 5 and -5 and it should work like you want.

Alternatively, and without any view customization, you can set the minimum quantity per order to 5 in your product, and set its "quantity input" setting to "show select". This will display a dropdown with the values 5, 10, 15, 20 etc automatically for the quantity selection.

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

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

3 years 3 months ago [\#354234](#354234) by [zieasoft](/forum/user/68679-zieasoft "View zieasoft's Profile")  Replied by *[zieasoft](/forum/user/68679-zieasoft "View zieasoft's Profile")* on topic *[QTY Step](/forum/26-product-category-display/906848-qty-step#354234 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.3 -- PHP version -- : 8.1  I have a quantity increase and decrease buttons on my product pages.  These however, increase or decrease by 1, I would like to change it to 5. How can this be done please?")*

Thank you so much, worked like a charm!

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

3 years 3 months ago [\#354236](#354236) by [zieasoft](/forum/user/68679-zieasoft "View zieasoft's Profile")  Replied by *[zieasoft](/forum/user/68679-zieasoft "View zieasoft's Profile")* on topic *[QTY Step](/forum/26-product-category-display/906848-qty-step#354236 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.3 -- PHP version -- : 8.1  I have a quantity increase and decrease buttons on my product pages.  These however, increase or decrease by 1, I would like to change it to 5. How can this be done please?")*

Just one issue remains, they could over-ride the qty in the cart, can I make the Quantity field read-only for example or change it to a drop-down or plus and minus boxes?

Screenshot attached

- [ ![Screenshot2023-08-09145646.png](/forum/attachment/57568) ](/forum/attachment/57568 "...8-09145646.png") [ ](/forum/attachment/57568?download=1 "...8-09145646.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDY4NDgtcXR5LXN0ZXA/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: 86593
- Thank you received: 14334
-
-

3 years 3 months ago [\#354242](#354242) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[QTY Step](/forum/26-product-category-display/906848-qty-step#354242 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.3 -- PHP version -- : 8.1  I have a quantity increase and decrease buttons on my product pages.  These however, increase or decrease by 1, I would like to change it to 5. How can this be done please?")*

Hi,

The alternative method I proposed in my previous message will make all the quantity inputs as dropdowns with the same increment. So it would be a quick and easy solution.

Making the quantity read only on the checkout is easy too. Go in the HikaShop configuration page, and under the Checkout tab, change the setting "read only" of the "Cart" view.

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

3 years 3 months ago [\#354256](#354256) by [zieasoft](/forum/user/68679-zieasoft "View zieasoft's Profile")  Replied by *[zieasoft](/forum/user/68679-zieasoft "View zieasoft's Profile")* on topic *[QTY Step](/forum/26-product-category-display/906848-qty-step#354256 "-- HikaShop version -- : 4.7.5 -- Joomla version -- : 4.3.3 -- PHP version -- : 8.1  I have a quantity increase and decrease buttons on my product pages.  These however, increase or decrease by 1, I would like to change it to 5. How can this be done please?")*

Amazing, thank you. Works!

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

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