Skip to content
/ Stanly Public

This is a Simple Code for Magento 2 implementing Custom Attributes to Custom tabs in Product page

Notifications You must be signed in to change notification settings

ebofi/Stanly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stanly

This is a Simple Code for Magento 2 implementing Custom Attributes to Custom tabs in Product page

Installing this Module

Copy the files Stanly.zip to app/code/ and extract it. Now goto your magento admin and find the attribute name that you wish to show in custom tabs in the products listing page (front end). And open the file Stanly\incre\view\frontend\layout\catalog_product_view.xml , there you can find " Custom Tab Title " , replace it with your custom tab titles

After that goto Stanly\incre\view\frontend\templates
You will find two .phtml files called extra tab and extra tab 2. Open that and replace your attribute codes.

Now on Magento SSH Cli

php bin/magento setup:db-schema:upgrade

php bin/magento setup:db-data:upgrade

php bin/magento cache:clean && php bin/magento cache:flush

Now you can see on your product details page the custom attribute you created is displaying as a Custom CMS block ( custom tab)

About

This is a Simple Code for Magento 2 implementing Custom Attributes to Custom tabs in Product page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published