Page 1 of 1

Pre Select and Hide Checkbox Option

Posted: Thu Oct 29, 2015 7:35 am
by sytra
As the title says, I'm using OC 2.0.3.1 and am trying to have the checkbox default to the first option and also to be hidden from front page, this is not to try and deceive the customer, it is just that we need the box to be selected but the customer has no need to see it.

I am guessing I need to do something in the product.tpl file but I am not sure, I have tried to add style="hidden" and display none but without knowing where to put them I am stumped.

Any help appreciated.

Thank you.

Re: Pre Select and Hide Checkbox Option

Posted: Thu Oct 29, 2015 4:02 pm
by uksitebuilder
It is not possible to post hidden checkbox values because it is not possible to check hidden checkboxes.

Unchecked checkboxes are not posted.