Questions tagged [checkbox]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
101 views

Magento 2.4.3 - shipping checkout box

I'm trying to get the customer to choose the shipping because many people just continue without checking the shipping method. We need it to not already be checked and be required. What do I need to ...
Jan-petter Havna's user avatar
0 votes
0 answers
19 views

Magento 2.4.6P2 Guest Checkout is not showing

I not sure if i am missing something. I have enable guest checkout and is still not showing up at one page checkout.
roger's user avatar
  • 541
0 votes
0 answers
22 views

Checkbox "Use Website" doesn't work after adding new website

I am learning "Set up multiple views in the Admin" I added a new website+store+view then opened store > system > configuration > general > web and tried to change store url. But ...
Serhii's user avatar
  • 1
0 votes
0 answers
51 views

Radio Button Will only reflect after two clicks

We are using an RMA module which let the customer select a new return for their purchased item. When clicking on the item radio to select an item it should bring up the entire information on the ...
Ran's user avatar
  • 1
0 votes
1 answer
185 views

How to make checkbox toggle in product edit form

I add attribute to special product like this $eavSetup->addAttribute( Product::ENTITY, 'dynamic_price', [ 'group' => 'Gift Card Information', '...
Nghia Hoang Trong's user avatar
0 votes
1 answer
182 views

Klaviyo Magento 2

I want to check this checkbox 'checked' => true nothing change. How can I check this automatically? Please help. public function afterProcess(\Magento\Checkout\Block\Checkout\LayoutProcessor $...
Andreja Vidovic's user avatar
0 votes
1 answer
373 views

Magento 2 tree view in Stores->Configuration

I'm starting to try to program in Magento. I have a problem creating a category tree in the configuration of my module. I want to be able to choose a category. More than one. Just like in the photo ...
Przemysła Góra's user avatar
0 votes
1 answer
65 views

How to show a popup when the checkbox is ticked in Magento using ajax

Just needed to add a popup modal when the checkbox is ticked and post the values to the controller.
Praveen C's user avatar
0 votes
0 answers
50 views

Ui component checbox value is 0 with js element

This is my component field <field name="is_campaign_plp" formElement="checkbox"> <argument name="data" xsi:type="array"> <...
Claims's user avatar
  • 1,146
0 votes
1 answer
591 views

How to add custom checkbox before place order in Magento 2 in Pay by credit or debit card Payment Method

How to add custom checkbox before place order button in Magento 2 in Pay by credit or debit card Payment Method (Take-payment). And the checkbox is required so if any user not checked the checkbox the ...
Prits's user avatar
  • 626
-1 votes
1 answer
498 views

How to remove checkbox for GDPR in Magento 2

I want to remove GDPR checkbox in Magento 2 Login Page. I want to remove that checkbox from login page it will come from ( app/design/frontend/Mgs/claue_child/MGS_GDPR/templates/customer/form/login....
Prits's user avatar
  • 626
0 votes
1 answer
533 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 ...
Mateusz's user avatar
  • 25
0 votes
0 answers
149 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 ...
Muhammad Ali's user avatar
0 votes
1 answer
289 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\...
Black's user avatar
  • 3,280
0 votes
1 answer
643 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 ...
Script Host's user avatar
1 vote
0 answers
592 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 ...
Prits's user avatar
  • 626
0 votes
1 answer
333 views

Uncheck a radio button on a bundle product page

Thought this would be simple however having some difficulty. I want to uncheck a radio button, and even checkboxes, however, have achieved checkboxes with just simulated clicks. The below I have tried:...
harri's user avatar
  • 5,455
1 vote
0 answers
23 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 ...
web master's user avatar
1 vote
1 answer
962 views

How to add checkbox-set ui-component to static form in layout.xml

I want to add a multi checkbox of days of the week to the checkout, similar to: Following the instructions on the Magento Docs - Add a new input form to checkout I have added the following item to my ...
Richard Parnaby-King's user avatar
0 votes
1 answer
1k 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 ...
ann karsksya's user avatar
2 votes
1 answer
942 views

Default checkbox in ui_component admin customer_form to true and checked?

https://devdocs.magento.com/guides/v2.3/ui_comp_guide/components/ui-checkbox.html devdocs says default value is false but there is no clue how to turn it to true. Anyone know what to add in xml file ...
Long Nguyen's user avatar
0 votes
0 answers
229 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="...
Amy's user avatar
  • 935
2 votes
2 answers
584 views

Magento 1 : Change multiselect product attribute to mutliple checkbox attribute

I need to change the multi-select attributes in the admin product edit form to multiple checkbox attributes. Is this possible?
Radhu's user avatar
  • 169
1 vote
0 answers
153 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 ...
Nikita's user avatar
  • 11
0 votes
0 answers
164 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 ...
Mahi M's user avatar
  • 2,540
1 vote
0 answers
174 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 ...
Rv Singh's user avatar
  • 1,617
1 vote
0 answers
58 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 ...
the light's user avatar
  • 708
3 votes
1 answer
2k 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 methods, you select the one you click place order you will have the ...
magentodev's user avatar
1 vote
1 answer
481 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 * * @...
Sejal Shah's user avatar
  • 2,141
0 votes
0 answers
569 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 ...
Rv Singh's user avatar
  • 1,617
2 votes
2 answers
2k views

How to add custom checkbox with event in customer registration Magento 2?

I'm working on creating a custom checkbox with an event <div class="field tcagreecreateaccount required"> <div class="control"> <input type="checkbox" id="...
prabhakaran7's user avatar
  • 1,077
3 votes
0 answers
269 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/...
K Kazadi's user avatar
2 votes
2 answers
3k views

Magento 2 Add multiple checkbox in admin ui form Group component

How do I add dinamically add multiple checkbox bellow the a field This is how you add one checkbox bellow a field <fieldset name="field_set_name" sortOrder="100"> <settings> ...
Juliano Vargas's user avatar
3 votes
1 answer
396 views

Custom field in the form not saving values in to the Database in magento 2.1

I have created a custom attribute for customer using below code. setup/installData.php $customerSetup->addAttribute(\Magento\Customer\Model\Customer::ENTITY, 'samsung', [ 'type' => '...
kiran's user avatar
  • 597
2 votes
0 answers
187 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 ...
gill's user avatar
  • 329
2 votes
0 answers
43 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.
Boris Pop Gorgiev's user avatar
2 votes
2 answers
733 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 ...
Michael's user avatar
  • 71
0 votes
0 answers
41 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.
kiran's user avatar
  • 597
0 votes
2 answers
2k 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.
Jaisa's user avatar
  • 2,596
1 vote
1 answer
691 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!
Mohsin's user avatar
  • 41
1 vote
0 answers
332 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 ...
Mr. Nanhe's user avatar
  • 139
0 votes
0 answers
89 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
Masud Shaikh's user avatar
  • 1,189
0 votes
1 answer
1k views

How to add News Letter Subscription checkbox on checkout Success Page in Magento 2?

I am getting email address in the database with this function: protected $subscriberFactory; public function __construct( \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory, ....
Ajwad Syed's user avatar
  • 1,591
0 votes
1 answer
725 views

Checkbox Toggle Required-entry

I added a checkbox and i want to make the company required if that checkbox is checked, how can i do that? this is my js code define([ 'ko', 'uiComponent', 'jquery' ], function (ko, ...
butching's user avatar
1 vote
1 answer
112 views

Magento 2 Setting custom customer attributes

I have some custom attributes set in the customer information in the admin. I have a page setup with checkboxes which if checked should set these attributes to yes or no. I'm struggling with setting ...
Howliee's user avatar
  • 153
0 votes
1 answer
2k views

Add Checkbox input with required validation

I want to add a checkbox with a required field. My code is : <div> <input class="input required-entry" type="checkbox" id="check" name="check" value="1" data-validate="{required:true, '...
gill's user avatar
  • 329
0 votes
1 answer
390 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.
kiran's user avatar
  • 597
1 vote
1 answer
1k 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. ...
Thanh TN's user avatar
  • 307
2 votes
1 answer
1k views

Magento 2 : Is there a way to customize the labels of an admin form toggle?

For admin form UI checkbox components that use the 'toggle' (like Catalog > Product > [product record] > Enabled) - I can see a few references to the UI component configuration using: <field name="...
dbcn's user avatar
  • 754
1 vote
0 answers
233 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 ...
YorkieMagento's user avatar