
Originally Posted by
ShopVille
Thanks
Its in orders.php
So i changed this:
PHP Code:
//<!-- Begin Zen Cart v1.5 Modified Core Code //-->
echo '<br /><nobr><small> <i><b> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value']));
//<!-- End Zen Cart v1.5 Modified Core Code //-->
if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')';
if ($order->products[$i]['attributes'][$j]['product_attribute_is_free'] == '1' and $order->products[$i]['product_is_free'] == '1') echo TEXT_INFO_ATTRIBUTE_FREE;
echo '</i></b></small></nobr>';
}
}
The outcome was that both the name and value became bold
If only want the attribute name to be Bolded, then:
Code:
//<!-- Begin Zen Cart v1.5 Modified Core Code //-->
echo '<br /><nobr><small> <i><b> - ' . $order->products[$i]['attributes'][$j]['option'] . '</b>: ' . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value']));
//<!-- End Zen Cart v1.5 Modified Core Code //-->
if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')';
if ($order->products[$i]['attributes'][$j]['product_attribute_is_free'] == '1' and $order->products[$i]['product_is_free'] == '1') echo TEXT_INFO_ATTRIBUTE_FREE;
echo '</i></small></nobr>'; //NOTE CHANGE MADE HERE TO REMOVE </b>
}
}
If did want the entire line bolded, then the last echo line should have </b> before </i>.