| @@ -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 | ]; |