| @@ -19,8 +19,9 @@ | ||
| 19 | 19 | public const HAMSALAM_BUSINESS_ID = "hamsalam_business_id"; |
| 20 | 20 | public const VENDOR_ID = "vendor_id"; |
| 21 | 21 | public const IS_VENDOR = "is_vendor"; |
| 22 | 22 | public const SYNC_STATUS_PRODUCT = "sync_status_product"; |
| 23 | + public const AUTO_FULL_UPDATE_INTERVAL = "auto_full_update_interval"; | |
| 23 | 24 | public const SYNC_STATUS_ORDER = "sync_status_order"; |
| 24 | 25 | public const DEVELOPER_MODE = "developer_mode"; |
| 25 | 26 | public const PRICE_CHANGE_VALUE = "price_change_value"; |
| 26 | 27 | public const ROUND_PRICE = "round_price"; |
| @@ -29,8 +30,9 @@ | ||
| 29 | 30 | public const PRODUCT_PREFIX_TITLE = "product_prefix_title"; |
| 30 | 31 | public const PRODUCT_SUFFIX_TITLE = "product_suffix_title"; |
| 31 | 32 | public const SYNC_PRODUCT_FIELDS = "sync_product_fields"; |
| 32 | 33 | public const SYNC_PRODUCT_FIELD_NAME = "sync_product_field_name"; |
| 34 | + public const SYNC_PRODUCT_FIELD_SKU = "sync_product_field_sku"; | |
| 33 | 35 | public const SYNC_PRODUCT_FIELD_PHOTOS = "sync_product_field_photos"; |
| 34 | 36 | public const SYNC_PRODUCT_FIELD_PRICE = "sync_product_field_price"; |
| 35 | 37 | public const SYNC_PRODUCT_FIELD_STOCK = "sync_product_field_stock"; |
| 36 | 38 | public const SYNC_PRODUCT_FIELD_WEIGHT = "sync_product_field_weight"; |
| @@ -39,8 +41,9 @@ | ||
| 39 | 41 | public const SYNC_PRODUCT_FIELD_VARIANT_PRICE = "sync_product_field_variant_price"; |
| 40 | 42 | public const SYNC_PRODUCT_FIELD_VARIANT_STOCK = "sync_product_field_variant_stock"; |
| 41 | 43 | public const CUSTOM_PRODUCT_UPDATE_FIELDS = [ |
| 42 | 44 | self::SYNC_PRODUCT_FIELD_NAME, |
| 45 | + self::SYNC_PRODUCT_FIELD_SKU, | |
| 43 | 46 | self::SYNC_PRODUCT_FIELD_PHOTOS, |
| 44 | 47 | self::SYNC_PRODUCT_FIELD_PRICE, |
| 45 | 48 | self::SYNC_PRODUCT_FIELD_STOCK, |
| 46 | 49 | self::SYNC_PRODUCT_FIELD_WEIGHT, |
| @@ -84,8 +87,9 @@ | ||
| 84 | 87 | self::TOKEN => null, |
| 85 | 88 | self::WEBHOOK_HEADER_TOKEN => Settings::generateToken(), |
| 86 | 89 | self::REFRESH_TOKEN => null, |
| 87 | 90 | self::SYNC_STATUS_PRODUCT => false, |
| 91 | + self::AUTO_FULL_UPDATE_INTERVAL => 48, | |
| 88 | 92 | self::SYNC_STATUS_ORDER => false, |
| 89 | 93 | self::DEVELOPER_MODE => false, |
| 90 | 94 | self::VENDOR_ID => null, |
| 91 | 95 | self::IS_VENDOR => true, |
| @@ -98,8 +102,9 @@ | ||
| 98 | 102 | self::HAMSALAM_BUSINESS_ID => null, |
| 99 | 103 | self::DEFAULT_STOCK_QUANTITY => 1, |
| 100 | 104 | self::SYNC_PRODUCT_FIELDS => 'all', |
| 101 | 105 | self::SYNC_PRODUCT_FIELD_NAME => 0, |
| 106 | + self::SYNC_PRODUCT_FIELD_SKU => 1, | |
| 102 | 107 | self::SYNC_PRODUCT_FIELD_PHOTOS => 0, |
| 103 | 108 | self::SYNC_PRODUCT_FIELD_PRICE => 0, |
| 104 | 109 | self::SYNC_PRODUCT_FIELD_STOCK => 0, |
| 105 | 110 | self::SYNC_PRODUCT_FIELD_WEIGHT => 0, |