# How to change the product numbers dropdown menu?

**URL:** <https://forum.shopware.com/t/how-to-change-the-product-numbers-dropdown-menu/50298>\
**Category:** International (English Only)\
**Tags:** general\
**Created:** [5. Januar 2018 um 16:02 UTC](https://forum.shopware.com/t/how-to-change-the-product-numbers-dropdown-menu/50298 "2018-01-05T16:02:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amr](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amr](https://forum.shopware.com/u/amr)\
**Post date:** [5. Januar 2018 um 16:02 UTC](https://forum.shopware.com/t/how-to-change-the-product-numbers-dropdown-menu/50298/1 "2018-01-05T16:02:21Z")

</div>

Hello

How can I edit the product numbers dropdown menu?

When the number of items is set to 2000, it causes slowdown in Firefox.  
I want to change it to a input field of type number instead of the select box.

![](https://prnt.sc/hwgs1q)

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/4/41ca71bf4f68b39ed66d5ecc005ab00eb3b250df.png)

​Is that possible?

Thank You!

---

<div class="post-metadata">

**Author:** ![simkli](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/simkli/32/13124_2.png) [@simkli](https://forum.shopware.com/u/simkli)\
**Post date:** [5. Januar 2018 um 19:03 UTC](https://forum.shopware.com/t/how-to-change-the-product-numbers-dropdown-menu/50298/2 "2018-01-05T19:03:51Z")

</div>

Not built in, but there is a plugin:&nbsp;[http://store.shopware.com/scha170490582037/bestellmengenauswahl-ueber-eingabefeld-mit-gesamtpreisaktualisierung-alternativer-mengenstaffelung.html](http://store.shopware.com/scha170490582037/bestellmengenauswahl-ueber-eingabefeld-mit-gesamtpreisaktualisierung-alternativer-mengenstaffelung.html)

(unfortunately in German only)

Best regards

---

<div class="post-metadata">

**Author:** ![amr](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amr](https://forum.shopware.com/u/amr)\
**Post date:** [5. Januar 2018 um 19:17 UTC](https://forum.shopware.com/t/how-to-change-the-product-numbers-dropdown-menu/50298/3 "2018-01-05T19:17:17Z")

</div>

Thanks!

But I need to know which files are related to this part so I can change them.

Best regards!

---

<div class="post-metadata">

**Author:** ![simkli](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/simkli/32/13124_2.png) [@simkli](https://forum.shopware.com/u/simkli)\
**Post date:** [5. Januar 2018 um 19:39 UTC](https://forum.shopware.com/t/how-to-change-the-product-numbers-dropdown-menu/50298/4 "2018-01-05T19:39:40Z")

</div>

The select field is generated here:&nbsp;[shopware/buy.tpl at 5.3 · shopware/shopware · GitHub](https://github.com/shopware/shopware/blob/5.3/themes/Frontend/Bare/frontend/detail/buy.tpl#L71)

Please do not modify this file directly as it would be overridden within the next update. Follow this guide to extend the theme without loosing the changes after an update:&nbsp;[Getting started with Shopware templating](https://developers.shopware.com/designers-guide/getting-started/)

Best regards

---

<div class="post-metadata">

**Author:** ![amr](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amr](https://forum.shopware.com/u/amr)\
**Post date:** [6. Januar 2018 um 00:16 UTC](https://forum.shopware.com/t/how-to-change-the-product-numbers-dropdown-menu/50298/5 "2018-01-06T00:16:45Z")

</div>

Thank you very much!

In the file&nbsp;[frontend/detail/buy.tpl](https://github.com/shopware/shopware/blob/5.3/themes/Frontend/Bare/frontend/detail/buy.tpl#L71),  
I am trying to replace the following code:

```
    {section name="i" start=$sArticle.minpurchase loop=$maxQuantity step=$sArticle.purchasesteps} 
        {$smarty.section.i.index}{if $sArticle.packunit}{$sArticle.packunit}{/if}
         
    {/section} 

```

with:

I assigned the same id and name attributes so that it does not affect any related script.  
I am not sure if I am doing it correctly or if It will work this way.

Any help will be appreciated.  
Thanks in advance!
