hi guys, i am not a programming geek, just learn some programming languages during my school days.
Because i am currently creating a website to sell some items, i am changing some of the default codes inside to suit my needs.
this is the problem that i am facing,
while($products_stock_values=tep_db_fetch_array($products_stock_query)) {
if($products_stock_values[‘products_stock_quantity’] > 0){
//We only want to display rows for combinations we have on stock…
//For example the quantity can be 0 or even negative if oversold.
$rowscounter += 1;
$attributes=explode(",",$products_stock_values[‘products_stock_attributes’]);
$html_ev_out .= ‘
$total_price=$products_facts['products_price'];
foreach($attributes as $attribute) {
$attr=explode("-",$attribute);
$html_ev_out .= '<td class="td_left"><font size="1"><a target="cardpic" href="/images/singles/zx/'. $products_stock_values['products_stock_id'] .'.jpg">'.tep_values_name($attr[1]).'</font></a></td>';
$total_price+=$attributes_price[$attr[0]][$attr[1]];
}
$total_price=$currencies->display_price($total_price, tep_get_tax_rate($products_facts['products_tax_class_id']));
//$total_price=$currencies->format($total_price);
$html_ev_out .= '<td class="td_center"><font size=1>'.$total_price.'</font></td>';
$html_ev_out .= '<td class="td_right"><font size=1>'.$products_stock_values['products_stock_quantity'].'</font></td>';
}
}
$html_ev_out .= '
|
this is the website that i am creating and the coding that is involved in the pictures below.
http://www.tcgsg.com/product_info2.php?products_id=70
I have created an iframe which its pictures will changed based on the card name link.
but now i would like the column on the extreme right, the description under “remarks” will change with the picture.
any experts can advise me ?