← All changes
|
src/Addons/RequestAQuote/Frontend/Adapters/PlainTextAdapter.php
+4
-3
7.1.4
→
8.0.2
View file →
| @@ -18,11 +18,12 @@ | ||
| 18 | 18 | } |
| 19 | 19 | ServiceContainer::getInstance()->getFileManager()->includeTemplate( |
| 20 | 20 | 'frontend/integrated/plain-text.php', |
| 21 | 21 | array( |
| 22 | - 'form' => $form, | |
| 23 | - 'productId' => $pricingRule->getProductId(), | |
| 24 | - 'buttonHtml' => $this->getQuoteButtonHtml( $form, $pricingRule->getProductId(), '', '' ) | |
| 22 | + 'form' => $form, | |
| 23 | + 'productId' => $pricingRule->getProductId(), | |
| 24 | + 'plainTextStyle' => $settings['plain_text_style'] ?? 'default', | |
| 25 | + 'buttonHtml' => $this->getQuoteButtonHtml( $form, $pricingRule->getProductId(), '', '' ) | |
| 25 | 26 | ), |
| 26 | 27 | plugin_dir_path( dirname( __DIR__ ) ) . 'views/' |
| 27 | 28 | ); |
| 28 | 29 | } |