Usability question - Coupon code entry

  • Posts: 3
  • Thank you received: 0
10 years 9 months ago #142191

:) -- url of the page with the problem -- : ig3.staging-exquison.info/shop-clearball...-grip-clearball.html
-- HikaShop version -- : Business
-- Joomla version -- : 2.16
-- PHP version -- : 5.3.27
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

We have coupon discounts in our store. We noticed that some customers, once they entered their coupon code, inadvertently hit enter - rather than hitting the add button. The problem is that for hitting enter, the website goes back to the product category page.

Is there a way to ensure that if an enter is hit in a checkout page than the URL doesn't change.

You may test what I am referring to by going to e.g. staging-website-product-page --> putting a product to the cart --> entering the HAPPYGLF20 coupon code and then hitting enter.

Thank you,
Tom

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 9 months ago #142301

Hi,
Your issue is coming from the fact that you add a continue shopping button button, so the solutions will be to :
- Remove this button
Or
- Move the code of this button out of the "form" html tag
Or
- Add some JavaScript code which will enable you to use the "add" button of your coupon input when your customer press the "enter" keyboard.

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum