Questions tagged [checkbox]

The tag has no usage guidance.

41 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
160 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
704 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
1answer
755 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
84 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
30 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
157 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
127 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
623 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
13 views

How to pass data using chackboxes in HTML uiComponent

I'm trying to add/remove data based on a checkbox. I can't figure out how go get the value to get through to the function. My console is logging a list of my observed variables. Any idea how to pass ...
1
vote
0answers
82 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
98 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
50 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
410 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
274 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
747 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
195 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
78 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
763 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
202 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
315 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
119 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
487 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
1answer
17 views

Unchecked checkbox when another is checked in magento2 checkout page

I created two checkboxes i magento checkout in billing address section. Checkboxes name "Firma" and "Osoba prywatna". My custom module allow me to create only checkboxes but I ...
0
votes
0answers
18 views

check all check boxes with just one click

I have one check box on the top of the page. scenario: I want to check all checkboxes on each line by just clicking that top check box and uncheck all the checkboxes on each line by unchecking that ...
0
votes
1answer
24 views

Magento 2 - How to add a required checkbox to the checkout by using uiComponents?

I try to add a new checkbox for the user agreements. The checkbox is showing in the checkout fine, but it is not required. Whats the official way to make it required? THEME\Magento_Checkout\layout\...
0
votes
1answer
44 views

How to show the tick mark after clicking the popup button in Jquery?

In checkout, we have enabled the "Terms and conditions" pop up and my requirement is to show the tick mark after closing the pop-up but right now it is happening only when we click the ...
0
votes
0answers
191 views

How to show error message for checkbox on checkout page in Magento 2?

I have created some steps in Magento 2 and added a checkbox on one step and added required validation for the same. Validation works perfectly if it is not checked it will not go further but if it is ...
0
votes
1answer
218 views

How to add a required checkbox to checkout page (policy check)

I know that there is basic functionality, but it does not suit me. How to display my template under the form with the link to the privacy-policy page? Or tell me how to do it right. I need a ...
0
votes
0answers
90 views

Magento2: Not able to check uncheck a Checkbox value while editing the page?

I am not able to check and uncheck a Checkbox value and save in edit page in Magento2: My input field: <label class="check_tick">Shipping <input type="checkbox" name="...
0
votes
0answers
60 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
274 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
31 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
0answers
25 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
278 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
1k 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
277 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
66 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
580 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
125 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 ...
0
votes
2answers
895 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.