I am included in the invite-only Buy with Prime. They have provided a code snippet but when I paste it as text in the description, it doesn’t render. They suggest I put it in the template. Where would that template be? I am using Pearl theme from WeltPixel if that […]
Magento
I can’t succeed to make this error messages removed from my M 2.4 I did my custom csp module, everything works fine except this one The Content-Security-Policy directive ‘frame-ancestors’ does not support the source expression ”unsafe-inline” I did tried the following fix. But nothing worked <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> […]
I want create controller for specific path, but i can’t know how i can do this. My controller must work with path like: site.com/usa/some-review/dynamicParam My path for controller: site.com/some-review/index/index How i can create controller for usa/some-review/dynamicParam or forward redirect from usa/some-review/dynamicParam to some-review/index/index? Thanks)
I’m using magento with docker and deploying to a kubernetes cluster. When I install it it finishes successfully, but when I try to access the admin panel it returns the 502 Bad Gateway error. I’ve tried all the settings and without success and on the other hand nothing appears in […]
I want to sort product collection by Custom Price attribute. here is my code Here is my code, what is the problem here, i dont understand? <?php namespace VendorModuleModelVisualMerchandiserSorting; use MagentoCatalogModelResourceModelProductCollection; use MagentoVisualMerchandiserModelSortingSortAbstract; use MagentoVisualMerchandiserModelSortingSortInterface; class CustomPriceBottom extends SortAbstract implements SortInterface { /** * @param Collection $collection * @return Collection […]
I have a newly installed Magento 2.4.4, i created 2 store views English & French. When I’m in base language (English), and the current page / product is translated from backend, it goes to the specific translated page normally, however when I’m in the second language (French) and I choose […]
Some of my configurable products do not show inthe front end when trying to navigate to them through categories or when I search for them. They do appear in the backend. They do appear in the frontend when accesing their direct link. They also appear in the home page. This […]
In my old version of my site i had a cron that ran at 2am every morning to product some reports from my Module. I have it set up as normal with my class in the cron folder and the correct xml in crontab.xml but this is what the cron_schedule […]
I use cache warmer (Mirasvit) with Varnish. Cache warmer doesn’t work correctly – either doesn’t warm up product pages (config from: https://www.varnish-software.com/developers/tutorials/configuring-varnish-magento/) or nothing at all when standard config is in use. What kind of changes does standard varnish config require to warm up cache properly?