Yes it would and I actually get that now! lol It's been a long weekend - like trying to read chinese...
Now, as I'm sure you guessed... I have another idea....
How would I code this portion:
... to have it say if the optID is optn2 then have this "class" assigned? I know I can change the div class, but don't know how to tell it that only if optn2 is being displayed. Is that possible?PHP Code:if(is_array($prodoptions)){
if($noproductoptions==TRUE){
$hasmultipurchase=2;
}else{
if($prodoptions[0]['optType']==4 && @$noproductoptions!=TRUE) $thestyle=''; else $thestyle=' width="100%"';
$optionshtml = displayproductoptions('<strong><span class="prodoption">','</span></strong>',$optdiff,$thetax,FALSE,$hasmultipurchase);
if($optionshtml!='') print '<div class="prodoptions"><table border="0" cellspacing="1" cellpadding="1"'.$thestyle.'>' . $optionshtml . '</table></div>';
$rs['pPrice'] += $optdiff;
}
} ?>
My reasoning is this... I have figured out that the shopping cart allows for alt product images based on the product options - and the way I have it coded is to display product options which increase the price - I want to hide the background option in the incproductbody.php page.
Going on to rename images!![]()


LinkBack URL
About LinkBacks

Reply With Quote