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 [renderer]

The tag has no usage guidance.

1
vote
0answers
13 views

Render full header from API

I need to pass the whole header to another website through an API. Do not ask why, this is the task. I asked some help from one of my colleague, he suggest me to create a controller, what has a ...
0
votes
0answers
48 views

CSV Export missing the custom column field added by renderer magento

Because my grid has a problem when join table, so I used renderer to show data like this 'brand' => array( 'header' => Mage::helper('advr')->__('Brand'), '...
0
votes
1answer
25 views

Filter columns with renderers but without an index

I'm adding a column like so in _prepareColumns() method of a class that extends Mage_Adminhtml_Block_Widget_Grid: $this->addColumn('status', array( 'header' => $this->helper->__('...
0
votes
2answers
28 views

How To Pass A Custom Price Value To Product List Price Renderer In Magento 2?

We have come across an issue that I'm trying to solve. In order to overcome this bug https://github.com/magento/magento2/issues/10009 where discounted prices are not applied per customer group, I've ...
1
vote
1answer
261 views

Extend Swatch rendered js file

How to extend the Swatch rendered js file in my custom module? I have override the phtml template files. <script type="text/x-magento-init"> { "[data-role=swatch-option-<?= /* @...
0
votes
0answers
40 views

How to set bundle product renderer in custom module?

I want to get bundle product options: like this I have added setTemplate bundle/options.phtml file with Magento\Bundle\Block\Catalog\Product\View\Type\Bundle class now i am getting message : ...
0
votes
0answers
21 views

How to get bundle product renderer in plugin?

I have created a plugin to set bundle product renderer in custom module but i am getting blank array why ? public function aroundGetOptionHtml( \Magento\Bundle\Block\Catalog\Product\View\Type\...
1
vote
1answer
38 views

Magento 1.9 - Custom Attribute - input_renderer / frontend_input_renderer not going into database

I'm creating an attribute like this $installer = new Mage_Eav_Model_Entity_Setup('core_setup'); $installer->startSetup(); $entityTypeId = 'catalog_product'; $installer->addAttribute($...
0
votes
1answer
21 views

Pass extra class for stock in Swatch Magento2

I want to pass an extra class to swatch class which is formed via swatch renderer js based on the stock. The reason is the swatches are not being hidden if they are out of stock. This is what I am ...
0
votes
1answer
2k views

How the payment methods are rendered and displayed in checkout page in magento 2

I wish to know how the payment methods are rendered in checkout page in magento 2
1
vote
2answers
401 views

How do I render a cms/blocks collection into attribute list from product tab Magento 2?

I have create an attribute and I want to render an cms blocks as attribute values in Magento 2. Please do provide some go on it and I have done research about it but no clue so far. Thanks.
0
votes
1answer
331 views

Issue in AddColumn dropdown options

I want to add some column as a drop drown with some values (not in grid)but I can't get Them , I don't know why ! Test 1: $this->addColumn('somme', array( 'label' => Mage::helper(...
1
vote
0answers
516 views

Send custom order email to vendor in magento 2

I am trying to send a custom mail to vendor based on email address in one of the product attribute. I have created following file app/code/Company/ModuleName/view/frontend/layout/...
0
votes
1answer
65 views

Magento load layout handle directive programmatically, setData() issue [closed]

Magento load layout handle directive programmatically When I used the code given in the above link, It throws an error when cache is turned on. Noticed that this issue occurs when "Layouts" cache is ...
2
votes
1answer
279 views

Magento grid column filter by text instead of id

I created a column for my grid using renderer to change id to name like this: $this->addColumn( 'city_destination', array( 'header' => Mage::helper('...
0
votes
1answer
408 views

Render column based on another column's value

I'm making a custom grid that shows the ID and the status of specific orders. It is currently like this: I wanna make column Order ID background color change, depending on Status column value. How ...
1
vote
1answer
879 views

Filtering custom value from rendering column issue in Magento 1

I created my own collection with custom data. This is part from my grid class: my grid class extends Mage_Adminhtml_Block_Widget_Grid ... $this->setCollection($collection); array_walk($data['...
0
votes
1answer
1k views

Magento2 How to custom column in sales order item renderer in admin order view

I need to add custom column in admin sales_order_view for each item listing with the help of renderer. For example, there are some predefined columns like name, status, price, qty, discount etc are in ...
1
vote
1answer
2k views

How to use Renderer in UI Component in Magento 2

In my custom module grid i have to use custom grid column which render a field and create custom html content how to implement it in Magento 2
2
votes
1answer
670 views

Get Product Custom Option Html In Custom Page

I am trying to render custom option in my custom page. I found an example for magento 1 here but it dint work out as in magento 2 addOptionRenderer is removed I guess. I tried this to call in from ...
1
vote
3answers
1k views

filter_condition_callback using Ui Component - Magento 2

I have a customer column in my custom module admin grid (created using UI component) where I show the customer name. But in database I save customer Id. I need to use the filter on customer name as ...
2
votes
1answer
45 views

In my multi store website cart item price is not convert as per selected country's currency

In my multi store website cart item price is not convert as per selected country's currency.Default currency is USD, When i change my store currency is changed but price display in USD insted of ...
4
votes
1answer
576 views

How to create custom address renderer

How to create custom address renderer with the following template in one line {{var street}}, {{var city}}, {{var region}} {{var postcode}}, {{var country}} I can't change the native address ...
0
votes
0answers
351 views

how to show the value in custom grid without saving in table in magento 1.9

I am trying to show a column in grid using renderer . here is my renderer file public function render(Varien_Object $row) { $value = $row->getData($this->getColumn()->getIndex()); ...
2
votes
0answers
240 views

magento2 - How to render or use custom html element for attribute in edit admin form of product?

I want render one of attribute in edit admin form of product use my custom html, ex: name, display link to view product page and input edit together. If anyone know, please advice.
2
votes
1answer
466 views

Modify the minicart price issue on Magento 2

I am trying to modify the price in mini cart with a custom product attribute now the price in the minicart come from: myproject\vendor\magento\module-checkout\view\frontend\web\template\minicart\...
0
votes
0answers
199 views

Sorting custom column renderer

I have this column i added. How can i sort it? i can click on sort, but well it doesnt really sort right. My grid looks like: $this->addColumn('sn_suppliers_noos', array( 'header' =&...
2
votes
2answers
5k views

Customise a custom product attribute input renderer in Magento 2 the right way

I'm facing to a very ridiculous trouble, I added a custom product attribute with source model, backend model as a select box. Everything works fine (my custom attribute will get the values from a ...
1
vote
1answer
910 views

How to call admin form field renderer in magento 2

Question is very clear. I want to display custom drop-down options which are collection of other custom module in admin form. I did something like this after @Sohel Rana suggested This question. ...
0
votes
2answers
711 views

Renderer function not work in magento grid

I don't know what is the problem with my code. Gird $this->addColumn('category', array( 'header' => Mage::helper('udropship')->__('Cateogry'), 'index' ...
0
votes
1answer
1k views

How to use template file for grid column renderer in magento?

If I have a method in my renderer class: public function render(Varien_Object $row) { $rowValue = $row->getData($this->getColumn()->getIndex()); $data = unserialize($rowValue); $...
1
vote
1answer
233 views

Add custom input_renderer to an existing attribute

I've been searching for 2 hours now... I want to use a custom_renderer on the product view for the "color" attribute. Many answers posted here are adding new attributes and setting "input_renderer" ...
0
votes
1answer
86 views

CE 1.9.2.4 - Custom Address adminhtml field input

I'm working on a Magento site meant for employees from different departments within a company to purchase goods. I've created an installer to create the address attributes which shows correctly in the ...
3
votes
1answer
2k views

Magento load layout handle directive programmatically

In an e-mail template I found this layout handle which is displaying an overview of purchased products: {{layout handle="sales_email_order_items" order=$order}} I'm trying to load this layout handle ...
0
votes
2answers
709 views

How in Block a productcollection of template render?

How in Block app/code/Name/Name/Block/Rewrite/TopMyMenu.php a productcollection of template "vendor/magento/module-catalog-widget/view/frontend/templates/product/widget/content/grid.phtml" ...
2
votes
2answers
9k views

How to use renderer in column ui component grid in magento 2

I want to use renderer on certain column of grid.I need hint/suggestion.I used this tutorial for creating a grid in magneto2 https://ranasohel.me/2014/04/20/creating-magento2-adminhtml-grid/. I used ...
3
votes
0answers
443 views

Pdf xml in Magento 2?

When developing a payment fee, I want to add a surcharge fee to Pdf. I found the pdf.xml config. However, I don't know how it works. Can anyone help me to explain the config pdf xml. vendor/magento/...
0
votes
2answers
152 views

My downloadable product page showing html source only

I have installed theme http://themeforest.net/item/hosoren-responsive-magento-fashion-theme/12784020 It's working fine. But when I click on My Downloadable Products link from my account section, it ...
2
votes
0answers
643 views

How to set input renderer on attribute for custom entity?

I'm trying to use an input renderer for a text attribute in my custom entity, however it doesn't seem to be working. I'm creating my ambassador entity in my setup file like this: <?php /* @var $...
3
votes
1answer
848 views

Custom renderered column sorting not working magento2

I have created the custom grid with one custom column(Products) by renderer method which shows product name. When I tried to apply sorting it looks the custom table in which other columns exists but ...
6
votes
1answer
2k views

Export a field from custom model grid with a diferent render to Csv

I created a custom column on sales order grid. It works as well but a used a custom render on a field (like this). When I export the grid to CSV, the file contains the raw value, but I need apply ...
2
votes
2answers
5k views

How to sort custom renderer column in magento grid

I want to sort custom rendere column in magento grid. See below image-- As in above image Sorting is done using Status column, but it is is showing wrong. I want to sort it like active,on hold,out ...
0
votes
3answers
1k views

Magento 2 Renderer generates “Fatal error”

I don't understand what is wrong with this Renderer code: <?php namespace Darsh\Banner\Block\Adminhtml\Grid\Renderer; use Magento\Framework\DataObject as DObject; use Magento\Framework\Data\Form\...
0
votes
1answer
834 views

Rendering price in Grid output

The code I am using is: $this->addColumn('grand_total', array( 'header' => Mage::helper('sales')->__('Total'), 'index' => 'grand_total', 'filter_index' => '...
0
votes
1answer
868 views

Is that possible to add Textarea in Order Grid view

How to insert a personal note or text area on order grid page for each order, This should save when entered the text. is that possible using Renderer. If there is any module for this please suggest, ...
2
votes
1answer
1k views

Bundle Products - how to use 2 different renderers for bundled product options? (to show in tab)

I need two renderers for Bundle Product Select Style Options, to show the same thing differently in two places. Context: At the moment all my bundle products are fixed (wine cases). I have decided ...
3
votes
2answers
921 views

How do I render country name from country_id in Adminhtml grids?

Is there a built-in column renderer for that, or should I build one myself?
3
votes
1answer
796 views

Magento renderers empty

I have the following line my configurable.phtml $_renderers = $this->getChild('attr_renderers')->getSortedChildren() But this throws the following error: Call to a member function getChild() ...
7
votes
2answers
21k views

How to use custom html element in admin form field?

$fieldset->addField('rating', 'label', array( 'name' => 'rating', 'label' => Mage::helper('sellerreview')->__('Rating'), 'title' => Mage::helper('...
4
votes
1answer
3k views

How to join a collection with a query

I have a table represented in backend with two rendered fields, but when I try to make a CSV export from this grid, those two fields are not included. So I tried to make a join from the initial ...