We are using the PHP feature short_open_tag . A colleague does not like them and wants to remove them and turn the feature off. Does magento work with short_open_tag turned off?
Magento
I need to make this scenario in my catalog with magento 2.4.3. I use a catalog price rule which gives a 10% discount to some products of a certain brand. I have this rule created easily with conditions. But the same products I need to get 15% discount in cart […]
I have the following link on my menu Home Categories New Arrivals Deals About US How I can hide “Deals” link from the menu, if the customer not logged in yet?
at the moment I have a function which will refund the invoice on an order. However the shipping is currently also being refunded, which I don’t want. Is there a way to set the shipping to zero on an invoice refund? My code is currently this: private function refundItems($order,$items) { […]
While there are many posts with this exact question, none of the answers are helpful in the slightest. People are linking file sources as if I have access to each individual file on the website. All I can do is log in to Magento through a web browser. I do […]
When using a custom payment method, the placeOrder function submits the information to the capture function in the Model file of the module. If an error happens there, is there a way to return that error to the checkout page and not have it proceed to the submitted page? And […]
I have seen a couple of similar issues, but none of solutions/reasons helped me. I installed Magento 2.4; tried it switch it to default and developer modes, forced it to compile and deplay static content (just in case, it says there it no need for that, but I tried just […]
I’m using the data-migration-tool. Steps to reproduce: A fresh install of Magento 2.4.3-p1 A DB of Magento 1.6.2.0 in a remote server with remote access working Data-migration-tool 2.4.3 instaled Created a module with migration settings migrate:settings command is all fine migrate:data stops with an error [2021-11-02 17:00:21][INFO][mode: data][stage: integrity check][step: […]
I want to show stock qty based on store view here: I tried getting msi source item qty by sku using: $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $productMsis = $objectManager->create('MagentoInventoryCatalogAdminUiModelGetSourceItemsDataBySku')->execute('24-MB01'); but I don’t know how to get qty based on current storeview. Any help would be appreciated. Thank you.