summaryrefslogtreecommitdiff
path: root/src/lib/flashSale
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-08-15 04:42:21 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-08-15 04:42:21 +0000
commit9d16a4a7f15ce7fe89ff1d451f567064d5030c2f (patch)
tree5e3ebb828493fd4018757ae37e8b8d5429bf73d9 /src/lib/flashSale
parentb0cf5752c1f11a88c67cbf580cc24b5b329295f0 (diff)
parent8f310309ea811d7524f90ffc43db29c1dd291c1a (diff)
Merged in Feature/all-promotion (pull request #239)
Feature/all promotion
Diffstat (limited to 'src/lib/flashSale')
-rw-r--r--src/lib/flashSale/components/FlashSaleNonDisplay.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/flashSale/components/FlashSaleNonDisplay.jsx b/src/lib/flashSale/components/FlashSaleNonDisplay.jsx
index 8dc15b05..3218ab35 100644
--- a/src/lib/flashSale/components/FlashSaleNonDisplay.jsx
+++ b/src/lib/flashSale/components/FlashSaleNonDisplay.jsx
@@ -52,7 +52,7 @@ const FlashSaleProduct = ({ flashSaleId }) => {
useEffect(() => {
const loadProducts = async () => {
const dataProducts = await productSearchApi({
- query: `fq=-flashsale_id_i:${flashSaleId}&fq=flashsale_price_f:[1 TO *]&limit=500&orderBy=flashsale-discount-desc`,
+ query: `fq=-flashsale_id_i:${flashSaleId}&fq=flashsale_price_f:[1 TO *]&limit=25&orderBy=flashsale-discount-desc`,
operation: 'AND',
});
setProducts(dataProducts.response);