Code Monkey home page Code Monkey logo

stanly's Introduction

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)

stanly's People

Contributors

ebofi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.