diff --git a/backend/product/admin.py b/backend/product/admin.py index 67a7ab5..53cc42a 100644 --- a/backend/product/admin.py +++ b/backend/product/admin.py @@ -243,7 +243,7 @@ class ProductVariantInLine(ProductVariantInlineAdminPermission, StackedInline): readonly_fields = ['price', 'sell', 'price_in_dollor'] # inlines = [DetailModelInLine] autocomplete_fields = ['product_attributes', 'in_pack_items', 'images', 'details'] - fields = ['input_price', 'min_price', 'currency', 'price', 'profit', 'discount', 'special_discount_percent', 'in_stock', 'images', 'video', 'color', 'product_attributes', 'in_pack_items', 'details', 'sell', 'slider_category'] + fields = ['input_price', 'min_price', 'currency', 'price', 'profit', 'in_stock', 'discount', 'special_discount_percent', 'images', 'video', 'color', 'product_attributes', 'in_pack_items', 'details', 'sell', 'slider_category'] # search_fields = [''] def formfield_for_dbfield(self, db_field, request, **kwargs): diff --git a/frontend/constants/index.ts b/frontend/constants/index.ts index 56f126e..1d02863 100644 --- a/frontend/constants/index.ts +++ b/frontend/constants/index.ts @@ -102,7 +102,7 @@ export const MUTATION_KEYS = { export const PRODUCT_RANGE = { min: 0, - max: 100_000_000, + max: 10_000_000_000, }; export const NAV_LINKS = [