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

#   Order details page

##

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

Less More

- Posts: 240
- Thank you received: 13
-
-

3 years 9 months ago [\#349581](#349581) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  *[Order details page](/forum/35-orders-management/905959-order-details-page#349581 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.2.8 -- PHP version -- : 8.1  hi in my website an order details page is : mydomain.com/my-orders/order/invoice/?order&#95;id=XXX  for viewing this page, it is requreid that user be signed in to his acount  for some reasons, i need to make this page public. that means all orders can be seen for all.  is there anyway that i can edit hikashop core to do this ?")* was created by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")*

-- HikaShop version -- : 4.7.1
-- Joomla version -- : 4.2.8
-- PHP version -- : 8.1

hi
in my website an order details page is :
mydomain.com/my-orders/order/invoice/?order_id=XXX

for viewing this page, it is requreid that user be signed in to his acount

for some reasons, i need to make this page public.
that means all orders can be seen for all.

is there anyway that i can edit hikashop core to do this ?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

3 years 8 months ago [\#349586](#349586) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Order details page](/forum/35-orders-management/905959-order-details-page#349586 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.2.8 -- PHP version -- : 8.1  hi in my website an order details page is : mydomain.com/my-orders/order/invoice/?order&#95;id=XXX  for viewing this page, it is requreid that user be signed in to his acount  for some reasons, i need to make this page public. that means all orders can be seen for all.  is there anyway that i can edit hikashop core to do this ?")*

Hi,

Note that we don't recommend doing this, for obvious security reasons.

In the file components/com_hikashop/controllers/order.php in the function isLogged you can add a return true; at the beginning.
This will prevent the controller from redirecting to the login form page when the current user is not logged in with the user account of the order or is not logged in.
Then, in the file administrator/components/com_hikashop/classes/order.php in the function loadFullOrder you can add $checkUser = false; at the beginning.
This will allow the loading of the data from the database for the orders even if the current user is not logged in or not the user of the order.

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

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

Less More

- Posts: 240
- Thank you received: 13
-
-

3 years 8 months ago [\#349588](#349588) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  Replied by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")* on topic *[Order details page](/forum/35-orders-management/905959-order-details-page#349588 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.2.8 -- PHP version -- : 8.1  hi in my website an order details page is : mydomain.com/my-orders/order/invoice/?order&#95;id=XXX  for viewing this page, it is requreid that user be signed in to his acount  for some reasons, i need to make this page public. that means all orders can be seen for all.  is there anyway that i can edit hikashop core to do this ?")*

yes you are right. but for a reason we have to do this in this specific project considering all potensialy security issues

thank you alot for your help

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

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