i m struggling with an issue on Magento 2.4.5 creating a custom module on admin. I have created a 2 column ui with a form and listing, which renders a grid on the admin, however, no matter what i have tried, i m not able to pass the initial url […]
Magento2
<input name="mobile_number" id="mobilenumber" type="number" class="input-text" title="<?= $block->escapeHtml(__('Mobile Number')) ?>" placeholder="<?= $block->escapeHtml(__('Mobile Number')) ?>" data-validate="{required:true,mobile_ksa:true,maxlength:7}"> $.validator.addMethod( 'mobile_ksa', function (phone_number, element) { return this.optional(element) || phone_number.length > 9 && phone_number.match(/^(05)(5|0|3|6|4|9|1|8|7)([0-9]{7})$/); }, $.mage.__('wrong phone number. example: 05xxxxxxxx')); }); the above code i am using for validation it working when i click on button […]
I want to display coupon codes in the sales order grid and the order detail page. Any idea how to do this?
Customer Password Reset on Megento 2.4.0 Customer reset password is supposedly sent, (https://prnt.sc/LecBF4_fHxOs) but the email is never received. I checked the configuration and is ok. Customer it does received the registration confirmation, so the email server is working fine.
I’m looking for Magento2 dynamic price calculation module. Please let me know any recommendation. Example: https://www.anixter.com/en_us/products/9841-06010000/BELDEN/Multi-Pair-Multi-Conductor-Cable/p/B9841 Calculation example: $2519.60 is one thousand Feet price. One Feet price is 2.1519. If the customer will buy 25 feet, price should be 2.1519 * 25 = 62.975. Any recommendation highly appreciated. Thank You
I try to upgrade our magento 2 shop from 2.4.2 to 2.4.5-p1. I get this critical error in the Upgrade Compatibility Tool Report. Call method ‘MagentoFrameworkAppResponseInterface::representJson’ that does not exist on version ‘2.4.5’ This is the code: class EmailToCustomerModel extends MagentoFrameworkAppActionAction { ... /** * Create json response * * […]
I have been developing web apps for the last 2 years. A friend of mine owns a website built with Magento with which he needs some help. I’ve no experience with Magento as of yet, but I’ve been trying to setup the project locally in order to be able to […]
I have a custom checkout module and as part of the design I need to run some custom JS when the shipping address form is valid. By default the form is validated when all the fields have values. I have been unable to find what triggers this validation to run. […]
I added two inventory source location in Magento 2.4.0 to manage different warehouse inventory. And also I added two different website. For example One warehouse is Canada and another warehouse in USA. Both locations have different quantity. Canada has 50 and USA has 100. I set 0 qty for Canada […]