Several questions/problems related to shopping cart and checkout process

  • Posts: 5
  • Thank you received: 0
5 years 3 months ago #309295

Hi,
Couple of questions/problems:

  • If I change the quantity of an item to be ordered on the shopping cart page using the + and - sign the overall quantity and amount do not change. There is no refresh button or automatic update process! Even pressing enter after the change doesn't have effect. Confusing for the user
  • Entering a different quantity in the quantity field and pressing enter changes the quantity back to the original quantity. Confusing for the user!
  • |When a user is not logged in and Checkout is clicked the user gets a registration form displayed. There is no link or button that alllows the user to login instead (assuming the user was registered previously). Also confusing for the user!
  • I have a multilingual site. If I order, open shopping cart and checkout in Dutch everything is fine. When I order, open the shopping cart and checkout I always get a 404 error page. When I redo the step of opening the shopping cart and press checkout the proper next page is shown. Again: confusing for the user

Unfortuantely I didn't find any info in the documentation or configuration that points me in the right direction for the above problems.

Any help is greatly appreciated.

Thanks, Ynze van der Ree (yourinnervoice.nl)

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

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
5 years 3 months ago #309305

Hi,

1. You can edit the view file cart / show.php and add A tag around an icon with some javascript code to add a refresh button. For example:

<a onclick="return window.hikashop.submitform('apply','hikashop_show_cart_form');"><i class="fa fa-sync"></i></a>
that you can add just before the code:
<a title="<?php echo JText::_('HIKA_DELETE'); ?>" class="hikashop_no_print" href="#delete" onclick="var qtyField = document.getElementById('<?php echo $this->last_quantity_field_id; ?>'); if(!qtyField) return false; qtyField.value = 0; return window.hikashop.submitform('apply','hikashop_show_cart_form');" title="<?php echo JText::_('HIKA_DELETE'); ?>">
which is for the delete icon.

2. In the same view file, you can change the line:
'extra_data' => 'data-hk-product-name="'.$this->escape(strip_tags($product->product_name)).'"',
to:
'extra_data' => 'data-hk-product-name="'.$this->escape(strip_tags($product->product_name)).'" onkeypress="if(event.keyCode==13 && window.cartMgr.checkQuantity(this)){ window.hikashop.submitform(\'apply\',\'hikashop_show_cart_form\'); }"',
in order to handle that properly.

3. The only thing I can think of which would do that is if you have the "login" setting of the checkout tab of the HikaShop configuration turned off and thus the login form is not displayed on the checkout.

4. That's hard to say anything helpful without looking at the situation directly. I believe this might be an issue between the way the menu items are setup with their language restrictions. Could you provide precise instructions with a link to the shop so that we could reproduce the issue ?

5. Regarding point 1 and 2, we'll add these changes in the next version of HikaShop as they are good improvements. Thanks for your feedback on them.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum