Categories
CMS Magento Mastering Development

Date and Time Range Picker in custom widget

I have been looking for a way to implement the Date and Time Range Picker into a widget.xml file. Anyone who can help? The Date and Time Range Picker

Categories
CMS Magento Mastering Development

Magento 2 – Batch Update SKU in database to remove /

We have a problem that we can’t use the Magento API to load products where the SKU has a / in it. To get around it I am looking at bulk updating all our SKU’s to replace the / with a _ These are all the tables I can find that have an sku column, […]

Categories
CMS Magento Mastering Development

How can I update a custom addres field from quote addres to sales order address when creating a multishipping order

I have inserted custom address fields in quote address trough fielset.xml successfully but it is not working for sales order address, it is not filling custom fields on database. This is when using multishipping process <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:DataObject/etc/fieldset.xsd"> <scope id="global"> <fieldset id="customer_address"> <field name="descripcion_sucursal"> <aspect name="to_quote_address" /> </field> </fieldset> <fieldset id="sales_convert_quote_address"> <field name="descripcion_sucursal"> […]

Categories
CMS Magento Mastering Development

Elasticsearch mapping_parser_exception error

I’m running Elasticsearch 7.6 on my Cloudways staging server, and 7.8 with Homebrew on my local server. Using Magento 2.4 (now 2.4.1). When I try to reindex, I see Catalog Search index process unknown error: {"error":{"root_cause":[{"type":"mapper_parsing_exception"," reason":"analyzer [sku] not found for field [sku]"}], "type":"mapper_parsing_exception","reason":"analyzer [sku] not found for field [sku]"},"status":400} When I click on test […]

Categories
CMS Magento Mastering Development

Type Error occurred when creating object: Magento\Framework\Session\Generic\Interceptor, setcookie() expects parameter 3 to be integer, array given

After clear/setting/configuring so many errors & configurations installed the Magento V2.4.1 successfully, now getting below errors. Type Error occurred when creating object: Magento\Framework\Session\Generic\Interceptor, setcookie() expects parameter 3 to be integer, array given and Type Error occurred when creating object: Magento\Backend\Model\Auth\Session\Interceptor, setcookie() expects parameter 3 to be integer, array given Continuously getting error and unable to […]

Categories
CMS Magento Mastering Development

Magento 2 : Change email content based on shipping method in email template

I need to change the email content based on shipping method. there are two type of shipping method one is in store pickup and one is delivery to user location. For both case content of email template is like : Thank you for your order from XYZ. Once your package ships we will send you […]

Categories
CMS Magento Mastering Development

Magento 2.4.1 admin tfa configuration page is blank

I just migrated from Magento 2.3.4 to 2.4.1 , after i logged in from the backend i was redirected to TFA configuration page, but it shows blank container like this: i already ran these commands below, but nothing changes bin/magento config:set twofactorauth/general/force_providers google bin/magento config:set twofactorauth/google/otp_window 60 bin/magento in:rei bin/magento c:c

Categories
CMS Magento Mastering Development

Magento2: Sometime js load sometime js not load properly

I got the JS error in console. Sometime when page load got the JS error and Sometime when page load it is working. I don’t know what’s the exact issue. I disabled all 3rd party extension after that got the same error on the website. Please let me we need to upgrade jquery version. Please […]

Categories
CMS Magento Mastering Development

Magento admin dashboard showing after login

My admin dashboard after logging in is showing the following error: does any one know the reason behind it or how can we solve it? I have recently installed this module through composer config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd"> <acl> <resources> <resource id="Magento_Backend::admin"> <resource id="Magento_Backend::stores"> <resource id="Magento_Backend::stores_settings"> <resource id="Magento_Config::config"> <resource id="Klarna_Kco::config" title="Klarna Checkout" sortOrder="50"/> </resource> </resource> </resource> <resource […]

Categories
CMS Magento Mastering Development

Help!!!! Homepage is broke. Styles are all messed up but only on the homepage

I need help. Our site Front end home page is broke. I have rm -rf pub/static/* var/cache/* var/generation/* var/di/* var/view_preprocessed/* generated/*. Then I ran magento Commands. 1- set maintenance mode php bin/magento maintenance:enable 2- Upload module or use composer to install module using cli 3- Enable module php bin/magento module:enable MyCompany_MyModule 4- upgrade database php […]