PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.7.0
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.7.0
1.7.0 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 All 50 releases
← All changes | app/Http/Requests/ProductUpdateRequest.php +2 -0 1.6.5 → 1.7.0 View file →
@@ -258,8 +258,9 @@
258 258 return $this->validateTaxClassId($attribute, $value);
259 259 }],
260 260 'detail.other_info.tax_exempt' => 'nullable|sanitizeText|in:yes,no',
261 261 'detail.other_info.active_editor' => 'nullable|sanitizeText',
262 + 'detail.other_info.reviews_enabled' => 'nullable|sanitizeText|in:yes,no',
262 263 'detail.other_info.fluent_player_video' => 'nullable|array',
263 264 'product_terms' => 'nullable|array',
264 265 'product_terms.*' => 'nullable|array',
265 266 'product_terms.*.*' => 'nullable|numeric',
@@ -522,8 +523,9 @@
522 523 'detail.other_info.shipping_class' => 'intval',
523 524 'detail.other_info.tax_class' => 'intval',
524 525 'detail.other_info.tax_exempt' => 'sanitize_text_field',
525 526 'detail.other_info.active_editor' => 'sanitize_text_field',
527 + 'detail.other_info.reviews_enabled' => 'sanitize_text_field',
526 528 'detail.other_info.fluent_player_video' => function ($value) {
527 529 return ProductVideoSettings::sanitize($value);
528 530 },
529 531 ];