imoore Posted January 2, 2010 Posted January 2, 2010 Any idea where to editing the shopping cart on the top of my page so it just has (for example) .. CART I 1 ITEM I SUBTOTAL : €15 and doesnt list the all the product info ? Would be a great help . Thanks.
burt Posted January 2, 2010 Posted January 2, 2010 language file: define('TEXT_IN_CART', 'CART | %s %s | SUBTOTAL %s'); define('ITEM_1', 'ITEM '); define('ITEM_NOT_1', 'ITEMS '); header: <?php echo sprintf(TEXT_IN_CART, $cart->count_contents(), $cart->count_contents()== '1' ? ITEM_1 : ITEM_NOT_1 , $cart->display_total()); ?>
imoore Posted January 2, 2010 Author Posted January 2, 2010 cheers mate. Is there any text that I need to overwrite with this or any particularly section it needs to be stuck in ??? Ian. language file: define('TEXT_IN_CART', 'CART | %s %s | SUBTOTAL %s'); define('ITEM_1', 'ITEM '); define('ITEM_NOT_1', 'ITEMS '); header: <?php echo sprintf(TEXT_IN_CART, $cart->count_contents(), $cart->count_contents()== '1' ? ITEM_1 : ITEM_NOT_1 , $cart->display_total()); ?>
burt Posted January 2, 2010 Posted January 2, 2010 That information is included in the post. One bit in the language file, the other in your header to suit your design.
imoore Posted January 2, 2010 Author Posted January 2, 2010 I neglected to mention that i have the last STS pack installed so this probably confused the whole. Maybe this wasnt the place to pose the question.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.