Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 948 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 948 Bytes

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)