Jump to content


alex288

Member Since 19 Sep 2019
Offline Last Active Oct 19 2020 11:58 AM
*****

Topics I've Started

How to Create an Attribute Set Programmatically in Magento 2

19 October 2020 - 11:58 AM

magento-2-add-attribute-set-programmatic
 
 
A script is used to create an attribute set programmatically in Magento 2.
 
Note: You need to create an installer file InstallData.php in Company\Mymodule\Setup and add your code in the file.
 
 
For more details, visit the following article:
 
 

How to Add Customer Attribute Programmatically in Magento 2?

16 October 2020 - 10:08 AM

add-customer-attribute-programmatically-

 

To add customer attribute programmatically in Magento 2, there are 3 basic steps which are:

 

1: create the setup file InstallData.php

 

2: create the source file

 

3: upgrade

 

Visit the following article to check the detailed procedure of adding customer attribute programmatically in Magento 2.

 

How to Add Customer Attribute Programmatically in Magento 2


How to Add Product Attribute Programmatically in Magento 2

14 October 2020 - 10:38 AM

magento-2-add-product-attribute-programm

 

 

Basic steps to programmatically add product attribute in Magento 2

 

1: Create the Setup File InstallData.php

 

File Path: app/code/Company/Mymodule/Setup/InstallData.php

 

 

2: Describe the install() Method

 

<?php

public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context)

{

}

 

 

3: Develop Product Attribute

 

4: Upgrade

 

 

Get more details about these steps by clicking on the link below:

 

How to Add Product Attribute Programmatically in Magento 2


Best Methods to Check Your Running Magento 2 Version

20 August 2020 - 11:34 AM

 
There are multiple methods to check your installed Magento 2 version, some of them are as follow:
 
 
1. Through Composer.json file
 
 
- Log in to your store using FTP/SSH and navigate to the root.
- Open composer.json file.
 
 
Some other methods are:
 
2. By using “magento_version” in the URL
 
3. By using Magento Admin Panel
 
4. By using Command Line
 
 
For more information, please visit this step by step tutorial to check your currently installed Magento 2 Version.

How to Check Magento 2 URL Rewrite Record?

10 January 2020 - 06:31 AM

To check Magento 2 URL Rewrite Record.

 

Go to Admin Panel > Marketing  >  URL Rewrites

It will display a table with all details.

 

Checkout the Complete Article on Magento 2 URL Rewrite Here - https://www.fmeexten...2-url-rewrites/