Magento 2 use ISO 3166-1 two-letter country code as a value of country dropdown, but sometimes you may need a three-digit numeric code (numeric-3) and this is not provided by Magento. There is no way in the Magento to get country numeric code using country two-letter code.
Continue reading “Magento 2 Get a Country Numeric Code Using Country Code”Magento 2 Hide Product Price for Specific Customers
Magento 2 commerce edition allows hiding product prices for all or specific customers groups. This feature helps merchants to hide prices for a specific group of customers. Like, do not display a price for the retailer if a website is B2B
Continue reading “Magento 2 Hide Product Price for Specific Customers”How to use cURL in Magento 2
cURL (client URL) is used to call third-party API data on your website. As a good Magento developer, you should avoid PHP default cURL in your Magento 2 website. Magento provides a cURL class to transmit HTTP requests and receive responses from third-party services. The Magento class for cURL is Magento\Framework\HTTP\Client\Curl
Magento 2 Execute Existing Data Patch
Magento 2 data patches run once when you install a module or when you upgrade to the latest version. When you are testing some modules then as a Magento developer you may have to run data patches multiple times.
Continue reading “Magento 2 Execute Existing Data Patch”Magento 2 Hide Add to Cart for Specific Customers
NOTE: This feature is provided by Adobe Commerce (Magento Enterprise Edition) only.
When the Magento website is B2B and merchants do not want to allow some group of customers to purchase the items then Magento provides a feature to hide the add to cart button from the website for specific customers group.
Magento 2 Clear Customer Shopping Cart from Admin
NOTE: This feature is provided by Adobe Commerce only.
If you are managing the Magento commerce cloud website and it is B2B, then you may face sometime website getting stuck, the reason could be that some customers add too many times to the shopping cart. At that time you can clear a specific customer’s cart from the admin.
Magento 2 db_schema_whitelist.json file not creating
If you don’t know how to create db_schema_whitelist.json file then please check our previous blog post of how to create db_schema_whitelist.json file using CLI in Magento 2
Continue reading “Magento 2 db_schema_whitelist.json file not creating”Magento 2 Create db_schema_whitelist.json File
From Magento 2.3 and the higher version, Magento introduced the declarative schema for install and upgrade database tables and fields.
Continue reading “Magento 2 Create db_schema_whitelist.json File”Magento 2 Change Sequence of Credit Card Type
One of our client asked to update the sort order of credit card type of Magento 2 custom payment module. The reason is, they want to display a specific credit card logo in the first position, like display VISA logo at first. If you are looking to do the same then this blog post by Dhairvi Solutions helps you.
Continue reading “Magento 2 Change Sequence of Credit Card Type”Magento 2 CSS and JS not loading in the Localhost of Windows System
When you install and set up Magento 2 eCommerce website in the windows system then you may see that all the CSS and JS are missing.
Continue reading “Magento 2 CSS and JS not loading in the Localhost of Windows System”