Magento 2 How to update a record in quote item option table

I have add a custom column in a quote_item_option table, Now I want to update a record based on a quote item id and I use bellow code : public function __construct( \Magento\Checkout\Model\Session $checkoutSession, \Magento\Framework\Message\ManagerInterface $messageManager, \Magento\Framework\Session\SessionManagerInterface $session, \Magento\Quote\Model\Quote $quoteFactory, \Magento\Quote\Model\ResourceModel\Quote\Item\Option\CollectionFactory $optioncollection, \Magento\Quote\Model\QuoteRepository $quoteRepo, \Magento\Quote\Model\Quote\Item\Option $itemoption ) { $this->checkoutSession = $checkoutSession; $this->messageManager = $messageManager; $this->_session…

How to add HTML content in notice for checkout form fields in Magento 2

I want to add some text below the Country field on checkout page. See below: I followed this answer: https://magento.stackexchange.com/a/240048/2358 It worked perfectly, but only issue with that is I am not able to add HTML content in code. I have added this code: $jsLayout[‘components’][‘checkout’][‘children’][‘steps’][‘children’][‘shipping-step’] [‘children’][‘shippingAddress’][‘children’][‘shipping-address-fieldset’][‘children’][‘country_id’][‘notice’] = ‘Should you wish for your purchase to be…

Magento 2: show list of all customers in custom grid

I created modal window similar functionality of when click on Add related products on product edit page, now in the modal window I need a list of all customers in grid. Currently its showing Error: Fatal error: Uncaught Error: Call to a member function setPageSize() on null in /var/www/html/magento/vendor/magento/module-ui/DataProvider/AbstractDataProvider.php:220 Stack trace: #0 Here is my…

Magento 2: show list of all customers in custom grid

I created modal window similar functionality of when click on Add related products on product edit page, now in the modal window I need a list of all customers in grid. Currently its showing Error: Fatal error: Uncaught Error: Call to a member function setPageSize() on null in /var/www/html/magento/vendor/magento/module-ui/DataProvider/AbstractDataProvider.php:220 Stack trace: #0 Here is my…

Magento 2: show list of all customers in custom grid

I created modal window similar functionality of when click on Add related products on product edit page, now in the modal window I need a list of all customers in grid. Currently its showing Error: Fatal error: Uncaught Error: Call to a member function setPageSize() on null in /var/www/html/magento/vendor/magento/module-ui/DataProvider/AbstractDataProvider.php:220 Stack trace: #0 Here is my…

Magento 2: show list of all customers in custom grid

I created modal window similar functionality of when click on Add related products on product edit page, now in the modal window I need a list of all customers in grid. Currently its showing Error: Fatal error: Uncaught Error: Call to a member function setPageSize() on null in /var/www/html/magento/vendor/magento/module-ui/DataProvider/AbstractDataProvider.php:220 Stack trace: #0 Here is my…