Questions tagged [checkbox]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 (...
0
votes
1answer
2k views

Customer registration form - subscription checkbox

So on my customer account registration form: domain.com/customer/account/create/ I would like to set the newsletter subscription checkbox, so it is already checked. So I have looked in the register....
2
votes
1answer
1k views

how to call the observer after checkout and store the orderid in my custom collection?

I want to save the order id and quote id in my custom table(collection).Give me some solution. My observer function is public function placeOrderAfter($event) { try { $order_id =...
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....
1
vote
2answers
2k views

Magento2 how to set checkbox value?

I have added a custom checkbox in shipping address section on checkout page, i have used Plugin to observe the checkbox value but it is not returning the checkbox value rather it is simply showing ...
0
votes
1answer
1k views

Magento2 Make checkbox checked by Default in CHeckout page

I want to make the Checkbox checked by Default in checkout page. I have used below code it is displaying the Checkbox but it is not checked by Default, Can you please suggest where i was wrong. $...
1
vote
1answer
281 views

Checkboxes checkout not showing

We have a clarion OSC but the boxes for create an account, ship to an other address and accept term & condition is not showing. This is the css for it: .tm-hide { opacity: 0;/* filter:alpha(...
2
votes
0answers
600 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', ...
0
votes
1answer
510 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
3k views

Magento - Validate checkbox

I have grid in my custom tab. Need to validate my checkboxes, atlease select one checkbox before submitting the form. Please have a look at attached screenshot. help me in this. Thank you!
0
votes
2answers
1k views

how to save checkbox values in database in magento

How to save checkbox values in database in magento ? My code is: $fieldset->addField('expertise', 'checkboxes', array( 'name' => 'expertise', 'label' => Mage::helper('...
0
votes
1answer
617 views

How to change anchor links to checkbox in list page?

In default Layered navigation Magento uses anchor links to filter products. I want to add checkbox instead. The code of filter.phtml is this: <ol> <?php foreach ($this->getItems() as $...
0
votes
1answer
3k views

Magento 2.0 Checkbox required validation not triggering

the checkbox required field validation in my code doesn't seem to get triggered on submit although the other input fields are validated. Can any of you check out what the hell's wrong in my code? &...
0
votes
1answer
3k views

Magento 1.9.2 - how to set checkbox in admin grid checked by default

Is there any way to make all checkboxes checked in particular column in admin grid. I want checkboxes checked by default in "skip" column. Here is a code for this column: protected function ...
0
votes
2answers
339 views

available sort by not editable

We have a lot of module installed and lot of configuration done and just see that we are not able to add more category due to available product listing sort by not editable and the checkbox not ...
3
votes
1answer
800 views

Set the checkbox value to checked by default for super product attribute configuration

I would like when we create a new configurable product the checkbox is checked by default But, I've found in the .phtml <input id="__id___label_use_default" type="checkbox" value="1" " checked="...
3
votes
1answer
408 views

Varien_Data_Form - 'checkboxes' only save last value

I made a simple form field with checkboxes $form = new Varien_Data_Form(); $form->setHtmlIdPrefix('option_'); $form->setFieldNameSuffix('option'); ...
0
votes
2answers
812 views

How to retrieve the muliple checkbox value in form

I tried to display the values from database but failed to display., First I inserted the values using checkbox., codes are below, $fieldset->addField('city', 'checkboxes', array( ...
3
votes
3answers
3k views

Disable massaction checkbox checked on grid row click

I want to cancel default behavior on grid row click - checking massaction checkboxes. The another default action - is redirecting to an editing page, and I've disabled it in this way - add this method ...
1
vote
5answers
2k views

before submit a form atleast one checkboxes is required

I have shown multiple check boxes,when I submit need atleast one checkbox is required., i tried below code., $fieldset->addField('checkboxes', 'checkboxes', array( 'label' => ...
0
votes
2answers
115 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 ...
1
vote
1answer
1k views

How do we get an URL redirection when we click on checkboxes for every internet browsers?

Here is my issue. I am working on the layered navigation menu. In "filter.phtml", I added checkboxes to "li" tags, so that we can click on them in the frontend to get our research filtered. I tested ...
1
vote
1answer
2k views

Admin grid massaction checkboxes default checked & option set to action I want

Just like the question keep the checkboxes of mass action checked for some items, by default, but I simply want all checkboxes checked by default, plus a default mass-action is selected on first ...
1
vote
0answers
523 views

Simple Product with checkbox user defined quantity [closed]

So we sell a product in multiple strengths and sizes on our wholesale site. Product A comes in strength 1, 2, and 3. Currently the user has to select the bottle size via drop down then select strength ...
1
vote
1answer
963 views

checkboxes values not saving more then one

OK so i have a custom module setup and it is working great except on my admin form i cannot get the multiple checkboxes to save it always just saves the last one, i did locate other posts about this ...
0
votes
1answer
44 views

Custom module - specific checkbox question

I have custom slider module. Within that module you can add items (slides) one by one ( with title, caption, aso.. ). Now I added a checkbox to the same form. Only one item (slide) should have that ...