how to make email id as optional in customer registration and checkout
Instead of email, we have used mobile number for the unique field. so we need to make email optional. please answer me, anyone, if you know
Instead of email, we have used mobile number for the unique field. so we need to make email optional. please answer me, anyone, if you know
In the November 2022 survey we received responses from 1,135,089,912 sites across 271,689,143 domains and 12,306,625 web-facing computers. This reflects a gain of 4.7 million sites, a loss of 194,480 domains, and a gain of 6,685 web-facing computers. The biggest… Read More »November 2022 Web Server Survey
I have a Cloud project that we have been working on for a few months. This was initially installed via composer and has been running fine for a while. Recently I had to reinstall the vendor folder and when I… Read More »Composer Install fails with Checksum on live search
i don’t want to use object manager how do i change my code? in the past i use method cart $cart but he deprecated <?php namespace CustomShippingMethodModelCarrier; use MagentoQuoteModelQuoteAddressRateRequest; use MagentoShippingModelCarrierAbstractCarrier; use MagentoShippingModelCarrierCarrierInterface; use MagentoFrameworkAppConfigScopeConfigInterface; use MagentoQuoteModelQuoteAddressRateResultErrorFactory; use PsrLogLoggerInterface; use… Read More »How not to use Object Manager?
I have tried validate if render referenceBlock in checkout layout, but it does not work. I added block VendorModuleBlockIndex in layout after referenceBlock Vendor/Module/view/frontend/layout/checkout_index_index.xml <referenceBlock name=”checkout.root”> <block class=”ElTiempoEfectyBlockIndex” name=”is_book”> <arguments> <argument name=”jsLayout” xsi:type=”array”> <item name=”components” xsi:type=”array”> <item name=”checkout” xsi:type=”array”> <item… Read More »Validate if render referenceBlock in checkout layout
root@vps-sssssss:/home/sssss/ssssssss# bin/magento setup:di:compile Compilation was started. Repositories code generation… 1/9 [===>————————] 11% 1 sec 119.0 MiBClass “MagentoElasticsearchElasticsearch5SearchAdapterMapper” not found#0 /home/sssssss/public_html/vendor/composer/ClassLoader.php(571): include() #1 /home/ssssssss/public_html/vendor/composer/ClassLoader.php(428): ComposerAutoloadincludeFile() After upgrade to Magento 2.4.5 CE setup:di:compile show error … Because not showing existing products …… Read More »After Magento upgrade to 2.4.5 setup:di:compile asks for wrong elasticserach file
A while ago I heard there is a Community Fork of Magento2 which will include a lot more bugfixes with faster releases. How can I start using it for my project?
I want to customize invoice pdf, add number of the line and the price for 1 unit without tax and tax value for the unit and the last line cost of delivery. How to customization of the invoice pdf? like… Read More »Edit invoice PDF magento 2.4.5
In magento 2 there is email_template table where email templates are stored. How can I delete a record from this table? Below is what I tried but it did not work. #[NoReturn] public function deleteTemplate(int $templateId): void { $connection =… Read More »How to delete a record from email_template table in magento 2?
In which cases we should use ‘virtual elements’ and ‘data-bind’ ? For example, this code using virtual elements: <div class=”custom-configs”> <h2><!– ko i18n: ‘Custom Settings’ –><!– /ko –></h2> <!– ko foreach: { data: customSettings, as: ‘customSetting’ } –> <div> <!–… Read More »Magento 2 virtual elements vs data-bind