I have added logs in one of our controller using following code; MagentoFrameworkAppObjectManager::getInstance()->get(PsrLogLoggerInterface::class)->debug('my log'); Sometimes the logs show up in var/log/debug.log and sometimes it doesn’t. It’s not caching issue since the controller is called using POST. The controller also seems to be working fine in most cases and reaching the […]
Magento2
I have use Magento 2.4.6-p5 version. We have some products in our inventory that are in-stock in the backend but showing out-of-stock in frontend. If I make a product out-stock and then back to in-stock then it works fine(in-stock in frontend).let me know if someone has faced such issues.
I have created a widget which is intended to be used to add information as a best seller, this is a category with this name, which has subcategories and products added to these. To display the data I need it to be displayed exactly as it does in my PDP, […]
I have one website in Magento2 Community edition 2.4.3 ,i want to migrate the website from Magento2 community edition to Adobe commerce cloud 2.4.3 which steps i need to follow, can someone guide me.
my code for converting created_at in qatar time zone works in admin grid ,i need code for exporting createad at in qatar time, i have tried didn’t get converted during export public function __construct( TimezoneInterface $timezone, MagentoFrameworkViewElementUiComponentContextInterface $context, MagentoFrameworkViewElementUiComponentFactory $uiComponentFactory, array $components = [], array $data = [] ) { […]
How to get this https://prnt.sc/HE4LFsRji9fs Customizable option data in a phtml file. I want to data in like in this format… <div class="field required"> <label class="label" for="select_69"> <span>Options</span> </label> <div class="control"> <select name="options[69]" id="select_69" class=" required product-custom-option admin__control-select" title="" data-selector="options[69]" aria-required="true"><option value="">-- Please Select --</option><option value="192" price="30">straight charge +£30.00</option></select></div></div>
I am following below link to add custom field in page builder image element only. How to use custom field in the HTML of Magento 2 pagebuilder? But it’s not saving the value. When I click on the save button and the page reloads, it shows an empty field. How […]
We have upgraded to M2.4.7 and have had some issues on the checkout page caused by csp blocking scripts loading from Cloudflare. Failed to find a valid digest in the ‘integrity’ attribute for resource ‘https://www.xxx.dk/static/version1714545269/frontend/Magento/luma/da_DK/requirejs/require.js’ with computed SHA-256 integrity ‘VODlv7gms2iTofiNaOF9GqKvi4P0WL3J8UuH2UaX7rE=’. The resource has been blocked. The solution was to disable […]