Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function RecalculateProduct(product) {
- if ($(product).getStyle('display') == 'none') {
- // Ignore hidden (deleted) products
- } else {
- // Process active product rows
- var subtotalProduct = 5.00;
- var discountProduct = 6.00;
- var totalProduct = subtotalProduct - discountProduct;
- product.down('.orderChoicePrice input').setValue(totalProduct);
- }
- }
Add Comment
Please, Sign In to add comment