You've already forked wc-tier-and-package-prices
Release version 1.0.1
- Add Twig template engine integration - Migrate all templates to Twig format - Add German (Switzerland, Informal) translation - Improve template organization and security - Add Composer dependency management - Create comprehensive changelog
This commit is contained in:
17
templates/frontend/pricing-table.twig
Normal file
17
templates/frontend/pricing-table.twig
Normal file
@@ -0,0 +1,17 @@
|
||||
{#
|
||||
# Frontend Pricing Table Template
|
||||
#
|
||||
# @package WC_Tier_Package_Prices
|
||||
# @var object product
|
||||
# @var array tiers
|
||||
# @var array packages
|
||||
#}
|
||||
<div class="wc-tpp-pricing-container">
|
||||
{% if tiers is not empty and get_option('wc_tpp_enable_tier_pricing') == 'yes' %}
|
||||
{% include 'frontend/tier-pricing-table.twig' with {'product': product, 'tiers': tiers} %}
|
||||
{% endif %}
|
||||
|
||||
{% if packages is not empty and get_option('wc_tpp_enable_package_pricing') == 'yes' %}
|
||||
{% include 'frontend/package-pricing-display.twig' with {'packages': packages} %}
|
||||
{% endif %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user