Questions tagged [renderer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
36 views

Magento 2 - Admin Grid - Mass Action Column Custom Render

I have a custom module in admin Magento 2 and I need to render custom data in the mass action column. For Ex. by default checkbox is coming in mass action column that is good. But when we have made ...
1
vote
1answer
17 views

Magento2 Price including TAX/VAT renderer class

Can anyone let me know which class and method is responsible for rendering tax price in product listing page? pricing without tax coming from Magento\Catalog\Block\Product\ListProduct and method ...
0
votes
0answers
33 views

Getting error in RendererFactory.php right after the installation

Right after successful installation I can´t open Magento admin because I´m getting: C:\xampp\htdocs\www\vendor\magento\module-developer\Model\View\Page\Config\RendererFactory.php on line 70 (From ...
0
votes
0answers
41 views

Filter collection of options of custom attribute Magento 2

I have created a custom attribute with dynamic options and every product have specific options from this collection. I want when accessing a product to edit it and make it configurable according to ...
1
vote
1answer
163 views

how can I save the value from a select element in custom config field in magento2

I'm trying to add a custom configuration field in system.xml like this where one of the columns will be a select element instead of a simple input element and will load values dynamically from the ...
1
vote
0answers
19 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
91 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
93 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
58 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
649 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-<?= /* @...
2
votes
0answers
82 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 : ...
2
votes
1answer
74 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
44 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
3k 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
537 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
442 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
601 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
69 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
388 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
500 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
1k 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
2k 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 ...
3
votes
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
851 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
2k 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
46 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 ...
3
votes
1answer
642 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
366 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
263 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
546 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
232 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' =&...
4
votes
2answers
6k 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
1k 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
859 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
244 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
89 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
808 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" ...
4
votes
2answers
11k 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
1answer
524 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
158 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
685 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
990 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 ...
5
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
2k 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
887 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
924 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 ...