Custom fields
-
I’m trying to add the code bellow on my theme functions.php,
but it wont workCould you help please?
add_filter(‘sln.checkout.additional_fields’,function(){
return array(
‘custom_field_c’=> array(
“label” => ‘Kids’,
“type” => ‘select’,
“options” => array(‘0′,’1’, ‘2’, ‘3’, ‘4’, ‘5’),
“width” => ‘half’,
“default” => ‘0’),
);
});The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Custom fields’ is closed to new replies.