| @@ -24,11 +24,11 @@ | ||
| 24 | 24 | |
| 25 | 25 | }).bind(this)); |
| 26 | 26 | |
| 27 | 27 | this.getRow('tiered_price_at_catalog_type').on('change', (function (e) { |
| 28 | - if($(e.target).val() === 'lowest'){ | |
| 28 | + if ($(e.target).val() === 'lowest') { | |
| 29 | 29 | this.showRow(this.getRow('lowest_prefix')); |
| 30 | - }else{ | |
| 30 | + } else { | |
| 31 | 31 | this.hideRow(this.getRow('lowest_prefix')); |
| 32 | 32 | } |
| 33 | 33 | }).bind(this)); |
| 34 | 34 | |
| @@ -34,10 +34,14 @@ | ||
| 34 | 34 | |
| 35 | 35 | this.$displayAtCatalog.on('change', (function () { |
| 36 | 36 | if (this.$displayAtCatalog.attr('checked')) { |
| 37 | 37 | this.showRow(this.getRow('tiered_price_at_catalog_type')); |
| 38 | + this.showRow(this.getRow('tiered_price_at_catalog_for_variable')); | |
| 39 | + this.showRow(this.getRow('tiered_price_at_product_page')); | |
| 38 | 40 | } else { |
| 39 | 41 | this.hideRow(this.getRow('tiered_price_at_catalog_type')); |
| 42 | + this.hideRow(this.getRow('tiered_price_at_catalog_for_variable')); | |
| 43 | + this.hideRow(this.getRow('tiered_price_at_product_page')); | |
| 40 | 44 | } |
| 41 | 45 | }).bind(this)); |
| 42 | 46 | |
| 43 | 47 | this.$showDiscountColumn.on('change', (function () { |
| @@ -69,5 +73,6 @@ | ||
| 69 | 73 | |
| 70 | 74 | var tieredPricingSettings = new TieredPricingSettings(); |
| 71 | 75 | |
| 72 | 76 | tieredPricingSettings.init(); |
| 73 | -}); | |
| 77 | +}); | |
| 78 | + | |