← All changes
|
app/Hooks/Handlers/ShortCodes/Buttons/DirectCheckoutShortcode.php
+1
-0
1.3.21
→
1.6.5
View file →
| @@ -97,8 +97,9 @@ | ||
| 97 | 97 | 'text' => $buttonText, |
| 98 | 98 | 'is_shortcode' => true, |
| 99 | 99 | 'enable_modal_checkout'=> $instantCheckout, |
| 100 | 100 | 'variant_ids' => [$variationId], |
| 101 | + 'class' => $buttonClass ?: 'fluent-cart-direct-checkout-button', | |
| 101 | 102 | ]; |
| 102 | 103 | |
| 103 | 104 | if ($buttonClass) { |
| 104 | 105 | $atts['class'] = $buttonClass; |