- Posts: 5
- Thank you received: 0
increment/decrement input in checkout view
- rekinysukcesu
-
Topic Author
- Offline
Less
More
10 years 3 months ago #246361
by rekinysukcesu
increment/decrement input in checkout view was created by rekinysukcesu
Hello, How i can do increment/decrement input in checkout view ?
Please Log in or Create an account to join the conversation.
10 years 3 months ago #246369
by nicolas
Replied by nicolas on topic increment/decrement input in checkout view
Hi,
You'll have to edit the file "cart" of the view "checkout" via the menu Display>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:
You'll have to edit the file "cart" of the view "checkout" via the menu Display>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:
<a href="#" onclick="var qty_field = document.getElementById('hikashop_cart_quantity_<?php echo $row->cart_product_id;?>'); if (qty_field && qty_field.value != '<?php echo $row->cart_product_quantity; ?>'){<?php echo $input; ?> qty_field.form.submit(); } return false;" title="<?php echo JText::_('HIKA_REFRESH'); ?>">
<img src="<?php echo HIKASHOP_IMAGES . 'refresh.png';?>" border="0" alt="<?php echo JText::_('HIKA_REFRESH'); ?>" />
</a>
Please Log in or Create an account to join the conversation.
- rekinysukcesu
-
Topic Author
- Offline
Less
More
- Posts: 5
- Thank you received: 0
10 years 3 months ago #246479
by rekinysukcesu
Replied by rekinysukcesu on topic increment/decrement input in checkout view
Can you help me, step by step ?
Please Log in or Create an account to join the conversation.
10 years 3 months ago #246484
by nicolas
Replied by nicolas on topic 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
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
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds