Category Archives: Business Catalyst / GoodBarry

How to Change “This product is unavailable or out of stock” message – Business Catalyst / GoodBarry

JavaScript:   <script type="text/javascript">     function AddProductExtras(catalogId,productId,ret) {         var td = document.getElementById(‘catProdTd_’+productId);         if (td.innerHTML == ‘This product is unavailable or out of stock.’)            td.innerHTML = ‘Product added successfully.’;            } </script>    
Posted in Business Catalyst / GoodBarry | Tagged , , | Leave a comment

How to Make Billing Information Same as Shipping – Business Catalyst / GoodBarry

HTML:   <input type="checkbox" onclick="SetBilling(this.checked);"/> Same as Shipping   JavaScript:   <script type="text/javascript"> function SetBilling(checked) {         if (checked) {                 document.getElementById(‘BillingAddress’).value = document.getElementById(‘ShippingAddress’).value;                 document.getElementById(‘BillingCity’).value = document.getElementById(‘ShippingCity’).value;                 document.getElementById(‘BillingState’).value = [...]
Also posted in JavaScript | Tagged , , , | Leave a comment