PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.5
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.5
1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 All 49 releases
← All changes | app/Hooks/Handlers/ShortCodes/Buttons/DirectCheckoutShortcode.php +2 -1 1.4.2 → 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;
@@ -107,9 +108,9 @@
107 108 if ($target) {
108 109 $atts['target'] = $target;
109 110 }
110 111
111 - return (new ProductRenderer($product, $rendererConfig))->renderBuyNowButton($atts);
112 + return (new ProductRenderer($product, $rendererConfig))->renderBuyNowButtonBlock($atts);
112 113 }
113 114
114 115 protected function renderAttributes($atts = [])
115 116 {