Replace BC Globals

<script type="text/javascript">
function cleanOutParens(string){
var items = string;
var cleanItems = items.replace('(','');
cleanItems = cleanItems.replace(')','');
document.write(cleanItems);
}
</script>

<span id="cart-items"><script type="text/javascript">cleanOutParens('%%GLOBAL_CartItems%%');</script>

0 Comments

You must be logged in to post a comment.