Questions tagged [renderer]

The tag has no usage guidance.

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

Create custom renderer

I need to create a custom attribute renderer using Magento components. So how can I apply Magento .js component and element .html template inside the renderer? Please help.
user avatar
  • 163
0 votes
0 answers
4 views

Duplicate the website is rendering my custom page blank

Due to some issues, my had to duplicate by website on another server, with the same specs (php version, apache...) But for some reason, some of my page are not blank. I've seen this before, I changed ...
user avatar
0 votes
0 answers
55 views

Private content for a JS script only, without rendering a HTML template

There is a lot of articles, blogs and stackexchange posts about inserting private content into a HTML template with knockout and data-bindings. And I know how to do that. But... How to use Magento2's ...
user avatar
0 votes
3 answers
204 views

Object of class Magento\Framework\View\Page\Title could not be converted to string

We just recently tested upgrading from M2.2.4 to M2.3.7 and have ironed out most of the issues, however when trying to load a page, we get the following error: Fatal error: Uncaught Error: Object of ...
user avatar
  • 207
0 votes
1 answer
245 views

Render custom price-type in PDP page

I have a requirement where I want to show the annual product price for virtual products. I have created products but custom options and added pricing for individual options. I have also added 2 new ...
user avatar
0 votes
1 answer
53 views

checkout onepage review item file override issue

I am trying to override the review/item.phtml file of checkout module into my custom module. app\code\Vendor\Module\view\frontend\layout\checkout_onepage_review_item_renderers.xml <?xml version=&...
user avatar
  • 135
1 vote
0 answers
44 views

Admin panel is not rendering properly

I just made a custom module in Magento 2 and now the header and Magento admin panel is not being rendered properly. I already upgrade the setup and clean the cache and reindex all the grid. When I ...
user avatar
0 votes
0 answers
201 views

Magento 2 in custom grid click action result redirect given object object

I have created my custom grid increment id is click to result in redirect sales order view page. But given the action return object object. file-path vender/module/view/adminhtml/ui_component/...
user avatar
0 votes
2 answers
1k views

Magento 2 combine two functionality s using a single mixin js file?

I would like to override Magento_Swatches/js/swatch-renderer.js file using mixins concept. I would like to club two functionalities in a single file. here is the code I have written please Note 2nd ...
user avatar
0 votes
1 answer
172 views

Image is not showing in my custom grid of Magento 1.9.4.3

I am trying to add an Image using my custom admin form. The image is saved while uploading it via custom admin form. But does not displays in the admin grid image column of my custom-created module. ...
user avatar
0 votes
2 answers
283 views

Can't edit HTML of a field in admin area

I want to edit HTML of "Url key" field in product editing form in Magento 2 admin area appending some additional HTML to it. Magento 2.2.9. I tried editing method UrlKeyRenderer::getElementHtml() but ...
user avatar
  • 85
1 vote
1 answer
169 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 531
1 vote
0 answers
21 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 ...
user avatar
  • 223
0 votes
0 answers
157 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'), '...
user avatar
  • 307
0 votes
1 answer
227 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->__('...
user avatar
  • 360
1 vote
2 answers
1k 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 ...
user avatar
  • 73
2 votes
2 answers
4k 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-<?= /* @...
user avatar
  • 337
2 votes
0 answers
148 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 : ...
user avatar
2 votes
1 answer
260 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($...
user avatar
0 votes
1 answer
141 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 ...
user avatar
  • 1,458
1 vote
1 answer
5k 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
user avatar
  • 2,418
2 votes
2 answers
2k 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.
user avatar
0 votes
1 answer
863 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(...
user avatar
  • 11.4k
1 vote
0 answers
1k 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/...
user avatar
  • 1,474
0 votes
1 answer
79 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 ...
user avatar
  • 11
2 votes
1 answer
1k 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('...
user avatar
  • 1,682
0 votes
1 answer
728 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 ...
user avatar
  • 166
1 vote
1 answer
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['...
user avatar
  • 3,585
2 votes
1 answer
4k 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 ...
user avatar
  • 889
4 votes
1 answer
4k 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
user avatar
2 votes
1 answer
2k 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 ...
user avatar
  • 7,372
3 votes
3 answers
3k 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 ...
user avatar
2 votes
1 answer
63 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 ...
user avatar
  • 788
3 votes
1 answer
800 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 ...
user avatar
0 votes
0 answers
552 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()); ...
user avatar
2 votes
0 answers
291 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.
user avatar
  • 385
2 votes
1 answer
1k 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\...
user avatar
  • 2,602
0 votes
0 answers
257 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' =&...
user avatar
  • 172
9 votes
2 answers
10k 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 ...
user avatar
  • 2,869
1 vote
1 answer
2k 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. ...
user avatar
  • 866
0 votes
2 answers
1k 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' ...
user avatar
  • 1,473
0 votes
1 answer
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); $...
user avatar
  • 95
1 vote
1 answer
281 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" ...
user avatar
0 votes
1 answer
99 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 ...
user avatar
  • 619
3 votes
1 answer
3k 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 ...
user avatar
  • 237
1 vote
2 answers
1k 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" ...
user avatar
6 votes
3 answers
20k 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 ...
user avatar
5 votes
1 answer
1k 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/...
user avatar
0 votes
2 answers
163 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 ...
user avatar