Mostly everything is in the title. I need to get all products that have the backorder attribute set to 0. Something like this : <?php $productsCollection = $this->productCollectionFactory->create(); $productsCollection->addAttributeToSelect(['sku', 'release_date_time']) ->addAttributeToFilter('backorders', ['eq' => (int) 0]); I tried everything, can someone help me ? Important note : We are on Magento […]
Magento
I want to override the phtml viewed_list.phtml file but I have not had any results, the file comes from the vendor folder: /vendor/magento/module-reports/view/frontend/templates/widget/viewed/content/viewed_list.phtml I want to modify part of the code and the adjustments are not seen, it does not enter, creating the file: /app/design/frontend/Vendor/theme/Magento_Reports/templates/widget/viewed/content/viewed_list.phtml any idea why the changes […]
I have several development tools which I personally use like: https://github.com/ho-nl/magento2-Ho_Templatehints https://github.com/mage2tv/magento-cache-clean Is it possible to somehow configure and use it for myself? Other team members are not using it. The specific issues: app/etc/config.php is in the repo, I cannot commit it composer.json and composer.lock are in the repo, I […]
At product edit page, I’m trying to add image hide date “a custom field of datepicker” so far it shows the inputbox but not calender upon clicking the box. I have override gallery.phtml and added custom input, but the script code for calender is not working. Here’s the code: <div […]
Magento 2.4.2-p1 Porto theme Amasty's SMTP Email Settings extension We have the SMTP Email Settings extension from Amasty but it doesn’t appear to be working. I had a ticket open with them forever but they are unable to resolve this and it seems like they don’t really care. From what […]
I have recently upgraded from 2.3.7 to 2.4.3 and since the upgrade I am seeing “Invalid security or form key. Please refresh the page.” on every page in admin. (frontend works fine) Most things in the backend still work even with the error present apart from the ability to add […]
I’ve not changed the core header.html which is in the vendor directory. According to the Magento 2 dev docs, I must create “email-inline.less” in app/design/MyVendor/MyTheme/web/css directory, however, the styles are not being applied to the sent email. I’m wondering if email-inline.less file will be compiled automatically or I have to […]
[![enter image description here][1]][1] Like this picture below: [1]: https://i.stack.imgur.com/XyxVn.png
After reading some comments on the ticket magento2/issues/25670 what I can understand is Magento 2 creates/stores a tag for each entity which is modified. For example if a product is modified it’s tag is stored and cache of that entity is cleared automatically. But I am not sure if my […]