I need to show configurable products that are out of stock and block their purchase. To show out of stock. For normal products it works fine, but in the case of configurable products it just doesn’t show them. I managed to show all products. But the buy button is also […]
Magento
Is there an alternative for ‘Scripts and Style Sheets’? I ant to add URL links and facebook pixel code into the head tag. Any help would be appreciated.
I’m trying to display the product Count next to each category and child category. I’m using $category->getProductCount() but nothing is showing up. Here is my sidebar.phtml <?php /** * Category sidebar * * @var $block SebwiteSidebarBlockSidebar */ $isEnabled = $block->isEnabled(); $titleText = $block->getTitleText(); $isOpenOnLoad = $block->isOpenOnLoad(); $categories = $block->getCategories(); if […]
Did anyone managed to “Localize” the Order States (Not Status) in Magento 2 ? Those States are mentioned by default on the customer Order page summary, and I wasn’t able to find a way to localize them. Do you know if it can be fixed ? here is an example […]
Good morning, I need to do a query about order with this conditions: Status State Payment > method status_histories > comment Status, State and Payment_method works. curl --location -g --request GET 'https://domain/rest/V1/orders/?searchCriteria[filterGroups][0][filters][0][field]=status&searchCriteria[filterGroups][0][filters][0][value]=delivered&searchCriteria[filterGroups][0][filters][0][conditionType]=eq&searchCriteria[filterGroups][1][filters][0][field]=state&searchCriteria[filterGroups][1][filters][0][value]=complete&searchCriteria[filterGroups][1][filters][0][conditionType]=eq&searchCriteria[filterGroups][2][filters][0][field]=payment_method&searchCriteria[filterGroups][2][filters][0][value]=adyen_cc&searchCriteria[filterGroups][2][filters][0][conditionType]=finset' --header 'Authorization: Bearer ' --header 'Content-type: application/json' When we try to add the fourth status_histories > comment &searchCriteria[filterGroups][1][filters][0][conditionType]=eq&searchCriteria[filterGroups][2][filters][0][field]=status_histories_comment&searchCriteria[filterGroups][2][filters][0][value]=Gsped&searchCriteria[filterGroups][2][filters][0][conditionType]=finset […]
I have a third party module that has this class app/code/Vendor/ModuleName/CustomerData/Popup.php and that class is defined in frontend/di.xml file like this <type name="MagentoCustomerCustomerDataSectionPoolInterface"> <arguments> <argument name="sectionSourceMap" xsi:type="array"> <item name="popup" xsi:type="string">VendorModuleNameCustomerDataPopup</item> </argument> </arguments> </type> I am trying to override the class “app/code/Vendor/ModuleName/CustomerData/Popup.php” as it has some protected methods. I tried to […]
Facing an mysql connection issues while Magento2 setup with docker at local I have followed the steps mentioned at existing project in the below link markshust/docker-magento: Mark Shust’s Docker Configuration for Magento (github.com) markshust/docker-magento I am not able to dump my sql backup and when I connect bin/mysql, its connected […]
I have imported 7000+ products, everything works fine I have one cron which is reindexing every day After reindexing all those products goes out of stock, After debugging I have found that the records of those products were deleted from cataloginventory_stock_status table after reindexing completed I have Magento ver. 2.3.4
The customer established an account in PMM (Magento) and now can’t log in and the “forgot password” instructions don’t work – so he says. What’s the solution?