I’ve created custom .phtml file in app/code/Trustmate/Opinions/templates/trustmatewidget.phtml Here I add short link to .js code called code from url with reviews slider on bottom page. Then I created a new block: <p>{{block class="MagentoFrameworkViewElementTemplate" template="TrustMate_Opinions::trustmatewidget.phtml"}}</p> Now I referesh page. The widget appears on the frontend, but there is a some conflict […]
Magento
For adding custom fields to Orders Grid i choose this way: Magento2 : sales order grid add new column with it’s values I create file [Vendor]/[Module]/view/adminhtml/ui_component/sales_order_grid.xml With code: <?xml version="1.0" encoding="UTF-8"?> <listing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd"> <columns name="sales_order_columns"> <column name="export_status" class="[Vendor][Module]UiComponentListingColumnGiftstatus"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="visible" xsi:type="boolean">true</item> <item name="label" […]
I used the Magento 2 plugin in PhpStorm to to create an entity with grid and form. It seems to work great until I renamed the fieldset name to “foo” and added tabs. I already looked up many related posts / questions and did some digging in de vendor folder. […]
I would like to remove js file on frontend side from the [magento_root_direcotry]libwebjqueryui-modulessortable.js path I tried to remove JS file by below code but no luck I tried to remove js code in following path /app/design/frontend/Smartwave/porto_child/Magento_Theme/layout/default_head_blocks.xml Here is the code which I put in default_head_blocks.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <head> <meta […]
I believe the Amazon integration is out of the box when it comes to Magento 2. Why is it being flagged in the chrome console as a CSP violation? The module in vendor has its own csp_whitelist.xml file (/http/vendor/amzn/amazon-pay-module/etc/csp_whitelist.xml). How can I resolve it?
I am trying to add the categories and subcategories in a small panel Exactly like the one in the product panel and I want to add it in here instead of this XML field like the “toOptionArray” Heres my Xml file, i want to add it as the child of […]
I am facing following error : MAGE_RUN_CODE in /var/www/html/app/etc/stores.php on line 12 I am using warden for local setup.
Older message success or error showing from perticular custom controller to perticular page frontend in Magento2.
I am using UPS API in Magento for CANADA and USA country,if I am passing same request parameters for Canada it working fine and get response as aspected but if I pass US address in <ShipTo> parameter in UPS API request ,it throws error invalid shipment contents value Here is […]