I’m using some Magento module and the option title is in HTML. I upgraded from Magento 2.2.3 to 2.2.10 and they obviously introduced escaping here, which wasn’t there before. Is there a way to stop this behavior in the backend? Way to disable XSS protection in the backend?
Magento2
As far as I understand it, In order to change the style of an email, I need to override the _email-extended.less file. I go to the path below app/design/frontend/Smartwave/Porto/web/css/source/_email-extended.less and make my changes/add classes but it doesnt seem to affect any of my generated static content css files. It simply […]
I tried to load css file from default_head_blocks.xml but nothing happen, so if you can provide what did I do wrong?Is it wrong in structure files or something else ? Thank you Note : This theme inheritance from magento/blank and is activated it from dashboard. File : default_head_blocks.xml Structure file […]
I want to disable cache only for particular block which is called in some pages like Home Page, Category Listing page , Product page and Shopping cart page etc. and I do not want to use cacheable=false as its disable the cache for entire page.
I need to customize the price of my configurable product in order to show the donation on every purchase. Basically I have a configurable product with size and color and instead of showing the regular price, I wanna show the real price subtracted the donation that we do. Example: price […]
Please help with the implementation of this functionality. I have a separate module with a separate route. There will be elements on the page (picture and checkbox under it) as in the screenshot. And when you click the checkbox, the picture should be added to another block below. I have […]
I have custom search page that is working perfectly and all the filters are applying properly except category filter. Following is the code: $indices = $this->searchResult->getIndices(); foreach ($indices as $index){ if($index->getIdentifier() === "catalogsearch_fulltext") { $collection = $this->searchResult->getSearchCollection($index); //Apply filters if required $this->apiHelper->applyFilters($collection); $categoryRepository = $objectManager->create("MagentoCatalogModelCategoryRepository"); $category = $categoryRepository->get(176,1); $collection->addCategoryFilter($category); if($this->request->getParam("category_id")) […]
I did similar at Magento 2.1.6 : How to override Adminhtml Module Sales view totals.phtml but nothing change? There are 2 xml use the same template sales_order_invoice_addcomment & sales_order_creditmemo_addcomment (Magento 2.3)