| 1 |
<?php |
| 2 |
if ( ! defined( 'WPINC' ) ) { |
| 3 |
die; |
| 4 |
} |
| 5 |
?> |
| 6 |
|
| 7 |
<h4> |
| 8 |
<?php esc_html_e( 'Please note that the prices and quantity limits you set here could be overridden at the product level.', |
| 9 |
'tier-pricing-table' ); ?> |
| 10 |
</h4> |
| 11 |
|
| 12 |
<h4> |
| 13 |
<?php esc_html_e( 'Control pricing priorities in the', 'tier-pricing-table' ); ?> |
| 14 |
<a href="#" id="tpt-global-pricing-rule-pricing-notice-settings-link"> |
| 15 |
<?php esc_html_e( 'Settings', 'tier-pricing-table' ); ?> |
| 16 |
</a> |
| 17 |
</h4> |
| 18 |
|
| 19 |
<script> |
| 20 |
jQuery('#tpt-global-pricing-rule-pricing-notice-settings-link').click(function () { |
| 21 |
|
| 22 |
jQuery('[data-target=tpt-global-pricing-rule-form-tab-settings]').trigger('click'); |
| 23 |
jQuery('[name=_tpt_settings_priority_type]').closest('.tiered-pricing-form-block').addClass('tpt-heartbeat'); |
| 24 |
|
| 25 |
setTimeout(function () { |
| 26 |
jQuery('[name=_tpt_settings_priority_type]').closest('.tiered-pricing-form-block').removeClass('tpt-heartbeat') |
| 27 |
}, 600); |
| 28 |
}); |
| 29 |
</script> |
| 30 |
|