Questions tagged [checkbox]

The tag has no usage guidance.

37 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
50 views

Add a custom required checkbox on the onepage checkout page

I'm struggling to make my custom checkbox a required on the onepage checkout page in the order review step (last step) i have added my code in app/design/frontend/base/default/template/checkout/...
3
votes
0answers
626 views

What is the proper format for checkbox validation in Magento 2?

Using 2.1.5, I have a custom front end form with a set of text elements built (roughly) as: <div class="field my-field required"> <label class="label" for="my-field">My Field:</...
2
votes
0answers
150 views

Terms and Conditions checkbox validation on checkout

On Magento 2.2.3 and I have an issue regarding the terms and conditions validation on checkout. If you have two different payment method, you select one you click place order you will have the error ...
2
votes
0answers
31 views

How to create customer custom attribute for radio buttons in magento 2

I want to create customer custom attributes with following types: 1.radio buttons 2.checkbox Please provide me a solution to create customer custom attribute. If the checkbox contains more than 3 ...
2
votes
0answers
27 views

Amazon Payment agreement checkbox not working

Checkbox for agree not work currently and always show this message. I think does this is javascript or Ajax conflict. Please agree to all the terms and conditions before placing the order.
2
votes
2answers
83 views

How to get a form value in order process?

I have created a new small module to add a checkbox on last step of order process: The value will transfer over payment JSON: In the generated PaymentExtensionInterface I have the getter and setter ...
2
votes
0answers
125 views

Magento 1 checkbox issue in the Payment Methods section from adminhtml

I have a custom checkbox in the payment method: <input class="required-entry" type="checkbox" value="1" name="test" /> I checked the checkbox and I changed the shipping method. After the ...
2
votes
0answers
604 views

Magento 2 - How to add onclick on checkbox in admin grid?

I want to add 'onclick' attribute on checkboxes, added through below code. $this->addColumn( 'customer_entity_id', [ 'header' => __(''), 'index' => 'entity_id', ...
1
vote
0answers
41 views

How to set the value of checkbox in gift_message to the database

I have added a custom checkbox to my magneto cart page for gift message. I want to add value 1 to the gift_message table's "remove_tag" column (which i added) if the checkbox is checked. How can i ...
1
vote
0answers
43 views

Magneto2.3.1 How to customize checkbox with compare link display on product detail page

I am using Magneto2.3.1 and i need to customize the default magento compare link on detail page. I want to show checkbox with compare label and if i checked than product compare successfully and if ...
1
vote
0answers
34 views

Need somehelp get data from checkbox in checkout

I have used Aheadworks_OneStepCheckout and I added some checkbox. However, I can't get the value of the checkbox. My code: /** * Copyright 2019 aheadWorks. All rights reserved. * See LICENSE.txt ...
1
vote
1answer
201 views

Magento 2 - How to add a custom checkbox above place order button in checkout page

I want to add a custom checkbox just above the place order button. The user should be allowed to click the Place Order button only after the checkbox is checked. Thanks in advance!
1
vote
0answers
150 views

Magento 1.9 - Custom Input Checkbox Types in Custom Options

I wanted to add custom Input Checkbox Type in product custom option and I have followed bellow link in order to add the type. This is working fine as default value (always associated/added to the ...
1
vote
1answer
495 views

Create customer custom attribute checkbox in edit form backend

I added my customer attribute. But I want to display these fields as checkboxes. I created checkbox in the frontend easily but the backend is not. And then save to the database. Please help me. ...
1
vote
0answers
139 views

Show message on specific custom option select Magento 1.9

I would like to show a message when user select any specific custom option in Magento 1.9. I have two checkbox options: 'disposal' and 'installation'. Current Issue At the moment I can only show ...
1
vote
1answer
51 views

Remove little checkbox from header checkbox when name is missing

So I have a product grid, a non-mass-action one. Because I wanted to have like in the mass-action, those checkboxes as the first columns, the representative for all value data, I added the following ...
1
vote
2answers
644 views

Problem with checkbox uicomponent, has value doesnt 'check'

I'm having a trouble with UIComponent. Being precise it's a checkbox. I'm sure it takes true as a value, but it doesn't appear as a checked one. So it's propably something wrong with my structure. ...
1
vote
0answers
176 views

Getting data from customer attribute checkbox type in Magento 1 issue

I created a customer attribute with Text field as an Input Type . I selected the Show on Frontend on Yes . I went to the register phtml file and I added: <input type="checkbox" name="...
1
vote
0answers
269 views

Magento 2: How to create user defined option for checkbox in bundle product

I am trying to create "user-defined" option for the checkbox in bundle product. Is there any plugin in the market or anyone can help me with coding?
1
vote
1answer
101 views

Custom checkbox field to change the customer group

I have created a custom check box field in billing.phtml(Magento 1.9.2.1), i want to assign customer group based on this field (i,e.. if the field is check the customer will be in one customer group ...
1
vote
1answer
419 views

Magento2: Adding the same custom attribute to all products of a certain Type?

How can I add the same custom option (checkbox) to all products of the same Type? In my case, certain products are of type "Event Ticket Product", due to changes from a 3rd party extension (...
1
vote
0answers
1k views

Magento 2 how to save values of 'checkboxes' type into 'core_config_data' table?

I am currently working on a Magento 2 extension. In my task, I need a field in admin grid to show a list of product's default attributes. My current solution is to use 'multiselect' to generate the UI....
0
votes
0answers
20 views

Add “remove price tag” Checkbox in Gift options Magento2

I need to add a checkbox under gift message with label "remove price tag" in magento 2.2. If the checkbox is checked then, value 1 should be stored in gift_message table (i have added a new column ...
0
votes
0answers
19 views

Magento2: Check the payment tab is activated

I have init js and corresponding template in checkout_index_index (after payment method). In that template, I have added on checkout after the payment methods. If I checked the checkbox, I have ...
0
votes
0answers
71 views

Magento 2 ui component admin field disabled/enable checkbox on userChanges event

Similar to native Magento URL Key Create Permanent Redirect for old URL: I have a custom module and wants to achieve same result: I have created a group exactly how category_form.xml in my_form.xml ....
0
votes
0answers
33 views

Magento 2 - Product attribute grid checkbox yes/no/any filter not working custom module?

$this->addColumn( 'main_table.attribute_id', [ 'header_css_class' => 'a-center', 'type' => 'checkbox', ...
0
votes
1answer
19 views

Magento 2 - build a unique id for the term's checkbox for payment methods using vault

For payment methods using vault, the id generated for term's checkbox is duplicated as the payment method name is same. /** * build a unique id for the term checkbox * * @...
0
votes
0answers
78 views

left side Attribute filter with checkboxes , Magento2.2.6

I am using Magento2.2.6 Our requirement is attribute filter with checkbox display on left side layer navigation inside.Not page reload Ajax using filtering.If anyone idea and if this functionality ...
0
votes
0answers
25 views

Layered Navigation: Select all checkbox

I am using magento 2.1 In layered navigation, I want to display select all same as below screenshot.
0
votes
2answers
352 views

How to create customer custom attribute for radio buttons, checkbox in magento 2

I wish to create customer custom attributes with following types: 1.radio buttons 2.checkbox 3.dropdowns Please provide me a solution to create customer custom attribute.
0
votes
0answers
19 views

Magento2: Custom comapre button functionality

How to add custom compare button with check-box. The page should be not refreshing. Please check below screenshot My Magento v2.0.17
0
votes
1answer
195 views

Checkbox validation

I want Checkbox required field I agree to the Terms and Conditions. I am using this code but it's not working.
0
votes
1answer
616 views

How can the billing address checkbox labeled “Save in address book” checked by default in Magento 2 admin create order page

We are trying to make the billing address checkbox labeled "Saved in address box" checked by default when the page loads. We are aware of the post: backend order create: default billing = shipping ...
0
votes
0answers
253 views

Removing newsletter subscription “checkbox” at onepage checkout page

I have just migrated my store to a new domain. But I have an error at the one-page checkout page with "2" newsletter subscription checkboxes...supposedly still referring to the old domain name.
0
votes
0answers
65 views

How to send data to observer class or plugin class when click on check box in magento 2?

i am trying to send the data to observer or plugin through check on checkbox but its not firing.can anyone help me how to send data to observer class or plugin by clicking on check box.
0
votes
1answer
516 views

Remove extra sign up newsletter checkbox on one step checkout

I have two sign up to newsletter checkboxes on the last tab of my one step checkout. How do I get rid of only one of them? I have inspected them both and they defined exactly the same way, but they ...
0
votes
2answers
116 views

Magento Bug with additional checkbox in register field

I have small issue with my two checkbox's. They work fine, but i find small bug. They are required to pass registration. If i don't check them both, information about requiment showing under second ...