I have some two options added to products via the admin panel. What I want to do is insert some custom html between these options. Is it possible to do this programmatically ?
Something similar to:
$_product->addOption(
array(
'type' => 'html',
'value' => '<!--html to go here-->',
'position' => 1
) );
where the type would require a new view script that would just echo the option value.
Alternatively, is there a way to echo out the options independently? e.g.:
echo $_product->getOption(0)->toHtml(), // echo first option
$myHtmlHere, // echo my html
$_product->getOption(1)->toHtml(); // echo second option