

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Magento 2.3 add quote item as buy request
Hello guys,
I want to add a quote item based on a product which has custom options and I need to add this as "info_buyRequest".
Basically, I want to populate the "quote_item_option" and "quote_item" tables. So far, I managed to populate the "quote_item" table, but struggling about adding the info_buyRequest option.
This is my code so far:


- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.3 add quote item as buy request
I want to mention that the adding process is a result of an AJAX call. So, I'm not using a form.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.3 add quote item as buy request
@Anonymous
Please refer below link for adding options it will surely help you as I also had once used the same and it worked for me.
http://www.blogtreat.com/magento-2-how-to-add-additional-options-in-cart-items/
If you have any question then feel free to ask!
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.