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

#   If a product has options!

##

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

Less More

- Posts: 49
- Thank you received: 1
-
-

7 years 3 weeks ago [\#311418](#311418) by [onereik](/forum/user/58038-onereik "View onereik's Profile")  *[If a product has options!](/forum/35-orders-management/898371-if-a-product-has-options#311418 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome latest  Hello,  When a product with options added to the cart, can it be editable? Like After I click the link to the product in the cart, to edit the options? The current cart now doesn't save the options for products. It can only be deleted.  I look forward to hearing from you  Thanks")* was created by *[onereik](/forum/user/58038-onereik "View onereik's Profile")*

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9
-- PHP version -- : 7.2
-- Browser(s) name and version -- : Chrome latest

Hello,

When a product with options added to the cart, can it be editable? Like After I click the link to the product in the cart, to edit the options? The current cart now doesn't save the options for products. It can only be deleted.

I look forward to hearing from you

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg5ODM3MS1pZi1hLXByb2R1Y3QtaGFzLW9wdGlvbnM/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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

7 years 3 weeks ago [\#311433](#311433) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[If a product has options!](/forum/35-orders-management/898371-if-a-product-has-options#311433 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome latest  Hello,  When a product with options added to the cart, can it be editable? Like After I click the link to the product in the cart, to edit the options? The current cart now doesn't save the options for products. It can only be deleted.  I look forward to hearing from you  Thanks")*

Hi,

There is no mechanism to edit the products already in the cart.

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

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

Less More

- Posts: 49
- Thank you received: 1
-
-

7 years 3 weeks ago -  7 years 3 weeks ago [\#311493](#311493) by [onereik](/forum/user/58038-onereik "View onereik's Profile")  Replied by *[onereik](/forum/user/58038-onereik "View onereik's Profile")* on topic *[If a product has options!](/forum/35-orders-management/898371-if-a-product-has-options#311493 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome latest  Hello,  When a product with options added to the cart, can it be editable? Like After I click the link to the product in the cart, to edit the options? The current cart now doesn't save the options for products. It can only be deleted.  I look forward to hearing from you  Thanks")*

Hi Nicolas,

Thanks for the reply, I was thinking if there is a way to do this through a plugin trigger, do you have any triggers that you think can help with this issue?

I mean maybe it is doable by using onHikashopAfterDisplayView with another trigger, which brings data from the ordered products with it's options. And based on that maybe we can create that plugin if the product I am visiting matches any of the IDs of the products in the cart, should be in an editing mode, and shouldn't be added to the cart, but instead should be updated.

Please let me know what do you think?

Thanks

Last edit: 7 years 3 weeks ago by [onereik](/forum/user/58038-onereik "View onereik's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg5ODM3MS1pZi1hLXByb2R1Y3QtaGFzLW9wdGlvbnM/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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

7 years 3 weeks ago [\#311496](#311496) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[If a product has options!](/forum/35-orders-management/898371-if-a-product-has-options#311496 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome latest  Hello,  When a product with options added to the cart, can it be editable? Like After I click the link to the product in the cart, to edit the options? The current cart now doesn't save the options for products. It can only be deleted.  I look forward to hearing from you  Thanks")*

Hi,

Well, it would be possible to add that capability with a plugin yes. However, the way I see it, it's not simple. It would require developping a specific interface to be able to modify the product elements in the cart (to handle characteristics, options, custom item fields, etc).
As a custom development, it would be much simpler to just handle the options, but it would still be some work. You would still need to develop a view to have the options selection interface (in a popup which would be called when clicking on an edit icon next to the product name in the cart view for example), and you would also have to handle the saving to update the product in the cart as the update functions already available are not meant to be able to modify the options of products already in the cart.

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

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

Less More

- Posts: 49
- Thank you received: 1
-
-

7 years 3 weeks ago [\#311514](#311514) by [onereik](/forum/user/58038-onereik "View onereik's Profile")  Replied by *[onereik](/forum/user/58038-onereik "View onereik's Profile")* on topic *[If a product has options!](/forum/35-orders-management/898371-if-a-product-has-options#311514 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome latest  Hello,  When a product with options added to the cart, can it be editable? Like After I click the link to the product in the cart, to edit the options? The current cart now doesn't save the options for products. It can only be deleted.  I look forward to hearing from you  Thanks")*

Hi Nicolas,

Well, the first thing that came to my mind is developing a new view as you just said in your comment, however, I knew that it will require more work as developing new functionalities for the update in the model and controller, and these customizations will be lost once I install new updates for Hikashop, so that's why I asked if it is possible to do it by using a plugin.

I think this is an important option to have. Because sometimes users who buy things want to make an update to the things they bought rather than deleting the product and re-adding it to the cart with the new options they want.

What do you think?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg5ODM3MS1pZi1hLXByb2R1Y3QtaGFzLW9wdGlvbnM/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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

7 years 3 weeks ago [\#311517](#311517) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[If a product has options!](/forum/35-orders-management/898371-if-a-product-has-options#311517 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome latest  Hello,  When a product with options added to the cart, can it be editable? Like After I click the link to the product in the cart, to edit the options? The current cart now doesn't save the options for products. It can only be deleted.  I look forward to hearing from you  Thanks")*

Hi,

With HikaShop, it's possible to develop new views, controllers, models, through plugins. You can see an example of that with the email history plugin. The files of the plugin are in the folder plugins/hikashop/email_history/
And the plugin adds itself to HikaShop via triggers to add its on menu Customers&gt;Email history in the backend as well as the views and controller necessary to handle all its functions. By doing a plugin in a similar way, you could have this new capability without having to modify directly the core of HikaShop and thus be able to update your HikaShop in the future without loosing your code each time.

Indeed, being able to edit the products directly in the cart is a cool feature we could add. It's just not easy to add as there are many things to take into account.

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile")
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

7 years 3 weeks ago [\#311556](#311556) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[If a product has options!](/forum/35-orders-management/898371-if-a-product-has-options#311556 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome latest  Hello,  When a product with options added to the cart, can it be editable? Like After I click the link to the product in the cart, to edit the options? The current cart now doesn't save the options for products. It can only be deleted.  I look forward to hearing from you  Thanks")*

> nicolas wrote:
> Indeed, being able to edit the products directly in the cart is a cool feature we could add. It's just not easy to add as there are many things to take into account.

+1

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

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

[](#top)
