From 579539eb607e96e36163f1b321302b934ace892a Mon Sep 17 00:00:00 2001 From: devansh bawari Date: Tue, 9 Feb 2021 17:57:45 +0530 Subject: [PATCH] Properties moved to Abstract Class --- packages/Webkul/Product/src/Type/AbstractType.php | 14 ++++++++++++++ packages/Webkul/Product/src/Type/Simple.php | 7 ------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/packages/Webkul/Product/src/Type/AbstractType.php b/packages/Webkul/Product/src/Type/AbstractType.php index aacd176d0..5b2d2bfdf 100644 --- a/packages/Webkul/Product/src/Type/AbstractType.php +++ b/packages/Webkul/Product/src/Type/AbstractType.php @@ -133,6 +133,20 @@ abstract class AbstractType */ protected $productOptions = []; + /** + * Skip attribute for simple product type. + * + * @var array + */ + protected $skipAttributes = []; + + /** + * These blade files will be included in product edit page. + * + * @var array + */ + protected $additionalViews = []; + /** * Create a new product type instance. * diff --git a/packages/Webkul/Product/src/Type/Simple.php b/packages/Webkul/Product/src/Type/Simple.php index 40934f562..8dced5ecb 100644 --- a/packages/Webkul/Product/src/Type/Simple.php +++ b/packages/Webkul/Product/src/Type/Simple.php @@ -4,13 +4,6 @@ namespace Webkul\Product\Type; class Simple extends AbstractType { - /** - * Skip attribute for simple product type - * - * @var array - */ - protected $skipAttributes = []; - /** * These blade files will be included in product edit page *