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

#   Last product in order

##

- **[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 months 3 weeks ago [\#372444](#372444) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  *[Last product in order](/forum/25-install-update/910638-last-product-in-order#372444 "-- HikaShop version -- : 6.5.0 -- Joomla version -- : 6.1.1 -- PHP version -- : 8.3  hi in hikashop backend admin can edit an order and add or delete products. if the adimn deletes all the produsts, system doesnt show any error or sth like that so we have a confirmed order without any products,  i need when there is only one product in an order, delete button be disable or no posiibility to delete last product in order in any way  is that possible through overrides ?")* was created by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")*

-- HikaShop version -- : 6.5.0
-- Joomla version -- : 6.1.1
-- PHP version -- : 8.3

hi
in hikashop backend admin can edit an order and add or delete products. if the adimn deletes all the produsts, system doesnt show any error or sth like that so we have a confirmed order without any products,

i need when there is only one product in an order, delete button be disable or no posiibility to delete last product in order in any way

is that possible through overrides ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDYzOC1sYXN0LXByb2R1Y3QtaW4tb3JkZXI/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14269
-
-

3 months 3 weeks ago [\#372451](#372451) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Last product in order](/forum/25-install-update/910638-last-product-in-order#372451 "-- HikaShop version -- : 6.5.0 -- Joomla version -- : 6.1.1 -- PHP version -- : 8.3  hi in hikashop backend admin can edit an order and add or delete products. if the adimn deletes all the produsts, system doesnt show any error or sth like that so we have a confirmed order without any products,  i need when there is only one product in an order, delete button be disable or no posiibility to delete last product in order in any way  is that possible through overrides ?")*

Hi,

Having no product is an order is not a problem in HikaShop.
When you click on the "new" button of the orders listing, you get an order without products by default.
So there is no mechanism to prevent this.
You could indeed do this with view overrides of the order view for your backend template via the menu Display&gt;Views.
You can use the "Display view files" setting of the HikaShop configuration in order to find out which view file is used for the area you want to change.

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

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

[](#top)
