codewithzosh / ecommerce-products-data

25 stars 22 forks source link

missing #4

Open Joshwa034 opened 9 months ago

Joshwa034 commented 9 months ago

please provide the filter data(filterdata.js) as it is missing ecom data files.

tejasborse8114 commented 1 month ago

export const color = [ "white", "Black", "Red", "marun", "Being", "Pink", "Green", "yellow", ] export const filters = [ { id: "color", name: "Color", options: [ {value: "white", label: "White"}, {value: "beige", label: "Beige"}, {value: "blue", label: "Blue"}, {value: "brown", label: "Brown"}, {value: "green", label: "Green"}, {value: "purple", label: "Purple"}, {value: "yellow", label: "Yellow"}, ], }, { id: "size", name: "Size", options: [ {value: "S", label: "S"}, {value: "M", label: "M"}, {value: "L", label: "L"}, ], }, ]; export const singleFilter = [ { id: "price", name: "Price", options: [ {value: "159-399", label: "₹159 To ₹399"}, {value: "399-999", label: "₹399 To ₹999"}, {value: "999-1999", label: "₹999 To ₹1999"}, {value: "1999-2999", label: "₹1999 To ₹2999"}, {value: "2999-3999", label: "₹2999 To ₹3999"}, {value: "3999-4999", label: "₹3999 To ₹4999"}, ], }, { id: "discount", name: "Discount Range", options: [ {value: "10", label: "10% and above"}, {value: "20", label: "20% and above"}, {value: "30", label: "30% and above"}, {value: "40", label: "40% and above"}, {value: "50", label: "50% and above"}, {value: "60", label: "60% and above"}, {value: "70", label: "70% and above"}, {value: "80", label: "80% and above"}, ], }, { id: "stock", name: "availability", options: [ {value: "in_stock", label: "In_stock"}, {value: "out_of_stock", label: "Out_of_stock"}, ], }, ];