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

#   increment/decrement input in checkout view

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 3 months ago [\#246361](#246361) by [rekinysukcesu](/forum/user/43957-rekinysukcesu "View rekinysukcesu's Profile")  *[increment/decrement input in checkout view](/forum/27-checkout/885748-increment-decrement-input-in-checkout-view#246361 "Hello, How i can do increment/decrement input in checkout view ?")* was created by *[rekinysukcesu](/forum/user/43957-rekinysukcesu "View rekinysukcesu's Profile")*

Hello, How i can do increment/decrement input in checkout view ?

- [ ![screen.png](/forum/attachment/32796) ](/forum/attachment/32796 "screen.png") [ ](/forum/attachment/32796?download=1 "screen.png")

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

Less More

- Posts: 86576
- Thank you received: 14318
-
-

10 years 3 months ago [\#246369](#246369) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[increment/decrement input in checkout view](/forum/27-checkout/885748-increment-decrement-input-in-checkout-view#246369 "Hello, How i can do increment/decrement input in checkout view ?")*

Hi,

You'll have to edit the file "cart" of the view "checkout" via the menu Display&gt;Views and replace the refresh button code by two HTML links with an onclick attribute which would have some javascript code to update the quantity field: Code:

&lt;a href="#" onclick="var qty_field = document.getElementById('hikashop_cart_quantity_&lt;?php echo $row-&gt;cart_product_id;?&gt;'); if (qty_field &amp;&amp; qty_field.value != '&lt;?php echo $row-&gt;cart_product_quantity; ?&gt;'){&lt;?php echo $input; ?&gt; qty_field.form.submit(); } return false;" title="&lt;?php echo JText::_('HIKA_REFRESH'); ?&gt;"&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES . 'refresh.png';?&gt;" border="0" alt="&lt;?php echo JText::_('HIKA_REFRESH'); ?&gt;" /&gt; &lt;/a&gt;

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 3 months ago [\#246479](#246479) by [rekinysukcesu](/forum/user/43957-rekinysukcesu "View rekinysukcesu's Profile")  Replied by *[rekinysukcesu](/forum/user/43957-rekinysukcesu "View rekinysukcesu's Profile")* on topic *[increment/decrement input in checkout view](/forum/27-checkout/885748-increment-decrement-input-in-checkout-view#246479 "Hello, How i can do increment/decrement input in checkout view ?")*

Can you help me, step by step ?

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

Less More

- Posts: 86576
- Thank you received: 14318
-
-

10 years 3 months ago [\#246484](#246484) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[increment/decrement input in checkout view](/forum/27-checkout/885748-increment-decrement-input-in-checkout-view#246484 "Hello, How i can do increment/decrement input in checkout view ?")*

Hi,

I'm sorry but we provide user support not custom development. We can give some hints and potentially one or two lines of code, but for more custom development, you'll have to see with a third party developer.
If you need a developer to help you add custom code modification, you can contact our partners here:
[ www.hikashop.com/home/our-partners.html](https://www.hikashop.com/home/our-partners.html)

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

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