Questions tagged [template]

The folder that contains all the `phtml` files used to display at frontend or backend.

303 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

Odd text characters appearing next to menus, in links and replaced social media links on Theme256K

We have suddenly found text characters next to the menu items on our site. Links for catalogue products also have a | symbol which is not normally there, and the small thumbnails for the social media ...
0
votes
1answer
443 views

How to make an overlay popup window on magento 1.9.2.3?

I was wondering if you could help me with the code that i should paste on promotion template in order to make a overlay popup window? I need to make a popup window come up when a customer puts a ...
0
votes
1answer
27 views

new theme activation

I am activating a new theme on a page that has a previous premium theme so now when I click on "activate", it shows me this error: And I have 2 options: Leave as is Override I do not want to lose ...
0
votes
0answers
62 views

Can't overwrite js filed in Magento 2

I tried to overwrite **date.js(module-ui/view/base/web/js/form/element)** and **range.js (module-ui/view/base/web/js/grid/filters)**in my custom theme but it's not working. it not take me the changes ...
0
votes
0answers
18 views

Overwrite review template and review list block magento

This is my layout: <catalog_product_view> <reference name="product.info"> <block type="namespace_module/review_product_view_list" name="review_productaa" ...
0
votes
1answer
604 views

How to get product description in wishlist?

I just started to learn Magento2 and never dealt with Magento before. I have custom theme where in wishlist I need to show product description. So here /app/design/frontend/Vendor/Theme/...
0
votes
1answer
555 views

Add custom template after_body_start in adminhtml

How to add a custom template just after body tag in adminhtml in magento? All working fine if I am trying to add custom template in head but failing if I am doing the same to include custom template ...
0
votes
2answers
187 views

Magento admin page not rendering anything

I'm learning how to create new pages for my custom extension in magento2 admin. However when i go to that admin page it's blank. I've got a controller: <?php namespace ZET3K\Tracker\Controller\...
0
votes
1answer
219 views

Inserting NEW argument to block constructor via layout and get it in template

Can someone provide working example how to it? I've heard that also it is good way to replace completely block class in layout for custom one extending from replaced one and then just add to custom ...
0
votes
1answer
298 views

Email Template processing Error

I am getting an error in the email that is received. The email has an error at the top and the bottom and it also appears the css isn't styling the template. Located at the top of the email: {Error in ...
0
votes
1answer
695 views

Cannot Load Page Items

On the front page of our site, some of the modules are not loading with a simple error message in place. "We're sorry, an error has occurred while generating this email" On looking in the exception ...
0
votes
1answer
38 views

Header issues with custom links

I have an issue. I put some custom links to my header. It looks like this for all my web-site pages now: http://joxi.ru/52aRPqZu4kVjlA However, for some reason on my home page those links are not ...
0
votes
1answer
506 views

Location of Quick View template

I am using Athlete Package in Magento 1.8.1.0. I would like to know the location of template of Quick View button which I get when I hover mouse on any Product.
0
votes
0answers
41 views

Custom Admin Template doesn't seem to be working

I want to be able to use a custom template on the backend of Magento also known as the Admin Panel. I have Magento 1.7! In my controller: app/code/local/Sean/AdminMerchant/controllers/...
0
votes
0answers
36 views

How to tell Magento that there is new block available, so that it can be used in a template with ->getChildHtml('name_of_that_block')

How to tell Magento that there is new block available, so that it can be used in a template with <?php $this->getChildHtml('name_of_that_block'); ?>? I want to pull in my Block and template ...
0
votes
2answers
122 views

Custom phtml not getting called from the Block magento

On a button click, when my controller redirects to a new form, i want my custom phtml file to be called from the block. But neither my Block or my phtml does seem to be called. I guess I have missed ...
0
votes
1answer
84 views

text file attribute

I would like to have text files with text for each of the brands i carry i am using this to call the brand logo and link to brand page <?php $brand=$_product->getAttributeText('brand'); echo ...
0
votes
1answer
14 views

CSS not connecting-Help!!!!

I am freaking out- as all things I am about to launch our Magento in 2 days. I made some minor changes in the XML files and updated the logo through our FTP. Came back and recached- everything looked ...
0
votes
1answer
443 views

Magento 2 checkout index, remove shipping info

In the checkout step, checkout_index_index, I'm wondering if anyone knows how to remove a column from the shipping options table (specifically the rightmost one)
0
votes
1answer
592 views

Calling block's method in template doesn't work

I'm trying to create custom admin module in Magento CE 1.9.2.4. The module has two blocks because I thought it would be nice to move the logic parts of these views into their block files. So the ...
0
votes
1answer
413 views

bundles - how to remove price from associated products in cart

I have Bundle product, with fixed price. but when I add it to the cart it shows 0.00 or price for individual items associated in bundle below product. http://prntscr.com/clt0em How to removce those ...
0
votes
1answer
45 views

How to override template in magento 2.0?

Based on the theme development documentation http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/themes/theme-create.html here I could create a space for new theme in magento 2.0 but overriding ...
0
votes
1answer
41 views

How can I change the template loading order?

As we all may know, when you set a template package at the admin it'll use it's default folder to provide the .xml and .phtml files. If the system doesn't find the necessary file, it will load it from ...
0
votes
2answers
657 views

how to pass $_product instance to createBlock in Magento?

I want to pass $_product instance to createBlock, I have done below code but it does not working. I have written this code on product listing page list.phtml file. echo Mage::app()->getLayout() -&...
0
votes
1answer
538 views

Cannot add fields before name widget - magento 2

I'm trying to add a field in the "new customer" form, so i would like to put something into customer_account_create.xml layout, precisely in the block <block class="Magento\Customer\Block\Form\...
0
votes
1answer
75 views

How to edit “Bank Transaction Fee” total title

I am trying to edit the name of "bank transaction fee" to "handling fee" but I cant find the word "bank transaction fee" in the template. Where can I edit this word? This is the code for that but I ...
0
votes
1answer
95 views

Validate Store Code and Redirect

I have input field in Header.phtml and user can enter store code.If the store code is valid it should redirect to Website/store/{storecode}/index.php. Can you please tell shortest way to validate the ...
0
votes
1answer
14 views

Why would the content area for a page say

I inherited an account from someone. I went to make changes to a pages content and in the Content Area it is blank and simply says "in PhP file". And the page editor no longer works. What did the ...
0
votes
1answer
274 views

Magento 2: How to display product attribute in new window?

In the sizing section of the product pages, I want to include a link which display the item's measurements in a new window. You can check this page from netaporter to see what I mean. When you click ...
0
votes
1answer
22 views

Magento template for 1.7

i was searching through a template store and they have magento templates for version 1.7 however im using 1.9.2.x. Will the template need to be recoded or just needs to be put into the right directory ...
0
votes
1answer
143 views

How to add a span tag to template in the onepage checkout?

I need to add a span-Tag next to the radio-Buttons in the payment template of the checkout. And my question is HOW DO I DO THAT? I can't find any template that matchs. There are several templates for ...
0
votes
1answer
2k views

Javascript in ajax loaded modal popup

I'm working on a module that needs to open modal window and show some content inside of it + some js logic. So I load template with ajax request which works just fine: (simplified template): <...
0
votes
1answer
498 views

How to call the image of 'multiple select' attribute to frontend?

In magento 1.9.2.4, I need to map the options of 'multiple select' attribute with the image to display at frontend. I have created an multiple select attribute with options like below (item1,item2, ...
0
votes
0answers
100 views

get index of item in cart

I want to change the templates checkout/cart.phtml and checkout/cart/item/default.phtml respectively so that it shows the index of the item in the table (i.e. "Positions 1 through x"). I couldn't ...
0
votes
0answers
3k views

Magento 2 - Update Cart Block with Custom Discount Value

Magento 1.9 version - Controller file protected function myAjax() { $layout = $this->getLayout(); Mage::getSingleton('checkout/session')->setCartWasUpdated(true); $totalsBlock = $...
0
votes
1answer
197 views

Layout getOutput() return different if cache enabled or disabled

UPDATE : it actually return the right value as long as the "Layouts cache" is disabled, but when I enable it the output is becomes incorrect. I have this very simple piece of code which is supposed ...
0
votes
1answer
450 views

How to add a custom parameter in javascript template?

I'm working on the javascript templating system. I successfully created an x-magento-template (see here) But I still don't understand how magento work with it internaly. My template looks like that ...
0
votes
1answer
310 views

Custom button disabled by default?

I'm overriding one template, in order to allow multiple payments, so it have to have a button to call an aditional form, the thing is the button is already disable when the template is loaded. The ...
0
votes
0answers
358 views

Sender name in email template is wrong - But only sometimes

In my build I've made an email template looking like this <h3>Informationer om tilmelding</h3> <p>Lokation/Hotel: {{var hotel}}<br /> Dato: {{var date}}<br /> Navn og ...
0
votes
1answer
564 views

Call to a member function getTemplate() on boolean in

After activate cache I got this error in controller: Fatal error: Call to a member function getBlock() on string Below is my controller action code: public function loginAction() { if ($this->...
0
votes
1answer
244 views

Why am I getting the wrong URL?

I am getting the wrong URL in an admin template. The URL should be the same URL that the user is on, but with parameters added. Why is the code returning what seems like the base URL? How do I ...
0
votes
1answer
139 views

Display header in controller method

Is there any way to display header and footer in controller method without using $this->loadLayout(); $this->renderLayout(); these two lines in a controller method. I have created one template ...
0
votes
1answer
295 views

Modifying the layout of product options in both shopping cart page and Order review checkout section

I would like to display the product options differently which appear: In the shopping cart page In the Checkout section "Order review" Here are pictures showing what I need to do: When we get ...
0
votes
1answer
371 views

Custom template error after update magento from 1.9.0.1 to 1.9.2.3

Warning: Missing argument 1 for Mage_Core_Block_Template::setTemplate() in /var/www/magento/app/code/core/Mage/Core/Block/Template.php on line 111 0 /var/www/magento/app/code/core/Mage/Core/Block/...
0
votes
2answers
631 views

Magento: Special Product with price input field

I have a lot of standard products in my magento. Now i need a special kind of products. Everythink is the same like a stanard product, only hidden price. Every special product have this formular: ...
0
votes
1answer
917 views

How to override or extend Product List Page template to show Icon on Product Images in Magento Extension

Consider the Below Image I want to show an Icon on the Image of each product. I am developing an extension and I want to do this task via that extension, independent of theme. How can I achieve this ...
0
votes
1answer
488 views

Magento Override Progess Block Template

I would like to override shipping method template of the progress block in checkout page. Below is the code I've tried but its not working. Any help would be appreciated. <...
0
votes
0answers
835 views

Creating a custom product page layout template for a single product

My goal is to create a new product page layout to be used for specific products. The products will always be a Grouped item (but not all grouped items) and I want to be able to select the template on ...
0
votes
1answer
176 views

“Manage Categories” not found for attribute from Backend

I try open "Manage Categories" in backend page but I get error page: There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record ...
0
votes
1answer
91 views

How to change a template file the right way?

I want to add an additional CSS class to my template which is located here: app/design/frontend/default/ves_fashion/template/persistent/checkout/onepage/login.phtml I am asking myself now what is ...

1
3 4 5
6
7