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.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 trunk All 48 releases
← All changes | app/Services/AdvancedVariationService.php +3 -0 1.5.4 → 1.6.5 View file →
@@ -744,8 +744,11 @@
744 744 'stock_status' => $ancestor !== null ? $ancestor->stock_status : 'in-stock',
745 745 'item_status' => $ancestor !== null ? $ancestor->item_status : 'active',
746 746 'fulfillment_type' => $ancestor !== null ? $ancestor->fulfillment_type : $srcDetails->fulfillment_type,
747 747 'manage_stock' => $ancestor !== null ? $ancestor->manage_stock : $srcDetails->manage_stock,
748 + // Advanced-variation missed the payment_type column that
749 + // simple / simple_variations set — default it to 'onetime'.
750 + 'payment_type' => Arr::get($composedOtherInfo, 'payment_type', 'onetime'),
748 751 'variation_title' => $composedTitle,
749 752 'variation_identifier' => $identifier,
750 753 'other_info' => $composedOtherInfo,
751 754 ]);