PluginProbe
Tiered Pricing Table for WooCommerce / 7.1.7
Tiered Pricing Table for WooCommerce v7.1.7
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
tier-pricing-table / views / frontend / summary-detailed.php

summary-detailed.php in Tiered Pricing Table for WooCommerce 7.1.7, at views/frontend/summary-detailed.php

59 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Summary table
4 *
5 * @var int $productId
6 * @var string $title
7 * @var string $totalLabel
8 * @var string $eachLabel
9 * @var string $showNonTiered
10 */
11
12 if ( ! defined( 'WPINC' ) ) {
13 die;
14 }
15
16 do_action( 'tiered_pricing_table/product_page/before_table_summary', $totalLabel, $eachLabel );
17
18 ?>
19 <div class="clear"></div>
20
21 <div class="tier-pricing-summary-table tier-pricing-summary-table--hidden tier-pricing-summary-table--detailed"
22 data-tier-pricing-table-summary
23 data-show-non-tiered="<?php echo esc_attr( isset( $showNonTiered ) ? $showNonTiered : 'no' ); ?>"
24 data-product-id="<?php echo esc_attr( $productId ); ?>">
25
26 <?php if ( $title ) : ?>
27 <h4 style="margin: 10px 0;">
28 <?php echo esc_html( $title ); ?>
29 </h4>
30 <?php endif; ?>
31
32 <div class="tiered-pricing-totals tiered-pricing-totals--advanced">
33 <div style="display: flex; justify-content: space-between; border-top: 1px dashed #f5f5f5; border-bottom: 1px dashed #f5f5f5; padding: 5px 0;">
34 <div>
35 <span data-tier-pricing-table-summary-product-qty></span>
36 <span style="font-size: .9em;">&times;</span>
37 <span data-tier-pricing-table-summary-product-name></span>
38 </div>
39 <div>
40 <del style="margin-right: 5px;"><span data-tier-pricing-table-summary-product-old-price></span></del>
41 <span style="font-size: 1.15em" data-tier-pricing-table-summary-product-price></span>
42 </div>
43 </div>
44
45 <div style="display: flex; justify-content: space-between; font-size: 1.3em; margin-top:5px">
46 <div>
47 <?php echo esc_html( $totalLabel ); ?>
48 </div>
49 <div>
50 <span data-tier-pricing-table-summary-total-with-tax></span>
51 </div>
52 </div>
53
54 </div>
55 </div>
56
57
58 <?php do_action( 'tiered_pricing_table/product_page/before_table_summary', $totalLabel, $eachLabel ); ?>
59