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:
I want to mention that the adding process is a result of an AJAX call. So, I'm not using a form.
@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'.