Questions tagged [required]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
38 views

How can i configure customer Middle Name/Initial as a required field in Magento 1.9?

If it is possible Customer Middle Name/Initial is required, Now I use this code to required this field but can not work <?php if ($this->showMiddlename()): ?> <?php $isMiddlenameRequired ...
0
votes
1answer
23 views

Magento 2 Make Not Required field on registration Page

I have enabled address field on Customer registration page and everything is working fine and fields street address,city,state,country and zip all are now appearing on page. When I create an account ...
0
votes
0answers
22 views

Magento 2.2.5: How to make the catalog product image as required?

I want to make catalog product image as required in magento2.2.5 Any help would be appreciated
3
votes
0answers
85 views

How to translate “ This is a required ” in Magento 2

I want translate error message required field like this I used de_DE.csv but the get fields from data it does not translate, please help me! Thanks all
0
votes
2answers
94 views

menu.js:1 Uncaught TypeError: require is not a function

I am trying to add a jquery script to my site. I have updated the require-config so it has this- var config = { paths: { slick: 'js/slick.min', slaask: 'js/customscript', menu: 'js/menu....
0
votes
0answers
64 views

Magento 2 remove requirement for address,city and country fields in checkout

Need to make address,city and country fields not required on checkout as the shipping methods used in store does not require them. Edited database and removed "is_required" parameter from the ...
1
vote
1answer
38 views

How to make a field required on product edit page only if another filed is checked

I have creaed two product attributes "show member price" and "member price". By default the field Member price is non mandatory. But when the admin checks the "show member price(checkbox)" filed than ...
0
votes
1answer
41 views

Change the name Attribute of product to not required magento 2

I want to generate the name of product based by sku. For example : when i enter 10014000 for the sku, the name of product will be Bovin phenelop 16/18 blanc 100. This information is coming from ...
0
votes
2answers
80 views

Magento 2.3 How to include a php file in a custom module

I am using a custom module which is including a php file from lib . But it is giving error in di:compile command as - Fatal error: Cannot declare class PDFMerger, because the name is already in ...
1
vote
1answer
705 views

Magento 2 | How to include third party library by adding at 'lib/'?

This is not about adding by composer. This is about downloading and then using it. For Example: I download TCPDF Library and follows these steps it should be installed and usable but it doesn't works ...
0
votes
1answer
169 views

Magento 1.9 contact form validate required not working

For some reason our select dropdown is not required and does not validate the entry. It already contains the class 'required-entry' for the select. What am I missing here? <form action="<?php ...
0
votes
1answer
395 views

Magento2: Add Checkout Terms and Conditions to Customer Registration Page

I am trying to include terms and conditions that are shown on the checkout on the customer registration form. I have tried various ways and managed to get it to display correctly but no matter what I ...
1
vote
2answers
678 views

How to set required field ''State/Province' of add new address in My Address Book, magento 2?

Using magento 2.2, I want to set required on field State/Province in Add New Address in 'my address book'.
0
votes
1answer
26 views

Required field error in Billing Information

We always seem to be having issues with the checkout. Customer cannot get past the billing information section, they click continue and it keeps saying required field, and it won't let them go any ...
1
vote
0answers
24 views

Problems on checkout with a particular product

I have one product that is a cause for concern when checking out. Whenever this product is in the cart the checkout throws many popup alerts. I'll link images to help with visuals as I go through ...
2
votes
1answer
864 views

Make required field to Gift Option in Magento 2

I enable gift option from magento 2 admin. Now i want to make required. field on cart page. I found that template is coming from vendor/magento/module-gift-message/view/frontend/web/template/gift-...
2
votes
0answers
202 views

Magento 2 UI Component field customize based on condition

I need to validate required-entry true/false based on condition in UI component form field. Ex. if there is new entry, field will be required and it form is with existing entry, field will be not ...