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

#   Increase/decrease amount

##

- **[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")**
- [![Ottmar's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar3367.png)](/forum/user/3367-ottmar "View Ottmar's Profile") Topic Author
- [ Offline](/forum/user/3367-ottmar)

Less More

- Posts: 61
- Thank you received: 0
-
-

15 years 3 months ago -  15 years 3 months ago [\#24179](#24179) by [Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")  *[Increase/decrease amount](/forum/4-how-to/24179-increase-decrease-amount#24179 "I want to use images to replace the '+' and '-' used to change the number of items. Which file do I need to edit?")* was created by *[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")*

I want to use images to replace the '+' and '-' used to change the number of items. Which file do I need to edit?

Last edit: 15 years 3 months ago by [Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile"). Reason: fix typo

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0MTc5LWluY3JlYXNlLWRlY3JlYXNlLWFtb3VudD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14323
-
-

15 years 3 months ago [\#24186](#24186) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Increase/decrease amount](/forum/4-how-to/24179-increase-decrease-amount#24186 "I want to use images to replace the '+' and '-' used to change the number of items. Which file do I need to edit?")*

You can do that with a quantity input template override:
[ www.hikashop.com/support/documentation/6...tation.html#override](http://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#override)

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

- **[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")**
- [![Ottmar's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar3367.png)](/forum/user/3367-ottmar "View Ottmar's Profile") Topic Author
- [ Offline](/forum/user/3367-ottmar)

Less More

- Posts: 61
- Thank you received: 0
-
-

15 years 3 months ago [\#24189](#24189) by [Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")  Replied by *[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")* on topic *[Re: Increase/decrease amount](/forum/4-how-to/24179-increase-decrease-amount#24189 "I want to use images to replace the '+' and '-' used to change the number of items. Which file do I need to edit?")*

Thanks.

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

- **[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")**
- [![Ottmar's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar3367.png)](/forum/user/3367-ottmar "View Ottmar's Profile") Topic Author
- [ Offline](/forum/user/3367-ottmar)

Less More

- Posts: 61
- Thank you received: 0
-
-

15 years 3 months ago [\#24190](#24190) by [Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")  Replied by *[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")* on topic *[Re: Increase/decrease amount](/forum/4-how-to/24179-increase-decrease-amount#24190 "I want to use images to replace the '+' and '-' used to change the number of items. Which file do I need to edit?")*

Nicolas, I think there may be an error in the doc

> For the quantity input:
>
> You need to create the file templates/YOUR\_TEMPLATE/html/**hikashop\_button.php**. We invite you to look at the file administrator/components/com\_hikashop/helpers/cart.php for the default code of the function you will define in it. In that file, you will be able to define the function:

Should the file be saved as cart.php?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI0MTc5LWluY3JlYXNlLWRlY3JlYXNlLWFtb3VudD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14323
-
-

15 years 3 months ago [\#24192](#24192) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Increase/decrease amount](/forum/4-how-to/24179-increase-decrease-amount#24192 "I want to use images to replace the '+' and '-' used to change the number of items. Which file do I need to edit?")*

You should not get the whole content of the cart.php in the hikahsop_button.php file. Just the relevant bits related to the hikashop_quantity_render function call

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

- **[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")**
- [![Ottmar's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar3367.png)](/forum/user/3367-ottmar "View Ottmar's Profile") Topic Author
- [ Offline](/forum/user/3367-ottmar)

Less More

- Posts: 61
- Thank you received: 0
-
-

15 years 3 months ago -  15 years 3 months ago [\#24194](#24194) by [Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")  Replied by *[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")* on topic *[Re: Increase/decrease amount](/forum/4-how-to/24179-increase-decrease-amount#24194 "I want to use images to replace the '+' and '-' used to change the number of items. Which file do I need to edit?")*

It looks like I'm going to have to find my PHP tutorial.

I really don't understand what to do. Where do I find hikashop_button.php?

Last edit: 15 years 3 months ago by [Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile").

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

- **[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")**
- [![Ottmar's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar3367.png)](/forum/user/3367-ottmar "View Ottmar's Profile") Topic Author
- [ Offline](/forum/user/3367-ottmar)

Less More

- Posts: 61
- Thank you received: 0
-
-

15 years 3 months ago [\#24227](#24227) by [Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")  Replied by *[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")* on topic *[Re: Increase/decrease amount](/forum/4-how-to/24179-increase-decrease-amount#24227 "I want to use images to replace the '+' and '-' used to change the number of items. Which file do I need to edit?")*

OK, worked it out and made the change. Thanks.

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

- **[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")**
- [![Ottmar's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar3367.png)](/forum/user/3367-ottmar "View Ottmar's Profile") Topic Author
- [ Offline](/forum/user/3367-ottmar)

Less More

- Posts: 61
- Thank you received: 0
-
-

15 years 3 months ago -  15 years 3 months ago [\#24233](#24233) by [Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")  Replied by *[Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile")* on topic *[Re: Increase/decrease amount](/forum/4-how-to/24179-increase-decrease-amount#24233 "I want to use images to replace the '+' and '-' used to change the number of items. Which file do I need to edit?")*

I've just had a dawning realisation about how powerful HikaShop really is. With the ability to create the template overrides there isn't much you can't do in HikaShop. Whoever designed HikaShop's underlying architecture deserves several beers. Well done!

I really wish I could submit a review on the JED.

Last edit: 15 years 3 months ago by [Ottmar](/forum/user/3367-ottmar "View Ottmar's Profile").

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

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