Confirmation on deleting an Address

  • Posts: 10
  • Thank you received: 1
10 years 3 months ago #199635

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.0
-- Browser(s) name and version -- : Chrome 42.0.2311.90m

Hi,
i have installed the last version of Hikashop. In this version you have added a new feature, the confirmation on deleting an address. The confirmation form that you have used, not working with some browser. In specific i have created my App for android with a Webview. My Webview does not show your confirmation form.

I have edited by myself the file with this error:

FILE: components/com_hikashop/views/address/tmpl/listing.php
LINE: 137
FROM
<a onclick="if(!confirm('<?php echo JText::_('HIKASHOP_CONFIRM_DELETE_ADDRESS', true); ?>')){return false;}else{return true;}" ...
TO
<a onclick="return true;" ...

Please remember that yours component is the most usefull for creating an e-commerce on joomla, but this feature is a bad idea!

Thanks and i hope that you consider my suggestion.

Best regards,
Marco

Attachments:

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

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 3 months ago #199639

Hi,

Note that you can do that modification via the menu Display->Views. That way, you'll be able to update HikaShop without loosing your change.

The confirm interface is a standard part of web application development. It's normal that HikaShop uses it. We already it in other places. So I don't see why we would go back to what we had before. It now works how it is supposed to work and if we were doing your change, everyone else would loose that improvement.
Wouldn't there is a solution with your application for android to be compatible with that instead ?

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

  • Posts: 10
  • Thank you received: 1
10 years 3 months ago #199686

Unfortunately I deduce that for compatibility with Android we have to wait for an update on the general Webview or i create a personal form notifications :(
I found this to solve, in part, the problem: stackoverflow.com/questions/5271898/java...g-in-android-webview

than if i edit the same file from "display > views" on Updating Hikashop i don't lose my modification?

Thanks and best regards,
Marco

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

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 3 months ago #199694

Hi,

So from what I understand in your link, the problem is with the Webview system which doesn't support that properly yet.

Yes, if you do your modification via the Display>Views menu you won't loose your modification when you update HikaShop.

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

Time to create page: 0.141 seconds
Powered by Kunena Forum