In file appdesignfrontendMyVendorMyThemeMagento_Salestemplatesemailitemsorderdefault.phtml i need original price of child product. I try $block->getBasePrice($_item) or only $block->getPrice($_item) but is empty or price of parent product
Magento
How can I test order emails specifying order ID without sending me the email but with a .php file that I call up in the browser?
I’m using porto theme for my store and I insatlled Amasty Advanced Search extension. I configured it but it’s not showing, Porto theme is using Mageplaza Searcvh per default, is there a way to make Porto theme use Advanced Search? Thank you.
We recently migrated to a brand new magento 2 build and migrated all previous order data over from the old server to the new server, but now we have a major issue with random and old customer data i.e. addresses inside new user accounts. I believe the issue is that […]
I am trying to change the telephone input type from “text” to “tel”, so that on mobile devices a number pad will display. I have tried to implement the solution outlined https://magento.stackexchange.com/a/337363/56479, but I am not able to get it to work. Am I missing something? /app/code/Vendor/Module/etc/frontend/di.xml I’ve tried putting […]
I always thought that if I ran composer install --no-dev that test modules in the Dev directory would not be populated but after finding a payment with that processed with “fake payment method”, I found out that is not true. These test modules are found in dev/tests/integration/_files/Magento/ and are generated […]
I would like to understand how to add additional data to custom validation rule. I noticed in Magento 2 core files something like the following: validator.addRule( 'validate-customer-company', function (value, params, data) { return !(data.customer && data['is_company_user'] }, $.mage.__('Message') ... Does anyone know where data parameter comes from? In my case […]
Please help me solve the task. I use Magento 2.4.1 You need to make sure that when creating a product using duplication, its price field is cleared or empty by default. I would appreciate any help!