To customize the "Shopping cart is empty" message on the { module_shoppingcartsummary} you will need to add the following script to all your templates.
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript">
$.noConflict();
jQuery(document).ready(function($) {
var msg = $('td.cartSummaryItem').html();
if(msg == "Shopping cart is empty." ) {
jQuery('td.cartSummaryItem').replaceWith('Shopping Bag: 0 Items'); //replace with your own message
}
});
</script>
Comments
Post has no comments.