Add Accordion Drop down Button https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_accordion_symbol https://www.jqueryscript.net Add Read More button https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_read_more Get current url
<?php $this->getLayout()->->createBlock(“\Magento\Catalog\Block\Product\View”)->setTemplate(“Magento_Catalog::product/social.phtml”)->toHtml();?> Above is block \Magento\Catalog\Block\Product\View We can use the methods of above block phtml page.
Custom themes are located in the app/design/frontend directory. Lets say a theme with name Anees_Mytheme. The parent theme is defined in parent node in theme.xml. To find out the phtml path of file on any page run the command bin/magento dev:template-hints:enable If you want to modifying a template from the Magento_Catalog which is often located […]
Describe how to use Magento modes. What are pros and cons of using developer mode/production mode? When do you use default mode? How do you enable/disable maintenance mode? There are three Modes in Magento 2 Default mode By default, When there is no mode it will be default mode.This mode is set by default during […]