Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [render]

The tag has no usage guidance.

12
votes
4answers
5k views

Magento 2 - Render custom product collection via list.phtml

The product grid of a category page (frontend) is rendered via layout in catalog_category_view.xml. Lets say I have a custom product collection (which I got via ProductRepositoryInterface::...
0
votes
2answers
301 views

Template not loading on checkout/cart page

I've installed a module which explicitly describes that the layout should be updated in order to see the template file. I've done this, but it's still not showing and I can't figure out why. Here is ...
1
vote
1answer
448 views

How to change order in the summary order?

in my file phtml I have method: <?php echo $this->renderTotals(null, $_colspan); ?>. I want to change order from subtotal, combined order shipping grandtotal to subtotal, combined ...
0
votes
1answer
45 views

render different layout (rather than the default one)in controller

the case is as follow i create a module that save articles in DB and when the the saving is successfull i need to redirect the user to thanks page .the contoller render the default layout in the index ...
0
votes
1answer
84 views

Optimize the render path (Magento 1.X)

Using Google Speed Insight, webtestpage.org, gtmetrix.com it says me make several modifyies to optimize and speed up my site render. They say to inline small js, defer parsing js, inline small css. ...
0
votes
1answer
79 views

Magento2 css taking ages to load

I am creating a custom theme and the page always renders without the css formatting for about 10 seconds before loading properly. Is this a configuration issue?
2
votes
0answers
142 views

Appending product list with custom collection

I am making a small module to display a product list with content depending on the URI. /storeid/parts/ would be the base, with all parts/products /storeid/parts/mobile would contain all parts in ...
2
votes
0answers
167 views

input_renderer does not come in action - Widget_Form

Taking example from this link http://inchoo.net/magento/adding-magento-attribute-with-custom-input-renderer/ I create my renderer and associate it to a attribute in setup.php file: ...
1
vote
0answers
406 views

Make Magento render complete HTML

I'm new to Magento I get this template that I don't want to split into multiple blocks. I just want to render the page as it is (not only, but this is something I can try to understand later) when I ...
1
vote
0answers
111 views

Rendering: only <body> content visible on some pages

Almost all the page's render correct. Currently i have 1 (product) page which shows only the content of the tag. When i view the source, the html,body, head tags are all gone (both opening and ...
1
vote
0answers
41 views

Rendering Custom Customer Attribute issue

This is my code: $attributeCode = 'customer_custom_field'; $attributeData = array( 'label' => 'Customer Custom Field', 'input' => 'text', 'type' => 'text'...
0
votes
0answers
76 views

Magento 2 custom parameter type in the widget

How can I create a custom parameter type, and use it in my widget? Basically, I want to create a drop-down menu with a different background color for each option. Thank you 😊