Skip to content

magento man

Magento layout file not called?

This is my Controller Index.php <?php namespace HikmadhMenuControllerAdminhtmlProduct; class Index extends MagentoFrameworkAppActionAction { /** @var MagentoFrameworkViewResultPageFactory */ protected $resultPageFactory; public function __construct( MagentoFrameworkAppActionContext $context, MagentoFrameworkViewResultPageFactory $resultPageFactory ) { $this->resultPageFactory = $resultPageFactory; parent::__construct($context); } /** * Load the page defined in… Read More »Magento layout file not called?

Need to know how to have calculated results added to cart, using Add to Cart button

I have written a math html to figure out the square footage of boxes of material that a client needs to order. I have loaded it and here is an example page: [https://oflooring.com/hardwood/hf-design-canon-brentwood-hills-collection-bh537ocn-millstone-european-white-oak-7-5-inch-wide-hardwood-flooring.html][1] As you can see on this page,… Read More »Need to know how to have calculated results added to cart, using Add to Cart button

Magento 2: How to add my account side navigation bar on custom page

i have added sidebar navigation to my custom page. but the navigation bar in showing end of the page. how can i move it to page left side. following is the layout file i created. <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” layout=”2columns-left” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <update… Read More »Magento 2: How to add my account side navigation bar on custom page