Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
Antn (Guest)
Antn (Guest)
Hi,
 
How can I make the shopping cart side box show $0.00 instead of the message, "Your shopping cart is empty!"?
 
Eugene (Guest)
Eugene (Guest)
Hi,
 
You can find file templates/user/block_cart.html and edit ablock of code like this
 
<!-- begin empty_small_cart -->
<table width=100% cellspacing=0 cellpadding=20 border=0>
<tr>
<td>
<b>{EMPTY_CART_MSG}</b>
</td>
</tr>
</table>
<!-- end empty_small_cart -->
 
so it will fir your needs.
 
Another way is to open block_cart.php and edit this piece of code at the end of it
} else {
$t->set_var("EMPTY_CART_MSG", EMPTY_CART_MSG);
$t->parse("empty_small_cart", false);
$t->set_var("small_cart", "");
}
so it will be smth like
} else {
$t->set_var("EMPTY_CART_MSG", $currency_left . "0.00" . $currency_right);
$t->parse("empty_small_cart", false);
$t->set_var("small_cart", "");
}
 
WBR,
ViArt Support Team
 
Hi,
 
How can I make the shopping cart side box show $0.00 instead of the message, "Your shopping cart is empty!"?