I've I tried this in modules/MYTEMPLATENAME/attributes.php
// grouped attributes wrapper //
if (stristr($attributes_values->fields['products_options_name'],'Finishing Options')) {
end($options_name);
$last_id=key($options_name);
$options_name[$last_id] = '<div id="MYHIDDENATTRIBUTESDIV" style="background-color:#ffffcc;">' . $options_name[$last_id];
}
if (stristr($attributes_values->fields['products_options_name'],'Upload your artwork')) {
end($options_name);
$last_id=key($options_name);
$options_name[$last_id] = $options_name[$last_id] . '</div>';
}
// attributes images table
$options_attributes_image[] = trim($tmp_attributes_image) . "\n";
$products_options_names->MoveNext();
}
// manage filename uploads
$_GET['number_of_uploads'] = $number_of_uploads;
// zen_draw_hidden_field('number_of_uploads', $_GET['number_of_uploads']);
zen_draw_hidden_field('number_of_uploads', $number_of_uploads);
}
This doesn't do anything.
If you go here it might be easier for you to see what I am trying to achieve.
http://www.online-printing-services....&products_id=1
I need the div to start at Finishing Options and end just before Upload your artwork.
So where you see Folds, for different products this might be something else before Upload your artwork.