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

#   Keeping order details up to date

##

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

Less More

- Posts: 27
- Thank you received: 0
-
-

7 years 2 months ago [\#309708](#309708) by [cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")  *[Keeping order details up to date](/forum/31-development/898061-keeping-order-details-up-to-date#309708 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.3.3  Were wanting to keep the order details page up to date when open in a browser. So if you have an open order on your page, and someone else modifies the order (any of the field sets, Ie show&#95;general, show&#95;details, show&#95;billing, show&#95;additional etc) that we can reload that fieldset only.  We know that this URL : '/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=show&amp;subtask='FIELDSET'&amp;cid=order-&gt;order&#95;id ;?&gt;&amp;tmpl=component',  will give the HTML of that entire fieldset, but how can we know if the values/object that generate that field only have changed so we can reload just that fieldset.  We already have in place the ability to reload the fieldset, but need to be able to determine if any of those values in that fieldset have changed.  Any suggestions?")* was created by *[cworthen75](/forum/user/57545-cworthen75 "View cworthen75's Profile")*

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.3.3

Were wanting to keep the order details page up to date when open in a browser.
So if you have an open order on your page, and someone else modifies the order (any of the field sets, Ie show_general, show_details, show_billing, show_additional etc) that we can reload that fieldset only.

We know that this URL :
'/administrator/index.php?option=com_hikashop&amp;ctrl=order&amp;task=show&amp;subtask='FIELDSET'&amp;cid=&lt;? echo $this-&gt;order-&gt;order_id ;?&gt;&amp;tmpl=component',

will give the HTML of that entire fieldset, but how can we know if the values/object that generate that field only have changed so we can reload just that fieldset.

We already have in place the ability to reload the fieldset, but need to be able to determine if any of those values in that fieldset have changed.

Any suggestions?

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

7 years 2 months ago [\#309754](#309754) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Keeping order details up to date](/forum/31-development/898061-keeping-order-details-up-to-date#309754 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.3.3  Were wanting to keep the order details page up to date when open in a browser. So if you have an open order on your page, and someone else modifies the order (any of the field sets, Ie show&#95;general, show&#95;details, show&#95;billing, show&#95;additional etc) that we can reload that fieldset only.  We know that this URL : '/administrator/index.php?option=com&#95;hikashop&amp;ctrl=order&amp;task=show&amp;subtask='FIELDSET'&amp;cid=order-&gt;order&#95;id ;?&gt;&amp;tmpl=component',  will give the HTML of that entire fieldset, but how can we know if the values/object that generate that field only have changed so we can reload just that fieldset.  We already have in place the ability to reload the fieldset, but need to be able to determine if any of those values in that fieldset have changed.  Any suggestions?")*

Hello,

The only ways to know if an order have been changed must be to :
- Use triggers like onAfterOrderUpdate(&amp;$order,&amp;$send_email)
==&gt; you'll find more information via [ www.hikashop.com/support/documentation/6...mentation.html#order](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#order)

- Use the "order_modified" column of the "#_hikashop_order" table and check if the order have been modified, but you'll have to compare it to the previous time you updated your order page

We wish you a nice day !
Kind regards,
Mohamed Thelji.

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

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