New answers tagged

1

I found the solution. https://newbedev.com/rendering-a-html-tag-in-grid-magento-2 Add this to Ui_Component column <item name="bodyTmpl" xsi:type="string">ui/grid/cells/html</item>


0

try to make different customer groups instead giving each customer an attribute. Magento keeps different caches for different customer groups. So you can easily hide prices (or whatever) for one group and show to other, making check right in the price block. Please take a look at this example.


0

I was too facing the issue that despite doing everything as per core still my save button wasn't working. While googling I found this link : https://www.pierrefay.com/magento2-training/form-component-backend-crud-admin.html And when I did exactly like this page told me. The save button worked.


0

You need to put the below code inside your "24_hours" field's setting. <switcherConfig> <rules> <rule name="0"> <value>checked</value> <actions> <action ...


0

Have you tryed creating a new function as below and use that? /** * Retrieve Custom path * * @return string */ public function getCustomPath() { return $this->basePath.”app/code/Vendor/Module/web/images/”; }


1

in your listing.xml file above the line <item name="update_url" xsi:type="url" path="mui/index/render"/> add the id you are passing in the url like in my case <item name="filter_url_params" xsi:type="array"> <item name="page_id" xsi:type="boolean">...


1

The validate-number-range rule must have the type string and should have the range as its value, e. g. <rule name="validate-number-range" xsi:type="string">1-50</rule>. Example snippet: <validation> <rule name="required-entry" xsi:type="boolean">true</rule> <rule name="...


Top 50 recent answers are included