← All changes
|
src/Admin/ProductManagers/VariationProductManager.php
+3
-4
2.3.3
→
2.2.2
View file →
| @@ -56,13 +56,12 @@ | ||
| 56 | 56 | */ |
| 57 | 57 | public function renderPriceRules( $loop, $variation_data, $variation ) |
| 58 | 58 | { |
| 59 | 59 | $type = PriceManager::getPricingType( $variation->ID ); |
| 60 | - $this->fileManager->includeTemplate( 'admin/add-price-rules-variation.php', [ | |
| 61 | - 'price_rules_fixed' => PriceManager::getFixedPriceRules( $variation->ID, 'edit' ), | |
| 62 | - 'price_rules_percentage' => PriceManager::getPercentagePriceRules( $variation->ID, 'edit' ), | |
| 60 | + $this->fileManager->includeTemplate( 'admin/add-price-rule-variation.php', [ | |
| 61 | + 'price_rules_fixed' => PriceManager::getFixedPriceRules( $variation->ID ), | |
| 62 | + 'price_rules_percentage' => PriceManager::getPercentagePriceRules( $variation->ID ), | |
| 63 | 63 | 'i' => $loop, |
| 64 | - 'minimum' => PriceManager::getProductQtyMin( $variation->ID, 'edit' ), | |
| 65 | 64 | 'variation_data' => $variation_data, |
| 66 | 65 | 'type' => $type, |
| 67 | 66 | 'isFree' => $this->licence->isFree(), |
| 68 | 67 | ] ); |