How to add a pop-up window to Magento 2 front page?

use pop-up solution I could use to put up a message to visitors Inside your theme add below file in path  app\design\frontend\your\theme\Magento_Cms\layout\cms_index_index.xml And Inside your theme add below file in path app\design\frontend\your\theme\Magento_Cms\templates\popup.phtml

Magento 2 create order programmatically

Here we are discussing how to create order programmatically in magetno Code for creating a quote Continuing to declare the order in the module helper file by the following function:

NetSuite gets API trigger twice when called a CURLOPT_URL

Sometimes when we are posting some values to Netsuite through their API, the API is triggered twice because we may posting the params to the response as the same response from NetSuite. Avoid printing the params in the response. Try this instead of :

Disable Cache for Category TopMenu

Updates from NS to the category header or name will not be worked on the real-time so for that, the layout should be having cacheable false setting. We can achieve the option in the following method.Create a custom module for the changes app/code/VendorName/ModuleName/registration.php app/code/VendorName/ModuleName/etc/module.xml app/code/VendorName/ModuleName/etc/di.xml app/code/VendorName/ModuleName/Block/Html/Topmenu.php

All You Need To Know About Magento 2 Multi Source Inventory

Multi Source Inventory (MSI) was introduced in Magento 2.3.0. This is actually a huge leap for the Magento community as it dramatically improves Inventory Management by allowing the merchants to control inventory for single or multiple sources and sales channels. SourcesThis is the primary element of the new inventory. A source is a place where… Continue reading All You Need To Know About Magento 2 Multi Source Inventory

Getting Visual Swatchs on Phtml file for products

Viewing the visual swatches for the simple products in PLP and PDP pages . This is custom functionility to make the simple product to config by addin the related products with same property but with different color,size and attributes. Here it is done with a object but always convert the object manager to a block… Continue reading Getting Visual Swatchs on Phtml file for products