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

#   problem with modifying orders in Chrome

##

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

Less More

- Posts: 20
- Thank you received: 1
-
-

11 years 9 months ago [\#192009](#192009) by [nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")  *[problem with modifying orders in Chrome](/forum/35-orders-management/875208-problem-with-modifying-orders-in-chrome#192009 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.37 -- Browser(s) name and version -- : Chrome 40.0.2214.115 m  Found a problem in Chrome while editing an order. Here are the steps to reproduce it : - go into the back-end of the site - access the orders page of Hikashop - open one to edit it - start modifying any of the addresses, using the Edit button ( the icon on the same page ) - modify the title for the address and save - try editing the address again - the title is displayed wrong in it's combo and if you don't modify it again the wrong value will be saved  This is not happening with other browsers. I've tried Firefox and Internet Explorer. I hope you can fix it in the next release of Hikashop.  Thank you")* was created by *[nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.4.37
-- Browser(s) name and version -- : Chrome 40.0.2214.115 m

Found a problem in Chrome while editing an order.
Here are the steps to reproduce it :
- go into the back-end of the site
- access the orders page of Hikashop
- open one to edit it
- start modifying any of the addresses, using the Edit button ( the icon on the same page )
- modify the title for the address and save
- try editing the address again
- the title is displayed wrong in it's combo and if you don't modify it again the wrong value will be saved

This is not happening with other browsers. I've tried Firefox and Internet Explorer.
I hope you can fix it in the next release of Hikashop.

Thank you

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 9 months ago [\#192035](#192035) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[problem with modifying orders in Chrome](/forum/35-orders-management/875208-problem-with-modifying-orders-in-chrome#192035 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.37 -- Browser(s) name and version -- : Chrome 40.0.2214.115 m  Found a problem in Chrome while editing an order. Here are the steps to reproduce it : - go into the back-end of the site - access the orders page of Hikashop - open one to edit it - start modifying any of the addresses, using the Edit button ( the icon on the same page ) - modify the title for the address and save - try editing the address again - the title is displayed wrong in it's combo and if you don't modify it again the wrong value will be saved  This is not happening with other browsers. I've tried Firefox and Internet Explorer. I hope you can fix it in the next release of Hikashop.  Thank you")*

Hi,

I just tried to reproduce the issue on my local on Chrome, but it is working fine.
When doing as you explained step by step I don't have any issues.

So I think that you have a javascript error on your page which could cause the issue, this error can be created by another extension like a system plugin for example.

Please check with your browser console if any error is displayed under the "console" tab.

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

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

Less More

- Posts: 20
- Thank you received: 1
-
-

11 years 8 months ago [\#194789](#194789) by [nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")  Replied by *[nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")* on topic *[problem with modifying orders in Chrome](/forum/35-orders-management/875208-problem-with-modifying-orders-in-chrome#194789 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.37 -- Browser(s) name and version -- : Chrome 40.0.2214.115 m  Found a problem in Chrome while editing an order. Here are the steps to reproduce it : - go into the back-end of the site - access the orders page of Hikashop - open one to edit it - start modifying any of the addresses, using the Edit button ( the icon on the same page ) - modify the title for the address and save - try editing the address again - the title is displayed wrong in it's combo and if you don't modify it again the wrong value will be saved  This is not happening with other browsers. I've tried Firefox and Internet Explorer. I hope you can fix it in the next release of Hikashop.  Thank you")*

Hi,

There is no javascript error and the problem appears only in Chrome.
Now I found a similar problem when modifying the status of the order ( also only in Chrome ).
Could be something in my Chrome, but as far as I know there are no changes in it's settings.
I've ended up modifying the file : Code:

joomla_root/media/com_hikashop/js/hikashop.js

I've added some lines of code in the function xRequest ( after the line 163 ): Code:

var dRand = new Date(); var nRand = dAlex.getTime(); url = url+'&amp;'+nRand+'=1';

This was the ajax call is never cached.

In case you find this helpful maybe you will modify the code in the next version of Hikashop so I don't have to do it after each update. ![:)](/media/kunena/emoticons/3.png ":)")
I suggest a similar approach on all ajax calls.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#194791](#194791) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[problem with modifying orders in Chrome](/forum/35-orders-management/875208-problem-with-modifying-orders-in-chrome#194791 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.37 -- Browser(s) name and version -- : Chrome 40.0.2214.115 m  Found a problem in Chrome while editing an order. Here are the steps to reproduce it : - go into the back-end of the site - access the orders page of Hikashop - open one to edit it - start modifying any of the addresses, using the Edit button ( the icon on the same page ) - modify the title for the address and save - try editing the address again - the title is displayed wrong in it's combo and if you don't modify it again the wrong value will be saved  This is not happening with other browsers. I've tried Firefox and Internet Explorer. I hope you can fix it in the next release of Hikashop.  Thank you")*

Hi,

Thanks for the report.
But I don't think that it is a good idea to modify the Oby library because in some cases you might need to have some browser cache.
The best will be to modify in the views the xRequest calls in order to add this timestamp value in the url and to activate some non-cache directives in the different pages, using: Code:

hikashop_nocache();

which add some headers in the HTTP response to specify to the browser that it should cache the page.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 20
- Thank you received: 1
-
-

11 years 8 months ago [\#195000](#195000) by [nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")  Replied by *[nicirvine](/forum/user/13862-nicirvine "View nicirvine's Profile")* on topic *[problem with modifying orders in Chrome](/forum/35-orders-management/875208-problem-with-modifying-orders-in-chrome#195000 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.37 -- Browser(s) name and version -- : Chrome 40.0.2214.115 m  Found a problem in Chrome while editing an order. Here are the steps to reproduce it : - go into the back-end of the site - access the orders page of Hikashop - open one to edit it - start modifying any of the addresses, using the Edit button ( the icon on the same page ) - modify the title for the address and save - try editing the address again - the title is displayed wrong in it's combo and if you don't modify it again the wrong value will be saved  This is not happening with other browsers. I've tried Firefox and Internet Explorer. I hope you can fix it in the next release of Hikashop.  Thank you")*

Hi,

Thank you for your reply.
Maybe you can implement some solution to force Chrome not to cache the requests in case the value was changed.
Or maybe you can add a parameter that will implement "hikashop_nocache();" in the views.

I understand that you couldn't replicate the problem and it's strange that it happened only to me, so I also understand that you might consider it a waste of time, especially since this could occur only in some very specific situations and can be easily remedied by modifying the values again.

For now this is the fastest solution for me (checking all the places where Ajax is used and modifying the view would take too much time).

Thank you for your work on Hikashop. It's a very nice and useful extension.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#195009](#195009) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[problem with modifying orders in Chrome](/forum/35-orders-management/875208-problem-with-modifying-orders-in-chrome#195009 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 2.5.28 -- PHP version -- : 5.4.37 -- Browser(s) name and version -- : Chrome 40.0.2214.115 m  Found a problem in Chrome while editing an order. Here are the steps to reproduce it : - go into the back-end of the site - access the orders page of Hikashop - open one to edit it - start modifying any of the addresses, using the Edit button ( the icon on the same page ) - modify the title for the address and save - try editing the address again - the title is displayed wrong in it's combo and if you don't modify it again the wrong value will be saved  This is not happening with other browsers. I've tried Firefox and Internet Explorer. I hope you can fix it in the next release of Hikashop.  Thank you")*

Hi,

For sure it's better for you to keep your modification in the javascript file for the moment because it fix a issue you got.
After that, it's possible that the configuration of your web server (via via an htaccess) modify the return of the pages to let the browser cache them. But it's not the default behavior.
That's why I think it will be better for HikaShop to add some "no cache" directives for some pages ; to be sure that you won't have issue with ajax calls or other type of web calls.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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