Questions tagged [custom-template]

The tag has no usage guidance.

1
vote
1answer
185 views

Magento 2 Minicart content not displaying

I'm working on developing my own theme by extending the Magento Blank theme. I'm trying to add the minicart to my header.phtml file. I'm loading the minicart in my header like so: <?php echo $...
1
vote
1answer
112 views

Invalid template file in a custom module

Issue: Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: 'Toogas_Easypay::info/multibanco.phtml' in module: 'Toogas_Easypay' block's name: 'multibanco\info_0'...
1
vote
1answer
49 views

Flush cache in particular template

It is not working in .phtml template $types = array('full_page'); foreach ($types as $type) { $cacheTypeList->cleanType($type); }...
1
vote
1answer
391 views

Block is not calling properly in magento 2 custom module

I have a custom theme in magento 2 website. In home page i called a banner slider(Banner_slider is a custom module) I called the slider like this in home_content.phtml(design/frontend/company/...
0
votes
1answer
21 views

Add custom template in footer in magento2

I have added the custom template in footer. It displayed in all page .But in view page its throwing 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid ...
0
votes
1answer
141 views

Magento 2 new home page template not working

I can't get a custom page template to work in my custom theme. All I'm getting is a blank page. No header, footer, page content, nothing. I have created the following files in my custom theme: /...
2
votes
0answers
625 views

Magento 2: How to move the tier price table under the quantity input box on product view page

I am working on the product catalog page using my customized theme. Is it possible to insert my customized tier_prices.phtml inside my customized addtocart.phtml file? I need to put my tier prices ...
1
vote
0answers
107 views

Getting a cutomer attribute value from a parent block inside child block

I am trying to get a value of my custom attribute linkedin_value to populate a form I have added to customer account edit page but I cannot get to it. As soon as I call $block->anything or $this-&...
1
vote
0answers
70 views

Magento 1 get all checkout child's block on ajax request

I create an action that will return to checkout page when I called it. My code is, echo $this->getLayout()->createBlock('opc/wrapper')->setTemplate('opc/wrapper.phtml')->toHtml(); But it ...
1
vote
0answers
26 views

Custom template in sales (Magento2)?

I want to create a template file in sales->order->create new order for showing custom comment.so i create a template file set in sales_order_create_index layout.But It not displaying in admin order ...
0
votes
0answers
18 views

How Do I Locate the Order Confirmation Email Item Renderer?

I'm having difficulty updating the order confirmation emails that our site is sending. I can find and modify the template in the admin interface and I can find the corresponding items.phtml file in on ...
0
votes
0answers
19 views

magento 2.3 product page layout not showing features

I have upgraded magento from 2.1.8 EE to 2.3.1 Ee. After upgrade the product page layout is not rendering features. Below is the code of my detail.phtml file - <?php /** * Copyright © Magento, ...
0
votes
0answers
9 views

Custom template not applying the proper layout and appearing under menu

We have created a custom template to show some documents and download them. This template is located in the backend. You can access through the menu and the submenu of one of the options. "Dealer ...
0
votes
0answers
19 views

Use form mini instead of user menu

I want to wrap the user menu in a drop down menu, similar to the user menu when the site is visited in a mobile (responsive user menu). Using the debug I saw that the responsive user menu is a ...
0
votes
0answers
21 views

Howto Include Extension Template in Customer Account

We are trying to integrate the output of an extension into a customized phtml template: The extension is called Magetrend Newsletter Popup Pro which normally creates a pop that is being triggered by ...