← All changes
|
src/Addons/RequestAQuote/views/frontend/integrated/horizontal-table.php
+5
-0
7.1.7
→
8.0.2
View file →
| @@ -8,8 +8,9 @@ | ||
| 8 | 8 | * @var int $productId |
| 9 | 9 | * @var bool $hasQty |
| 10 | 10 | * @var bool $hasDiscount |
| 11 | 11 | * @var bool $hasPrice |
| 12 | + * @var int $customColumns | |
| 12 | 13 | * @var string $buttonHtml |
| 13 | 14 | */ |
| 14 | 15 | if ( ! defined( 'ABSPATH' ) ) { |
| 15 | 16 | exit; |
| @@ -36,5 +37,9 @@ | ||
| 36 | 37 | <?php echo wp_kses_post( $buttonHtml ); ?> |
| 37 | 38 | </span> |
| 38 | 39 | </div> |
| 39 | 40 | <?php endif; ?> |
| 41 | + | |
| 42 | + <?php for ( $i = 0; $i < (int) ( $customColumns ?? 0 ); $i++ ) : ?> | |
| 43 | + <div class="tiered-pricing-horizontal-table-cell"></div> | |
| 44 | + <?php endfor; ?> | |
| 40 | 45 | </div> |