diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 00000000..c31e1961 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,21 @@ +name: 'Greetings' + +on: + issues: + types: [opened] + pull_request_target: + types: [opened] +permissions: + issues: write + pull-requests: write + +jobs: + welcome: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: EddieHubCommunity/gh-action-community/src/welcome@main + with: + + issue-message: "Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible." + pr-message: "Great job, @${{ github.actor }}! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project.We will promptly review your changes and offer feedback. kindly remember to check our [contributing guidelines](https://github.com/arghadipmanna101/Flipkart_Clone/blob/main/CONTRIBUITING.md)" diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 00000000..cea4d3f4 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,18 @@ +{ + "configurations": [ + { + "name": "windows-gcc-x64", + "includePath": [ + "${workspaceFolder}/**" + ], + "compilerPath": "gcc", + "cStandard": "${default}", + "cppStandard": "${default}", + "intelliSenseMode": "windows-gcc-x64", + "compilerArgs": [ + "" + ] + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..dbbdc5c4 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "C/C++ Runner: Debug Session", + "type": "cppdbg", + "request": "launch", + "args": [], + "stopAtEntry": false, + "externalConsole": true, + "cwd": "d:/Flipkart_Clone/css", + "program": "d:/Flipkart_Clone/css/build/Debug/outDebug", + "MIMode": "gdb", + "miDebuggerPath": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 47984249..2b67dc19 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,60 @@ -{ - "liveServer.settings.port": 5501 +{ + "liveServer.settings.port": 5501, + "C_Cpp_Runner.cCompilerPath": "gcc", + "C_Cpp_Runner.cppCompilerPath": "g++", + "C_Cpp_Runner.debuggerPath": "gdb", + "C_Cpp_Runner.cStandard": "", + "C_Cpp_Runner.cppStandard": "", + "C_Cpp_Runner.msvcBatchPath": "C:/Program Files/Microsoft Visual Studio/VR_NR/Community/VC/Auxiliary/Build/vcvarsall.bat", + "C_Cpp_Runner.useMsvc": false, + "C_Cpp_Runner.warnings": [ + "-Wall", + "-Wextra", + "-Wpedantic", + "-Wshadow", + "-Wformat=2", + "-Wcast-align", + "-Wconversion", + "-Wsign-conversion", + "-Wnull-dereference" + ], + "C_Cpp_Runner.msvcWarnings": [ + "/W4", + "/permissive-", + "/w14242", + "/w14287", + "/w14296", + "/w14311", + "/w14826", + "/w44062", + "/w44242", + "/w14905", + "/w14906", + "/w14263", + "/w44265", + "/w14928" + ], + "C_Cpp_Runner.enableWarnings": true, + "C_Cpp_Runner.warningsAsError": false, + "C_Cpp_Runner.compilerArgs": [], + "C_Cpp_Runner.linkerArgs": [], + "C_Cpp_Runner.includePaths": [], + "C_Cpp_Runner.includeSearch": [ + "*", + "**/*" + ], + "C_Cpp_Runner.excludeSearch": [ + "**/build", + "**/build/**", + "**/.*", + "**/.*/**", + "**/.vscode", + "**/.vscode/**" + ], + "C_Cpp_Runner.useAddressSanitizer": false, + "C_Cpp_Runner.useUndefinedSanitizer": false, + "C_Cpp_Runner.useLeakSanitizer": false, + "C_Cpp_Runner.showCompilationTime": false, + "C_Cpp_Runner.useLinkTimeOptimization": false, + "C_Cpp_Runner.msvcSecureNoWarnings": false } \ No newline at end of file diff --git a/404.html b/404.html new file mode 100644 index 00000000..a6448e0a --- /dev/null +++ b/404.html @@ -0,0 +1,81 @@ + + + + + + + 404:Page not found + + + + + + +
+ 404 pic +

Unfortunately the page you are looking for has been moved or deleted

+ +
+ + + \ No newline at end of file diff --git a/Home & Furniture-/index.html b/Home & Furniture-/index.html index 3a79f486..490f0932 100644 --- a/Home & Furniture-/index.html +++ b/Home & Furniture-/index.html @@ -5,6 +5,7 @@ + Flipkart | Home Furniture Online at Best Prices in India diff --git a/README.md b/README.md index 864ac661..6e4f467f 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,73 @@ + +
+

Flipkart_Clone

+ +
+

[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/) ![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat) -![GitHub Repo stars](https://img.shields.io/github/stars/arghadipmanna101/Flipkart_Clone) ![GitHub contributors](https://img.shields.io/github/contributors/arghadipmanna101/Flipkart_Clone) -![GitHub last commit](https://img.shields.io/github/last-commit/arghadipmanna101/Flipkart_Clone) ![GitHub repo size](https://img.shields.io/github/repo-size/arghadipmanna101/Flipkart_Clone) ![Github](https://img.shields.io/github/license/arghadipmanna101/Flipkart_Clone) -![GitHub issues](https://img.shields.io/github/issues/arghadipmanna101/Flipkart_Clone) -![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/arghadipmanna101/Flipkart_Clone) -![GitHub pull requests](https://img.shields.io/github/issues-pr/arghadipmanna101/Flipkart_Clone) -![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/arghadipmanna101/Flipkart_Clone) -

+ + + + + + + + + + + + + + + + + + + + + + +
🌟 Stars🍴 Forks🐛 Issues Closed Issues🔔 Open PRs🔕 Close PRs last commit
StarsForksIssuesclosed issues + Open Pull RequestsClose Pull Requestslast commit
+ + +

Open Source Programs

- This project is a part of GirlScript Summer of code. We welcome contibutions from the community to help improve the project Flipkart_Clone. - -![gssoc](https://github.com/d1vyadharsh1n1/Flipkart_Clone/assets/146218077/dd4ffa29-2d52-47ad-9967-d0d6f8aff717) + + -
-

Flipkart_Clone

+
+ + + + + + + + + + +
Event LogoEvent NameEvent Description
GSSoC 24GirlScript Summer of Code 2024GirlScript Summer of Code is a three-month-long Open Source Program conducted every summer by GirlScript Foundation. It is an initiative to bring more beginners to Open-Source Software Development.
+ +
- +
Flipkart Logo Animation diff --git a/account/rewards.html b/account/rewards.html index d132c4de..470c1a6c 100644 --- a/account/rewards.html +++ b/account/rewards.html @@ -12,19 +12,457 @@ + + + + +
+ + + +
+ + + + +
+ + +
+
+
+ + + +

Hello User

+
+ +
+
+

Available Coupons

+
+
+

20% off on men's clothing

+

Validity: 31st Dec 2024

+
+
+

Get 20% off on clothing with this coupon or receive cashback!

+

View T&C

+
+
+
+
+
+

Extra 400/- off

+
+
+

Validity: 28th Aug 2024

+
+
+
+
+

Get 400 off on clothing with this coupon or receive cashback!

+
+
+

View T&C

+
+
+
+
+
+
+

25% off on children's clothing

+
+
+

Validity: 31st Dec 2024

+
+
+
+
+

Get 25% off on clothing with this coupon or receive cashback!

+
+
+

View T&C

+
+
+
+
+
+
+

Gift Voucher worth 2500

+
+
+

Validity: 31st July 2024

+
+
+
+
+

Get 2500 off on clothing with this coupon or receive cashback!

+
+
+

View T&C

+
+
+
+
+
+
+

Extra 599 off on grocery

+
+
+

Validity: 31st Dec 2024

+
+
+
+
+

Get 599 off on clothing with this coupon or receive cashback!

+
+
+

View T&C

+
+
+
+ +
+
+
+ + + + + + -
- This is Header -
-

Rewards

- - - - \ No newline at end of file diff --git a/css/footer.css b/css/footer.css index f86dfd2e..5a392fc0 100644 --- a/css/footer.css +++ b/css/footer.css @@ -49,8 +49,8 @@ footer .social ul{ } footer .social li{ margin: 5px; + opacity: 0.75; } - footer .footerEnd{ border-top: 1px solid #454d5e; padding: 25px 0; diff --git a/css/homeHeader.css b/css/homeHeader.css index 36eb4704..133975b9 100644 --- a/css/homeHeader.css +++ b/css/homeHeader.css @@ -70,6 +70,13 @@ border-radius: 10px; } +.homeHeader .navItem4:hover, +.homeHeader .navItem3:hover{ + background: #ebe8e8; + border-radius: 10px; + transition: all 0.4s; +} + .homeHeader .nav-item-divider:last-child::before { display: none; } diff --git a/css/index.css b/css/index.css index a7c666c3..c617495e 100644 --- a/css/index.css +++ b/css/index.css @@ -12,7 +12,39 @@ body { background: #dcdcdc !important; overflow-x: hidden; } - +/* Scrollbar */ +::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1); + background-color: #f5f5f5; + border-radius: 10px; +} +::-webkit-scrollbar { + width: 10px; + background-color: #f5f5f5; + transition: width 0.3s; +} +::-webkit-scrollbar-thumb { + border-radius: 10px; + background-color: #fff; + background-image: -webkit-gradient( + linear, + 40% 0%, + 75% 84%, + from(#0d6efd), + color-stop(0.4, #0d6efd), + color-stop(0.5, #1d7bfd), + color-stop(0.6, #3d8bfd), + to(#3d8bfd) + ); + transition: background-color 0.3s, width 0.3s; +} +/* Hover effect */ +::-webkit-scrollbar:hover { + width: 14px; +} +::-webkit-scrollbar-thumb:hover { + background-color: #0d6efd; +} .navname_ac .bi-chevron-up { display: none; } @@ -27,6 +59,7 @@ body { #categorylist-wrapper { margin-top: 8px; + width: -webkit-fill-available; } @media screen and (max-width: 770px) { @@ -60,10 +93,9 @@ body { width: 100%; min-width: 1000px; box-shadow: 0 0 10px rgb(87, 110, 172); - } -.categories>li { + .categories>li { position: static; display: inline-block; padding: 20px 15px; @@ -72,6 +104,8 @@ body { .categories li a { text-decoration: none; + color: black; + font-weight: 500; } .categories>li>ul { @@ -91,33 +125,6 @@ body { z-index: 500; } -.categories>li:hover>ul { - display: flex; - justify-content: left; - align-items: stretch; -} - -.categories>li:hover { - background-color: #bac8f6; - transition: all 0.5s; - border-radius: 20px; -} - -.categories>li:hover>ul>li { - margin: 15px 0; - flex: 1 1 200px; - list-style-type: none; -} - -.categories>li:hover>ul>li li { - list-style-type: none; - margin: 15px 0; - color: rgb(88, 116, 194); -} - -.categories>li:hover>ul li li:hover { - color: rgb(112, 112, 166); -} .categories li ul li img{ display: none; } @@ -149,6 +156,105 @@ body { color: #333333; } +.dropdownbox { + /* left:20%; */ + display: none; + position: absolute; + top:30%; + width:240px; + /* height:528px; */ + box-shadow: 0 8px 8px 1px rgba(0, 0, 0, .3); + border-radius: 8px; + background-color: #fff; + color: rgb(43, 42, 42); + line-height: 20px; + font-size: 12px; + z-index: 1000; +} +.grocery{ + left:5%; +} +.Mobiles{ + left: 10%; +} +.Fashion{ + left:20%; +} +.electronics{ + left:30%; +} +.home-furniture{ + left:40%; +} +.appliances{ + left: 50%; +} +.travel{ + left:65%; +} +.beauty{ + left:70%; +} +.twowheelers{ + left:80%; +} + +.dropdownbox > div > div + div{ + display: none; + position: absolute; + top:0%; + width:240px; + left: 100%; + box-shadow: 0 8px 8px 1px rgba(0, 0, 0, .3); + border-radius: 8px; + background-color: #fff; + line-height: 20px; +} + +.dropdownbox > div:hover > div + div{ + display: block; +} + +.sidearrow{ + display: none; + position: absolute; + right: 30px; + height: 6px; + width: 6px; + margin: 15px 0 15px 0; + border-color: #111112; + border-style: solid; + border-width: 0 1px 1px 0; + transform-origin: 50% 50%; + transform: translateY(75%) rotate(-45deg); +} +.dropdownbox > div{ + display: flex; +} +.dropdownbox > div > div:not(.subdropdown){ + padding: 12px 16px; +} +.dropdownbox > div:hover > div:not(.subdropdown){ + font-weight:bold; +} +.dropdownbox > div:hover{ + background-color:#cbdcf7; +} +.dropdownbox > div:hover >.sidearrow{ + display: block; +} +.subdropdown > div:first-child { + font-weight: bold; +} +.dropdownbox > div > div > div{ + padding: 12px 16px; + font-size: 12px; +} + +.subdropdown > div:hover{ + font-weight: bold; +} + /*adding transition property to the images of the cateogory-grid section*/ #category-grid img { transition: transform 0.3s ease-in-out; @@ -254,12 +360,12 @@ body { width: 100%; height: auto; transition: transform 0.3s ease-in-out; -} +} #img-box img:hover { transform: scale(1.2); opacity: 0.82; -} +} */ /* product best for you */ #s1-product .products { @@ -411,10 +517,10 @@ body { /* position of the gototop button */ bottom: 4%; right: 7%; - background-color: rgba(235, 66, 66, 0.724); + background-color: rgb(255, 0, 0); color: #fff; border: none; - border-radius: 10px; + border-radius: 50%; width: 40px; height: 40px; cursor: pointer; @@ -422,7 +528,7 @@ body { } #goToTopBtn:hover { - background-color: #2874F0; + background-color: hsl(217, 87%, 45%); } .hidden { diff --git a/footer/footer.html b/footer/footer.html index 28878411..8b88e29e 100644 --- a/footer/footer.html +++ b/footer/footer.html @@ -87,6 +87,9 @@
Social
  • +
  • diff --git a/header/header.html b/header/header.html index 1f381e95..a4d75e05 100644 --- a/header/header.html +++ b/header/header.html @@ -9,6 +9,59 @@ + @@ -20,11 +73,10 @@ - + + - \ No newline at end of file + diff --git a/img/fav_icon.png b/img/fav_icon.png new file mode 100644 index 00000000..a96d2ae4 Binary files /dev/null and b/img/fav_icon.png differ diff --git a/img/flipkarterror.png b/img/flipkarterror.png new file mode 100644 index 00000000..05ffa7d0 Binary files /dev/null and b/img/flipkarterror.png differ diff --git a/img/svg/account-nav.svg b/img/svg/account-nav.svg new file mode 100644 index 00000000..13b88d72 --- /dev/null +++ b/img/svg/account-nav.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/svg/download.svg b/img/svg/download.svg new file mode 100644 index 00000000..d6470718 --- /dev/null +++ b/img/svg/download.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/svg/payments-nav.svg b/img/svg/payments-nav.svg new file mode 100644 index 00000000..ef0dfbf0 --- /dev/null +++ b/img/svg/payments-nav.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/user.png b/img/user.png new file mode 100644 index 00000000..6209f920 Binary files /dev/null and b/img/user.png differ diff --git a/index.html b/index.html index af8a160c..8cac5f12 100644 --- a/index.html +++ b/index.html @@ -1,455 +1,456 @@ - - - - - - - - Flipkart | Online Shopping Site for Mobiles, Electronics, Furniture, Grocery, Lifestyle, Books & More. - Best Offers! - - - - - - - - - - - - - - -
    -
    -
    - -
    -
    - - - - -
    - -
    - - - -
    - -
    - - -
    - -
    - - - - -
    -
    - -
    -
    -
    -
    -
    - - -
    -
    -

    Best of Electronics

    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    - - -
    -
    -

    Suggested for You

    -
    -
    -
    - - - -
    -
    -

    Mobile Phone Under 15000 Rs

    -
    -
    -
    - - -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    - - -
    -
    -

    Best Deal for You

    -
    -
    -
    - - -
    -
    -

    Shop Now Under 500 Rs

    -
    -
    -
    - - - -
    -
    -
    -
    -

    Best for You

    -
    -
    - -
    -
    -
    -
    -

    -
    -
    -
    -
    -
    - - - -
    -
    -

    Top Selection

    -
    -
    -
    - -
    - deal1 - deal1 - deal1 - deal1 - deal1 - deal1 - deal1 - deal1 - deal1 -
    - - -
    -
    -

    Select Your Choice

    -
    -
    -
    - - -
    -
    -

    Frequently Asked Questions

    -
    -
    -

    - -

    -
    -
    - To create an account on Flipkart, simply click on the "Sign Up" button located at the - top-right corner of the homepage. Follow the prompts to enter your details and create your - account. -
    -
    -
    -
    -

    - -

    -
    -
    - Placing an order on Flipkart is easy! Once you've found the product you want to buy, click - on it to view details and then click on the "Buy Now" or "Add to Cart" button. Follow the - steps to complete your order. -
    -
    -
    -
    -

    - -

    -
    -
    - Flipkart offers various payment options including credit/debit cards, net banking, UPI, EMI, - and Cash on Delivery (COD) for eligible orders. -
    -
    -
    -
    -

    - -

    -
    -
    - You can track your order by clicking on the "Track Order" link in the "My Orders" section of - your Flipkart account. You will receive regular updates on your order status via email and - SMS. -
    -
    -
    -
    -

    - -

    -
    -
    - Flipkart has a hassle-free return policy. If you're not satisfied with your purchase, you - can initiate a return within the specified return period. Simply go to the "My Orders" - section, select the order you want to return, and follow the prompts. -
    -
    -
    -
    -
    -
    - - - - - - - - - - - - - - - - - - - + + + + + + + + Flipkart | Online Shopping Site for Mobiles, Electronics, Furniture, Grocery, Lifestyle, Books & More. + Best Offers! + + + + + + + + + + + + + + +
    +
    +
    + +
    +
    + + + + +
    + +
    + + + +
    + +
    + + +
    + +
    + + + + +
    +
    + +
    +
    +
    +
    +
    + + +
    +
    +

    Best of Electronics

    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    +
    +

    Suggested for You

    +
    +
    +
    + + + +
    +
    +

    Mobile Phone Under 15000 Rs

    +
    +
    +
    + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + + +
    +
    +

    Best Deal for You

    +
    +
    +
    + + +
    +
    +

    Shop Now Under 500 Rs

    +
    +
    +
    + + + +
    +
    +
    +
    +

    Best for You

    +
    +
    + +
    +
    +
    +
    +

    +
    +
    +
    +
    +
    + + + +
    +
    +

    Top Selection

    +
    +
    +
    + +
    + deal1 + deal1 + deal1 + deal1 + deal1 + deal1 + deal1 + deal1 + deal1 +
    + + +
    +
    +

    Select Your Choice

    +
    +
    +
    + + +
    +
    +

    Frequently Asked Questions

    +
    +
    +

    + +

    +
    +
    + To create an account on Flipkart, simply click on the "Sign Up" button located at the + top-right corner of the homepage. Follow the prompts to enter your details and create your + account. +
    +
    +
    +
    +

    + +

    +
    +
    + Placing an order on Flipkart is easy! Once you've found the product you want to buy, click + on it to view details and then click on the "Buy Now" or "Add to Cart" button. Follow the + steps to complete your order. +
    +
    +
    +
    +

    + +

    +
    +
    + Flipkart offers various payment options including credit/debit cards, net banking, UPI, EMI, + and Cash on Delivery (COD) for eligible orders. +
    +
    +
    +
    +

    + +

    +
    +
    + You can track your order by clicking on the "Track Order" link in the "My Orders" section of + your Flipkart account. You will receive regular updates on your order status via email and + SMS. +
    +
    +
    +
    +

    + +

    +
    +
    + Flipkart has a hassle-free return policy. If you're not satisfied with your purchase, you + can initiate a return within the specified return period. Simply go to the "My Orders" + section, select the order you want to return, and follow the prompts. +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/js/appliances-script.js b/js/appliances-script.js index 139aabfb..63e98b1b 100644 --- a/js/appliances-script.js +++ b/js/appliances-script.js @@ -20,17 +20,31 @@ document.addEventListener('DOMContentLoaded', () => { // Function to create a product card function createapplianceProductCard(product) { - return ` - -
    -
    - ${product.id} -
    -
    ${product.name}
    -
    Price: ₹${product.price}
    + const discont=(Math.floor(product.rating*(parseInt((product.price.toString()).slice(0,2)))/10)) + const afterDiscontPrice=Math.round((100-discont)*product.price/100) + + function formatIndianRupee(number) { + const parts = number.toString().split("."); + const integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); + const formattedNumber = parts.length > 1 ? integerPart + "." + parts[1] : integerPart; + return formattedNumber; + } + + return ` + +
    +
    +
    + ${product.id}
    -
    - `; +
    ${product.name.slice(0, 20)} ${product.name.length > 20 ? "...":""}
    +
    ${product.rating}  
    +
    ₹${formatIndianRupee(afterDiscontPrice)} ₹${formatIndianRupee(product.price)} ${discont}% off
    +
    + +`; } diff --git a/js/beautyToys&more-script.js b/js/beautyToys&more-script.js index db1681d8..61be547f 100644 --- a/js/beautyToys&more-script.js +++ b/js/beautyToys&more-script.js @@ -22,17 +22,31 @@ document.addEventListener('DOMContentLoaded', () => { // Function to create a product card function createbeautyToysProductCard(product) { + const discont=(Math.floor(product.rating*(parseInt((product.price.toString()).slice(0,2)))/10)) + const afterDiscontPrice=Math.round((100-discont)*product.price/100) + + function formatIndianRupee(number) { + const parts = number.toString().split("."); + const integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); + const formattedNumber = parts.length > 1 ? integerPart + "." + parts[1] : integerPart; + return formattedNumber; + } + return ` - + +
    -
    - ${product.id} -
    -
    ${product.name}
    -
    Price: ₹${product.price}
    -
    -
    - `; +
    + ${product.id} +
    +
    ${product.name.slice(0, 20)} ${product.name.length > 20 ? "...":""}
    +
    ${product.rating}  
    +
    ₹${formatIndianRupee(afterDiscontPrice)} ₹${formatIndianRupee(product.price)} ${discont}% off
    +
    + + `; } diff --git a/js/categoryData.json b/js/categoryData.json index 8c1d5465..8b1097ee 100644 --- a/js/categoryData.json +++ b/js/categoryData.json @@ -49,20 +49,44 @@ "icon": "fashion.png", "subcategories": [ { - "id": "mens-clothing", - "name": "Men's Clothing", + "id": "mens-top_wear", + "name": "Men's Top Wear", "icon": "fashion.png", - "subcategories": ["Shirts", "Pants", "Jackets"] + "subcategories": ["All" ,"Men's T-Shirts", "Men's Casual Shirts","Men's Kurtas","Men's Ethnic Sets", "Men's Blazers", "Men's Raincoat","Men's Formal Shirts", "Men's Pants", "Men's Jackets"] }, { - "id": "womens-clothing", - "name": "Women's Clothing", + "id": "mens-bottom_wear", + "name": "Men's Bottom Wear", "icon": "fashion.png", - "subcategories": ["Dresses", "Skirts", "Tops"] + "subcategories": ["All" ,"Men's Jeans", "Men's Tousers","Men's Track Pants","Men's Shorts", "Men's Cargo", "Men's Threefourths","Men's Dhoti", "Men's Ethnic Pyjama", "Men's Pyjama & Loungerpants"] + }, + { + "id": "womens-ethnics", + "name": "Women's Ethnic", + "icon": "fashion.png", + "subcategories": ["All","Women Sarees","Women kurtas & Kurtis","Women Kurta Set & Salwar Suits","Women Gowns","Women Blouse","Ethnic Dresses", "Women Dupatta"] + }, + { + "id": "mens-Footwear_wear", + "name": "Men's Footwear", + "icon": "fashion.png", + "subcategories": ["All", "Men's Sports Shoe","Mens Casual shoes", "Shoe Care"] + }, + { + "id": "women-Footwear_wear", + "name": "Women Footwear", + "icon": "fashion.png", + "subcategories": ["All","Women Flats","Women Heels","Women Sports Shoe","Women Casual shoes", "Shoe Care"] + }, + { + "id": "watches_and_accessories", + "name": "Watches And Accessories", + "icon": "fashion.png", + "subcategories": ["All","Men & Women Watches", "Men & Women Sunglasses","Wallets","Mens & Women Belts"] }, { "id": "kids-clothing", - "name": "Kids' Clothing", + "name": "Kids", "icon": "fashion.png", "subcategories": ["T-shirts", "Jeans", "Dresses"] } @@ -125,8 +149,7 @@ "id": "appliances", "name":"Appliances", "icon": "appliances.jpg", - "subcategories": [ - ] + "subcategories": [] }, { "id": "travel", @@ -166,8 +189,16 @@ "name": "Two Wheelers", "icon": "twowheelers.png", "subcategories": [ - - + { + "id": "petrol-vehicles", + "name": "Petrol Vehicles", + "subcategories": ["TVS scooty","Honda"] + }, + { + "id": "electric-vehicles", + "name": "Electric Vehicles", + "subcategories": ["Ola Electric S1","Ather 450X"] + } ] } ] \ No newline at end of file diff --git a/js/categoryjs.js b/js/categoryjs.js index 50027403..508f7d4e 100644 --- a/js/categoryjs.js +++ b/js/categoryjs.js @@ -3,6 +3,7 @@ document.addEventListener("DOMContentLoaded", function () { function createCategoryItem(categoryData) { const categoryItem = document.createElement("li"); + categoryItem.id = categoryData.id; const icon = document.createElement("img"); icon.src = "img/" + categoryData.icon; @@ -18,10 +19,11 @@ document.addEventListener("DOMContentLoaded", function () { categoryItem.appendChild(icon); categoryItem.appendChild(name); - const subcategoriesList = document.createElement("ul"); + const subcategoriesList = document.createElement("div"); + subcategoriesList.classList.add('dropdownbox', `${categoryData.id}`); if (!categoryData.subcategories) { - const singleItem = document.createElement("li"); + const singleItem = document.createElement("div"); const singleLink = document.createElement("a"); singleLink.href = categoryData.name + "-/"; singleLink.textContent = categoryData.name; @@ -30,22 +32,87 @@ document.addEventListener("DOMContentLoaded", function () { } else { categoryData.subcategories.forEach(function (subcategoryData) { if (subcategoryData && subcategoryData.name === undefined) { - const singleItem = document.createElement("li"); + const singleItem = document.createElement("div"); singleItem.textContent = subcategoryData; subcategoriesList.appendChild(singleItem); } else if (subcategoryData) { - const subcategoryItem = createCategoryItem(subcategoryData); + const subcategoryItem = createSubcategoryItem(subcategoryData); subcategoriesList.appendChild(subcategoryItem); } }); } categoryItem.appendChild(subcategoriesList); - // console.log(categoryItem); + + + categoryItem.addEventListener('mouseenter', function (event) { + document.querySelector('.categorylist-wrapper').appendChild(subcategoriesList); + subcategoriesList.style.display = 'block'; + }); + + categoryItem.addEventListener('mouseleave', function (event) { + const relatedTarget = event.relatedTarget; + if (!relatedTarget || !relatedTarget.closest(`.${event.target.id}`)) { + document.querySelectorAll(`.${event.target.id}`).forEach(elem => elem.remove()); + subcategoriesList.style.display = 'none'; + } + + }); + + if (subcategoriesList && subcategoriesList.childNodes.length) { + subcategoriesList.addEventListener('mouseenter', function(event){ + subcategoriesList.style.display = 'block'; + }); + + subcategoriesList.addEventListener('mouseleave', function (event) { + subcategoriesList.style.display = 'none'; + document.querySelectorAll(`.${categoryData.id}`).forEach(elem => elem.remove()); + }); + } else { + console.log("subcategoriesList is not defined or is empty."); + } return categoryItem; } + function createSubcategoryItem(subcategoryData) { + // Create the main subcategory item div + const subcategoryItem = document.createElement("div"); + + // Append the subcategory name + const subcategoryName = document.createElement("div"); + subcategoryName.textContent = subcategoryData.name; + subcategoryName.className = subcategoryData.id; + subcategoryItem.appendChild(subcategoryName); + + // If there are subcategories, create a subsubcategories list + if (subcategoryData.subcategories) { + const subsubcategoriesList = document.createElement("div"); + subsubcategoriesList.id = subcategoryData.id; + subsubcategoriesList.className = "subdropdown"; + + const moreInText = document.createElement("div"); + moreInText.textContent = `More in ${subcategoryData.name}`; + subsubcategoriesList.appendChild(moreInText); + + // Iterate over subcategories and append each subsubcategory item + subcategoryData.subcategories.forEach(function (subsubcategoryData) { + const subsubcategoryItem = document.createElement("div"); + subsubcategoryItem.textContent = subsubcategoryData; + subsubcategoriesList.appendChild(subsubcategoryItem); + }); + + subcategoryItem.appendChild(subsubcategoriesList); + } + + // Append the side arrow span + const sideArrow = document.createElement("span"); + sideArrow.className = 'sidearrow'; + subcategoryItem.appendChild(sideArrow); + + return subcategoryItem; + } + fetch('js/categoryData.json') .then(response => response.json()) .then(data => { diff --git a/js/electronics-script.js b/js/electronics-script.js index 0b5fc314..2e1208f1 100644 --- a/js/electronics-script.js +++ b/js/electronics-script.js @@ -21,17 +21,31 @@ document.addEventListener('DOMContentLoaded', () => { // Function to create a product card function createelectronicsProductCard(product) { - return ` - -
    -
    - ${product.id} -
    -
    ${product.name}
    -
    Price: ₹${product.price}
    + const discont=(Math.floor(product.rating*(parseInt((product.price.toString()).slice(0,2)))/10)) + const afterDiscontPrice=Math.round((100-discont)*product.price/100) + + function formatIndianRupee(number) { + const parts = number.toString().split("."); + const integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); + const formattedNumber = parts.length > 1 ? integerPart + "." + parts[1] : integerPart; + return formattedNumber; + } + + return ` + +
    +
    +
    + ${product.id}
    -
    - `; +
    ${product.name.slice(0, 20)} ${product.name.length > 20 ? "...":""}
    +
    ${product.rating}  
    +
    ₹${formatIndianRupee(afterDiscontPrice)} ₹${formatIndianRupee(product.price)} ${discont}% off
    +
    + +`; } diff --git a/js/fashion-script.js b/js/fashion-script.js index 2397cf62..6906fb0a 100644 --- a/js/fashion-script.js +++ b/js/fashion-script.js @@ -21,17 +21,31 @@ document.addEventListener('DOMContentLoaded', () => { // Function to create a product card function createfashionsProductCard(product) { - return ` - -
    -
    - ${product.id} -
    -
    ${product.name}
    -
    Price: ₹${product.price}
    + const discont=(Math.floor(product.rating*(parseInt((product.price.toString()).slice(0,2)))/10)) + const afterDiscontPrice=Math.round((100-discont)*product.price/100) + + function formatIndianRupee(number) { + const parts = number.toString().split("."); + const integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); + const formattedNumber = parts.length > 1 ? integerPart + "." + parts[1] : integerPart; + return formattedNumber; + } + + return ` + +
    +
    +
    + ${product.id}
    -
    - `; +
    ${product.name.slice(0, 20)} ${product.name.length > 20 ? "...":""}
    +
    ${product.rating}  
    +
    ₹${formatIndianRupee(afterDiscontPrice)} ₹${formatIndianRupee(product.price)} ${discont}% off
    +
    + +`; } diff --git a/js/fetchProductOfIndex.js b/js/fetchProductOfIndex.js new file mode 100644 index 00000000..01cc1c24 --- /dev/null +++ b/js/fetchProductOfIndex.js @@ -0,0 +1,202 @@ + +// product fetch +// Function to create a product card +function createProductCard(product) { + const discont=(Math.floor(product.rating*(parseInt((product.price.toString()).slice(0,2)))/10)) + const afterDiscontPrice=Math.round((100-discont)*product.price/100) + + function formatIndianRupee(number) { + const parts = number.toString().split("."); + const integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); + const formattedNumber = parts.length > 1 ? integerPart + "." + parts[1] : integerPart; + return formattedNumber; + } + + return ` + + +
    +
    + ${product.id} +
    +
    ${product.name.slice(0, 20)} ${product.name.length > 20 ? "...":""}
    +
    ${product.rating}  
    +
    ₹${formatIndianRupee(afterDiscontPrice)} ₹${formatIndianRupee(product.price)} ${discont}% off
    +
    +
    + `; + } + + // Function to populate rendom products + function rendom_products(products) { + const productList = document.getElementById("rendom-product"); + productList.innerHTML = products + .map((product) => createProductCard(product)) + .join(""); + } + + // Function to best deal products + function best_deal_products(products) { + const productList = document.getElementById("best-deal-product"); + productList.innerHTML = products + .map((product) => createProductCard(product)) + .join(""); + } + // Function to best top-selection-product + function top_selection_products(products) { + const productList = document.getElementById("top-selection-product"); + productList.innerHTML = products + .map((product) => createProductCard(product)) + .join(""); + } + + // Function to under 15000 rs mobile + function mobileUnder15000(products) { + const productList = document.getElementById("mobileUnder15000-product"); + productList.innerHTML = products + .map((product) => createProductCard(product)) + .join(""); + } + + + + // Function to s2-product + function s2_products(products) { + const productList = document.getElementById("s2-product"); + productList.innerHTML = products + .map((product) => createProductCard(product)) + .join(""); + } + + // Function to under 500 Product + function shopUnder500(products) { + const productList = document.getElementById("shopUnder500-product"); + productList.innerHTML = products + .map((product) => createProductCard(product)) + .join(""); + } + + // best of Electronics + function bestOfEelecronics_products(products) { + const productList = document.getElementById("bestOfElectronics-product"); + productList.innerHTML = products + .map((product) => createProductCard(product)) + .join(""); + } + + // seletcYourChoice-product + function seletcYourChoice_products(products) { + const productList = document.getElementById("seletcYourChoice-product"); + productList.innerHTML = products + .map((product) => createProductCard(product)) + .join(""); + } + + // General function to fetch and shuffle data + function fetchAndShuffleData(url, callback, numberOfProducts) { + fetch(url) + .then((response) => response.json()) + .then((data) => { + // Shuffle the array using the Fisher-Yates algorithm + for (let i = data.length - 1; i > 0; i--) { + const j = Math.floor(Math.random() * (i + 1)); + [data[i], data[j]] = [data[j], data[i]]; + } + + // Select the desired number of products from the shuffled array + const selectedProducts = data.slice(0, numberOfProducts); + + // Call the callback function with the selected products + callback(selectedProducts); + }) + .catch((error) => console.error("Error fetching data:", error)); + } + + + // General function to fetch 15000 rs mobile data + function fetchAndShuffleDataMobile15000(url, callback, numberOfProducts) { + fetch(url) + .then((response) => response.json()) + .then((data) => { + + const f_data = data.filter(product => product.price<=15000 && product.category=='mobile'); + // Shuffle the array using the Fisher-Yates algorithm + for (let i = f_data.length - 1; i > 0; i--) { + const j = Math.floor(Math.random() * (i + 1)); + [f_data[i], f_data[j]] = [f_data[j], f_data[i]]; + } + + // Select the desired number of products from the shuffled array + const selectedProducts = f_data.slice(0, numberOfProducts); + + // Call the callback function with the selected products + callback(selectedProducts); + }) + .catch((error) => console.error("Error fetching data:", error)); + } + + + // best of electronics + function bestOfEelecronics(url, callback, numberOfProducts) { + fetch(url) + .then((response) => response.json()) + .then((data) => { + + const f_data = data.filter(product => product.category=='electronics'); + // Shuffle the array using the Fisher-Yates algorithm + for (let i = f_data.length - 1; i > 0; i--) { + const j = Math.floor(Math.random() * (i + 1)); + [f_data[i], f_data[j]] = [f_data[j], f_data[i]]; + } + + // Select the desired number of products from the shuffled array + const selectedProducts = f_data.slice(0, numberOfProducts); + + // Call the callback function with the selected products + callback(selectedProducts); + }) + .catch((error) => console.error("Error fetching data:", error)); + } + + + // General function to fetch under 500 data + function fetchAndShuffleDataUnder(url, callback, numberOfProducts) { + fetch(url) + .then((response) => response.json()) + .then((data) => { + + const f_data = data.filter(product => product.price<=500); + // Shuffle the array using the Fisher-Yates algorithm + for (let i = f_data.length - 1; i > 0; i--) { + const j = Math.floor(Math.random() * (i + 1)); + [f_data[i], f_data[j]] = [f_data[j], f_data[i]]; + } + + // Select the desired number of products from the shuffled array + const selectedProducts = f_data.slice(0, numberOfProducts); + + // Call the callback function with the selected products + callback(selectedProducts); + }) + .catch((error) => console.error("Error fetching data:", error)); + } + + + + // mobileUnder15000Data() + // Fetch data for best-deal products rendom products & top selection + bestOfEelecronics("json-api/product.json", bestOfEelecronics_products, 6); + + fetchAndShuffleData("json-api/product.json", rendom_products, 12); + fetchAndShuffleData("json-api/product.json", best_deal_products, 18); + fetchAndShuffleData("json-api/product.json", top_selection_products, 12); + fetchAndShuffleData("json-api/product.json", s2_products, 12); + fetchAndShuffleData("json-api/product.json", seletcYourChoice_products, 120); + + fetchAndShuffleDataMobile15000("json-api/product.json", mobileUnder15000, 12); + fetchAndShuffleDataUnder("json-api/product.json", shopUnder500, 18); + + + \ No newline at end of file diff --git a/js/grocery-store-script.js b/js/grocery-store-script.js index 8fe0f47c..1a69893d 100644 --- a/js/grocery-store-script.js +++ b/js/grocery-store-script.js @@ -22,17 +22,31 @@ document.addEventListener("DOMContentLoaded", () => { // Function to create a product card function createGroceryProductCard(product) { - return ` - -
    -
    - ${product.id} -
    -
    ${product.name}
    -
    Price: ₹${product.price}
    + const discont=(Math.floor(product.rating*(parseInt((product.price.toString()).slice(0,2)))/10)) + const afterDiscontPrice=Math.round((100-discont)*product.price/100) + + function formatIndianRupee(number) { + const parts = number.toString().split("."); + const integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); + const formattedNumber = parts.length > 1 ? integerPart + "." + parts[1] : integerPart; + return formattedNumber; + } + + return ` + +
    +
    +
    + ${product.id} +
    +
    ${product.name.slice(0, 20)} ${product.name.length > 20 ? "...":""}
    +
    ${product.rating}  
    +
    ₹${formatIndianRupee(afterDiscontPrice)} ₹${formatIndianRupee(product.price)} ${discont}% off
    -
    - `; + + `; } diff --git a/js/home&furniture-script.js b/js/home&furniture-script.js index ee1d903b..aaa8eb7d 100644 --- a/js/home&furniture-script.js +++ b/js/home&furniture-script.js @@ -20,17 +20,31 @@ document.addEventListener('DOMContentLoaded', () => { // Function to create a product card function createhomefurnitureProductCard(product) { - return ` - -
    -
    - ${product.id} -
    -
    ${product.name}
    -
    Price: ₹${product.price}
    + const discont=(Math.floor(product.rating*(parseInt((product.price.toString()).slice(0,2)))/10)) + const afterDiscontPrice=Math.round((100-discont)*product.price/100) + + function formatIndianRupee(number) { + const parts = number.toString().split("."); + const integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); + const formattedNumber = parts.length > 1 ? integerPart + "." + parts[1] : integerPart; + return formattedNumber; + } + + return ` + +
    +
    +
    + ${product.id}
    -
    - `; +
    ${product.name.slice(0, 20)} ${product.name.length > 20 ? "...":""}
    +
    ${product.rating}  
    +
    ₹${formatIndianRupee(afterDiscontPrice)} ₹${formatIndianRupee(product.price)} ${discont}% off
    +
    + +`; } diff --git a/js/index.js b/js/index.js index f7d50bf2..96c6c551 100644 --- a/js/index.js +++ b/js/index.js @@ -20,6 +20,7 @@ document.addEventListener("DOMContentLoaded", () => { + /* 100 && window.scrollY > 100) { + backToTopButton.style.display = 'block'; + } else { + backToTopButton.style.display = 'none'; + } + } + +// Show or hide the "Go to Top" button based on scroll position window.addEventListener("scroll", function() { var scrollToTopBtn = document.getElementById("goToTopBtn"); if (window.scrollY > 100) { @@ -224,16 +237,20 @@ window.addEventListener("scroll", function() { }); + window.addEventListener('scroll', checkButtonVisibility); + window.addEventListener('resize', checkButtonVisibility); - // Scroll to the top when the button is clicked -document.getElementById("goToTopBtn").addEventListener("click", function() { - window.scrollTo({ - top: 0, - behavior: "smooth" - }); + backToTopButton.addEventListener('click', function () { + window.scrollTo({ + top: 0, + behavior: 'smooth' + }); + }); + checkButtonVisibility(); }); + // loader // old // setTimeout(function() { diff --git a/js/mobile-phones-store-script.js b/js/mobile-phones-store-script.js index 2e981fa6..99d262d3 100644 --- a/js/mobile-phones-store-script.js +++ b/js/mobile-phones-store-script.js @@ -22,19 +22,31 @@ document.addEventListener("DOMContentLoaded", () => { // Function to create a mobile card function createMobileCard(mobile) { - return ` - - -
    -
    ${mobile.name} -
    -
    ${mobile.name}
    -
    ${mobile.rating}  
    -
    ₹${mobile.price}
    -
    + const discont=(Math.floor(mobile.rating*(parseInt((mobile.price.toString()).slice(0,2)))/10)) + const afterDiscontPrice=Math.round((100-discont)*mobile.price/100) + + function formatIndianRupee(number) { + const parts = number.toString().split("."); + const integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); + const formattedNumber = parts.length > 1 ? integerPart + "." + parts[1] : integerPart; + return formattedNumber; + } + + return ` + +
    +
    +
    + ${mobile.id} +
    +
    ${mobile.name.slice(0, 20)} ${mobile.name.length > 20 ? "...":""}
    +
    ${mobile.rating}  
    +
    ₹${formatIndianRupee(afterDiscontPrice)} ₹${formatIndianRupee(mobile.price)} ${discont}% off
    +
    - `; + `; } // Function to populate Apple mobiles diff --git a/js/searchForProducts.js b/js/searchForProducts.js index 2e542fef..135a5c2f 100644 --- a/js/searchForProducts.js +++ b/js/searchForProducts.js @@ -1,86 +1,81 @@ -const searchJSON = (query) => { - // Fetch JSON data from the data.json file - return fetch("json-api/product.json") - .then((response) => response.json()) - .then((data) => { - const results = data.filter((item) => { - return ( - item.name.toLowerCase().includes(query.toLowerCase()) || - item.category.toLowerCase().includes(query.toLowerCase()) - ); - }); +document.addEventListener("DOMContentLoaded", () => { + const components = [ + { id: "footer-searchtab", url: "../footer/footer.html" }, + { id: "header-searchtab", url: "../header/header.html" }, + ]; + + components.forEach((component) => { + fetch(component.url) + .then((response) => response.text()) + .then((data) => { + document.getElementById(component.id).innerHTML = data; + }) + .catch((error) => + console.error(`Error loading ${component.url}:`, error) + ); + }); +}); - return results; - }) - .catch((error) => console.error("Error fetching JSON:", error)); -}; -document.addEventListener("DOMContentLoaded", function () { - const searchInput = document.getElementById("input_data"); - const autocompleteResults = document.getElementById("autocompleteResults"); - const searchButton = document.getElementById("searchButton"); - const resultsContainer = document.getElementById("results"); - searchInput.addEventListener("input", function () { - const query = searchInput.value.trim(); - searchJSON(query).then((autocompleteSuggestions) => { - // Clear previous autocomplete suggestions - autocompleteResults.innerHTML = ""; +// Function to get query parameter +function getQueryParameter(name) { + const urlParams = new URLSearchParams(window.location.search); + return urlParams.get(name); +} + +// Function to create product card +function createSearchProductCard(product) { + const discont=(Math.floor(product.rating*(parseInt((product.price.toString()).slice(0,2)))/10)) + const afterDiscontPrice=Math.round((100-discont)*product.price/100) + + function formatIndianRupee(number) { + const parts = number.toString().split("."); + const integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); + const formattedNumber = parts.length > 1 ? integerPart + "." + parts[1] : integerPart; + return formattedNumber; + } + + return ` + + +
    +
    + ${product.id} +
    +
    ${product.name.slice(0, 20)} ${product.name.length > 20 ? "...":""}
    +
    ${product.rating}  
    +
    ₹${formatIndianRupee(afterDiscontPrice)} ₹${formatIndianRupee(product.price)} ${discont}% off
    +
    +
    + `; +} + +// Function to display search results +function searchFetch(products) { + const searchList = document.getElementById('results'); + searchList.innerHTML = products.map(product => createSearchProductCard(product)).join(''); +} - // Display autocomplete suggestions - if (query.length > 0 && autocompleteSuggestions.length > 0) { - autocompleteSuggestions.forEach((result) => { - const suggestionItem = document.createElement("div"); - suggestionItem.classList.add("autocomplete-item"); - suggestionItem.textContent = `${result.name} - ${result.category}`; - suggestionItem.addEventListener("click", function () { - searchInput.value = result.name; - autocompleteResults.style.display = "none"; - }); - autocompleteResults.appendChild(suggestionItem); - }); - autocompleteResults.style.display = "block"; - } else { - autocompleteResults.style.display = "none"; +// Fetch data from the JSON file and filter products based on the query +fetch('../json-api/product.json') + .then(response => response.json()) + .then(data => { + const query = getQueryParameter('query'); + if(query=="men"){ + const filteredProducts = data.filter(product => product.category.toLowerCase().includes(query.toLowerCase()) && !product.category.toLowerCase().includes("women")|| product.name.toLowerCase().includes(query) && !product.name.toLowerCase().includes('women')); + searchFetch(filteredProducts); + }else{ + const filteredProducts = data.filter(product => product.category.toLowerCase().includes(query.toLowerCase()) || product.name.toLowerCase().includes(query)); + searchFetch(filteredProducts); } - }); - }); + }) + .catch(error => console.error('Error fetching data:', error)); - searchButton.addEventListener("click", function () { - autocompleteResults.style.display = "none"; - const query = searchInput.value.trim(); - if (query === "") { - resultsContainer.innerHTML = ""; - } else { - searchJSON(query).then((searchResults) => { - // Clear previous results - resultsContainer.innerHTML = ""; - // Display results - if (searchResults.length === 0) { - resultsContainer.innerHTML = "No results found."; - } else { - searchResults.forEach((result) => { - const resultElement = document.createElement("div"); - resultElement.classList.add("col-md-2"); - resultElement.classList.add("col-sm-4"); - resultElement.classList.add("col-6"); - resultElement.classList.add("p-2"); - resultElement.innerHTML = ` - -
    - ${result.name} -
    -
    ${result.name}
    -
    Price: ₹${result.price}
    -
    - `; - resultsContainer.appendChild(resultElement); - }); - } - }); - } - }); -}); + + + diff --git a/js/searchIndexProducts.js b/js/searchIndexProducts.js index b27fc33d..2e542fef 100644 --- a/js/searchIndexProducts.js +++ b/js/searchIndexProducts.js @@ -1,61 +1,86 @@ -document.addEventListener("DOMContentLoaded", () => { - const components = [ - { id: "footer-searchtab", url: "../footer/footer.html" }, - { id: "header-searchtab", url: "../header/header.html" }, - ]; - - components.forEach((component) => { - fetch(component.url) - .then((response) => response.text()) - .then((data) => { - document.getElementById(component.id).innerHTML = data; - }) - .catch((error) => - console.error(`Error loading ${component.url}:`, error) - ); - }); -}); - +const searchJSON = (query) => { + // Fetch JSON data from the data.json file + return fetch("json-api/product.json") + .then((response) => response.json()) + .then((data) => { + const results = data.filter((item) => { + return ( + item.name.toLowerCase().includes(query.toLowerCase()) || + item.category.toLowerCase().includes(query.toLowerCase()) + ); + }); + return results; + }) + .catch((error) => console.error("Error fetching JSON:", error)); +}; -// Function to get query parameter -function getQueryParameter(name) { - const urlParams = new URLSearchParams(window.location.search); - return urlParams.get(name); -} +document.addEventListener("DOMContentLoaded", function () { + const searchInput = document.getElementById("input_data"); + const autocompleteResults = document.getElementById("autocompleteResults"); + const searchButton = document.getElementById("searchButton"); + const resultsContainer = document.getElementById("results"); -// Function to create product card -function createSearchProductCard(product) { - return ` - -
    -
    - ${product.id} -
    -
    ${product.name}
    -
    ${product.rating}  
    -
    Price: ₹${product.price}
    -
    -
    - `; -} + searchInput.addEventListener("input", function () { + const query = searchInput.value.trim(); + searchJSON(query).then((autocompleteSuggestions) => { + // Clear previous autocomplete suggestions + autocompleteResults.innerHTML = ""; -// Function to display search results -function searchFetch(products) { - const searchList = document.getElementById('results'); - searchList.innerHTML = products.map(product => createSearchProductCard(product)).join(''); -} - -// Fetch data from the JSON file and filter products based on the query -fetch('../json-api/product.json') - .then(response => response.json()) - .then(data => { - const query = getQueryParameter('query'); - const filteredProducts = data.filter(product => product.category.toLowerCase().includes(query.toLowerCase()) || product.name.toLowerCase().includes(query)); - searchFetch(filteredProducts); - }) - .catch(error => console.error('Error fetching data:', error)); + // Display autocomplete suggestions + if (query.length > 0 && autocompleteSuggestions.length > 0) { + autocompleteSuggestions.forEach((result) => { + const suggestionItem = document.createElement("div"); + suggestionItem.classList.add("autocomplete-item"); + suggestionItem.textContent = `${result.name} - ${result.category}`; + suggestionItem.addEventListener("click", function () { + searchInput.value = result.name; + autocompleteResults.style.display = "none"; + }); + autocompleteResults.appendChild(suggestionItem); + }); + autocompleteResults.style.display = "block"; + } else { + autocompleteResults.style.display = "none"; + } + }); + }); + searchButton.addEventListener("click", function () { + autocompleteResults.style.display = "none"; + const query = searchInput.value.trim(); + if (query === "") { + resultsContainer.innerHTML = ""; + } else { + searchJSON(query).then((searchResults) => { + // Clear previous results + resultsContainer.innerHTML = ""; - \ No newline at end of file + // Display results + if (searchResults.length === 0) { + resultsContainer.innerHTML = "No results found."; + } else { + searchResults.forEach((result) => { + const resultElement = document.createElement("div"); + resultElement.classList.add("col-md-2"); + resultElement.classList.add("col-sm-4"); + resultElement.classList.add("col-6"); + resultElement.classList.add("p-2"); + resultElement.innerHTML = ` + +
    + ${result.name} +
    +
    ${result.name}
    +
    Price: ₹${result.price}
    +
    + `; + resultsContainer.appendChild(resultElement); + }); + } + }); + } + }); +}); diff --git a/js/twoWheelers-script.js b/js/twoWheelers-script.js index f8240d6a..10d3027a 100644 --- a/js/twoWheelers-script.js +++ b/js/twoWheelers-script.js @@ -21,17 +21,31 @@ document.addEventListener('DOMContentLoaded', () => { // Function to create a product card function createtwoWheelersProductCard(product) { + const discont=(Math.floor(product.rating*(parseInt((product.price.toString()).slice(0,2)))/10)) + const afterDiscontPrice=Math.round((100-discont)*product.price/100) + + function formatIndianRupee(number) { + const parts = number.toString().split("."); + const integerPart = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); + const formattedNumber = parts.length > 1 ? integerPart + "." + parts[1] : integerPart; + return formattedNumber; + } + return ` - + +
    -
    - ${product.id} +
    + ${product.id}
    -
    ${product.name}
    -
    Price: ₹${product.price}
    -
    -
    - `; +
    ${product.name.slice(0, 20)} ${product.name.length > 20 ? "...":""}
    +
    ${product.rating}  
    +
    ₹${formatIndianRupee(afterDiscontPrice)} ₹${formatIndianRupee(product.price)} ${discont}% off
    +
    + + `; } diff --git a/json-api/product-img/-650ml-himalaya-o.jpeg b/json-api/product-img/-650ml-himalaya-o.jpeg new file mode 100644 index 00000000..21e2fc62 Binary files /dev/null and b/json-api/product-img/-650ml-himalaya-o.jpeg differ diff --git a/json-api/product-img/-origijwv.jpeg b/json-api/product-img/-origijwv.jpeg new file mode 100644 index 00000000..1c7434bf Binary files /dev/null and b/json-api/product-img/-origijwv.jpeg differ diff --git a/json-api/product-img/-originagv89ywqg.jpeg b/json-api/product-img/-originagv89ywqg.jpeg new file mode 100644 index 00000000..be73eb88 Binary files /dev/null and b/json-api/product-img/-originagv89ywqg.jpeg differ diff --git a/json-api/product-img/-original-imagdd3e5snx86ru.jpeg b/json-api/product-img/-original-imagdd3e5snx86ru.jpeg new file mode 100644 index 00000000..869e8878 Binary files /dev/null and b/json-api/product-img/-original-imagdd3e5snx86ru.jpeg differ diff --git a/json-api/product-img/-original-imagg9xgez3tbx.jpeg b/json-api/product-img/-original-imagg9xgez3tbx.jpeg new file mode 100644 index 00000000..e704e564 Binary files /dev/null and b/json-api/product-img/-original-imagg9xgez3tbx.jpeg differ diff --git a/json-api/product-img/-original-imagmgyvssfytvwk.jpeg b/json-api/product-img/-original-imagmgyvssfytvwk.jpeg new file mode 100644 index 00000000..19555942 Binary files /dev/null and b/json-api/product-img/-original-imagmgyvssfytvwk.jpeg differ diff --git a/json-api/product-img/-original-imagpe8bewcpk.jpeg b/json-api/product-img/-original-imagpe8bewcpk.jpeg new file mode 100644 index 00000000..3a8c7b5f Binary files /dev/null and b/json-api/product-img/-original-imagpe8bewcpk.jpeg differ diff --git a/json-api/product-img/-original-imagryerxughppfr.jpeg b/json-api/product-img/-original-imagryerxughppfr.jpeg new file mode 100644 index 00000000..3e5f160f Binary files /dev/null and b/json-api/product-img/-original-imagryerxughppfr.jpeg differ diff --git a/json-api/product-img/-original-imagrzvkpgbykhrf.jpeg b/json-api/product-img/-original-imagrzvkpgbykhrf.jpeg new file mode 100644 index 00000000..60bd8abe Binary files /dev/null and b/json-api/product-img/-original-imagrzvkpgbykhrf.jpeg differ diff --git a/json-api/product-img/-original-imags9k4fyzy9rhk.jpeg b/json-api/product-img/-original-imags9k4fyzy9rhk.jpeg new file mode 100644 index 00000000..cccb9820 Binary files /dev/null and b/json-api/product-img/-original-imags9k4fyzy9rhk.jpeg differ diff --git a/json-api/product-img/-original-imagtvqpkzkedv8p.jpeg b/json-api/product-img/-original-imagtvqpkzkedv8p.jpeg new file mode 100644 index 00000000..1395ce6c Binary files /dev/null and b/json-api/product-img/-original-imagtvqpkzkedv8p.jpeg differ diff --git a/json-api/product-img/-original-imagwmkfnyabtwhb.jpeg b/json-api/product-img/-original-imagwmkfnyabtwhb.jpeg new file mode 100644 index 00000000..98337299 Binary files /dev/null and b/json-api/product-img/-original-imagwmkfnyabtwhb.jpeg differ diff --git a/json-api/product-img/-original-imagxy5rtjhhh6nr.jpeg b/json-api/product-img/-original-imagxy5rtjhhh6nr.jpeg new file mode 100644 index 00000000..a8965bad Binary files /dev/null and b/json-api/product-img/-original-imagxy5rtjhhh6nr.jpeg differ diff --git a/json-api/product-img/-original-imagyg3jznnuq3jw.jpeg b/json-api/product-img/-original-imagyg3jznnuq3jw.jpeg new file mode 100644 index 00000000..b0c0c852 Binary files /dev/null and b/json-api/product-img/-original-imagyg3jznnuq3jw.jpeg differ diff --git a/json-api/product-img/-original-imagz5z4cknamu9d.jpeg b/json-api/product-img/-original-imagz5z4cknamu9d.jpeg new file mode 100644 index 00000000..b6c8aa6c Binary files /dev/null and b/json-api/product-img/-original-imagz5z4cknamu9d.jpeg differ diff --git a/json-api/product-img/-original-imagzgj3rrwcakr2.jpeg b/json-api/product-img/-original-imagzgj3rrwcakr2.jpeg new file mode 100644 index 00000000..97eedb01 Binary files /dev/null and b/json-api/product-img/-original-imagzgj3rrwcakr2.jpeg differ diff --git a/json-api/product-img/-original-imagzuzzrfgytsfz.jpeg b/json-api/product-img/-original-imagzuzzrfgytsfz.jpeg new file mode 100644 index 00000000..2f3144cd Binary files /dev/null and b/json-api/product-img/-original-imagzuzzrfgytsfz.jpeg differ diff --git a/json-api/product-img/-original-imahf3kvwrbuhgh9.jpeg b/json-api/product-img/-original-imahf3kvwrbuhgh9.jpeg new file mode 100644 index 00000000..837ec89e Binary files /dev/null and b/json-api/product-img/-original-imahf3kvwrbuhgh9.jpeg differ diff --git a/json-api/product-img/-original-imahy2rqqfpjxhqz.jpeg b/json-api/product-img/-original-imahy2rqqfpjxhqz.jpeg new file mode 100644 index 00000000..94ff12b8 Binary files /dev/null and b/json-api/product-img/-original-imahy2rqqfpjxhqz.jpeg differ diff --git a/json-api/product-img/-original-tubmg.jpeg b/json-api/product-img/-original-tubmg.jpeg new file mode 100644 index 00000000..4a68ccf0 Binary files /dev/null and b/json-api/product-img/-original-tubmg.jpeg differ diff --git a/json-api/product-img/-originamxtg2.jpeg b/json-api/product-img/-originamxtg2.jpeg new file mode 100644 index 00000000..8fbc7451 Binary files /dev/null and b/json-api/product-img/-originamxtg2.jpeg differ diff --git a/json-api/product-img/100-de-tan-face-wajqj.jpeg b/json-api/product-img/100-de-tan-face-wajqj.jpeg new file mode 100644 index 00000000..4378be13 Binary files /dev/null and b/json-api/product-img/100-de-tan-face-wajqj.jpeg differ diff --git a/json-api/product-img/1250-lunch-box-sest.jpeg b/json-api/product-img/1250-lunch-box-sest.jpeg new file mode 100644 index 00000000..3a903f7d Binary files /dev/null and b/json-api/product-img/1250-lunch-box-sest.jpeg differ diff --git a/json-api/product-img/2-25-al-imagvq97mczuscgn.jpeg b/json-api/product-img/2-25-al-imagvq97mczuscgn.jpeg new file mode 100644 index 00000000..3e82c9ea Binary files /dev/null and b/json-api/product-img/2-25-al-imagvq97mczuscgn.jpeg differ diff --git a/json-api/product-img/20-80-mdf-8-a1-i.jpeg b/json-api/product-img/20-80-mdf-8-a1-i.jpeg new file mode 100644 index 00000000..e53ac590 Binary files /dev/null and b/json-api/product-img/20-80-mdf-8-a1-i.jpeg differ diff --git a/json-api/product-img/200-de-t9n.jpeg b/json-api/product-img/200-de-t9n.jpeg new file mode 100644 index 00000000..fcaf0255 Binary files /dev/null and b/json-api/product-img/200-de-t9n.jpeg differ diff --git a/json-api/product-img/200-herbals-wza44sdyqsg27.jpeg b/json-api/product-img/200-herbals-wza44sdyqsg27.jpeg new file mode 100644 index 00000000..8be53a94 Binary files /dev/null and b/json-api/product-img/200-herbals-wza44sdyqsg27.jpeg differ diff --git a/json-api/product-img/2xl-menshy.jpeg b/json-api/product-img/2xl-menshy.jpeg new file mode 100644 index 00000000..6b4e8fc7 Binary files /dev/null and b/json-api/product-img/2xl-menshy.jpeg differ diff --git a/json-api/product-img/3-1335-wt-dn7grypqgt7.jpeg b/json-api/product-img/3-1335-wt-dn7grypqgt7.jpeg new file mode 100644 index 00000000..3291f6cf Binary files /dev/null and b/json-api/product-img/3-1335-wt-dn7grypqgt7.jpeg differ diff --git a/json-api/product-img/32-1u8df9.jpeg b/json-api/product-img/32-1u8df9.jpeg new file mode 100644 index 00000000..f5dc80e8 Binary files /dev/null and b/json-api/product-img/32-1u8df9.jpeg differ diff --git a/json-api/product-img/32-kjo-80152-sk.jpeg b/json-api/product-img/32-kjo-80152-sk.jpeg new file mode 100644 index 00000000..a86a0866 Binary files /dev/null and b/json-api/product-img/32-kjo-80152-sk.jpeg differ diff --git a/json-api/product-img/35-beardagc8ydavg9hzhz.jpeg b/json-api/product-img/35-beardagc8ydavg9hzhz.jpeg new file mode 100644 index 00000000..0885fc38 Binary files /dev/null and b/json-api/product-img/35-beardagc8ydavg9hzhz.jpeg differ diff --git a/json-api/product-img/36602-prestigendhg2d.jpeg b/json-api/product-img/36602-prestigendhg2d.jpeg new file mode 100644 index 00000000..ad6c8bfb Binary files /dev/null and b/json-api/product-img/36602-prestigendhg2d.jpeg differ diff --git a/json-api/product-img/4-13-40380-presmy6cs.jpeg b/json-api/product-img/4-13-40380-presmy6cs.jpeg new file mode 100644 index 00000000..122933d2 Binary files /dev/null and b/json-api/product-img/4-13-40380-presmy6cs.jpeg differ diff --git a/json-api/product-img/4-z-a-0wrgafz2ap.jpeg b/json-api/product-img/4-z-a-0wrgafz2ap.jpeg new file mode 100644 index 00000000..2bb1275c Binary files /dev/null and b/json-api/product-img/4-z-a-0wrgafz2ap.jpeg differ diff --git a/json-api/product-img/50-particle-board.jpeg b/json-api/product-img/50-particle-board.jpeg new file mode 100644 index 00000000..757a4662 Binary files /dev/null and b/json-api/product-img/50-particle-board.jpeg differ diff --git a/json-api/product-img/6-seater-6-seater-yn7k.jpeg b/json-api/product-img/6-seater-6-seater-yn7k.jpeg new file mode 100644 index 00000000..bc38ede1 Binary files /dev/null and b/json-api/product-img/6-seater-6-seater-yn7k.jpeg differ diff --git a/json-api/product-img/60l-trackinhyfvcz.jpeg b/json-api/product-img/60l-trackinhyfvcz.jpeg new file mode 100644 index 00000000..022a2f39 Binary files /dev/null and b/json-api/product-img/60l-trackinhyfvcz.jpeg differ diff --git a/json-api/product-img/65qfdau-bb.jpeg b/json-api/product-img/65qfdau-bb.jpeg new file mode 100644 index 00000000..b8c1d41c Binary files /dev/null and b/json-api/product-img/65qfdau-bb.jpeg differ diff --git a/json-api/product-img/7-combo-agzwsqrv4z7xzg.jpeg b/json-api/product-img/7-combo-agzwsqrv4z7xzg.jpeg new file mode 100644 index 00000000..0eb7dc90 Binary files /dev/null and b/json-api/product-img/7-combo-agzwsqrv4z7xzg.jpeg differ diff --git a/json-api/product-img/7-na-rng-85nw.jpeg b/json-api/product-img/7-na-rng-85nw.jpeg new file mode 100644 index 00000000..6979d44a Binary files /dev/null and b/json-api/product-img/7-na-rng-85nw.jpeg differ diff --git a/json-api/product-img/7-sm-773-mq6x3fu.jpeg b/json-api/product-img/7-sm-773-mq6x3fu.jpeg new file mode 100644 index 00000000..e81a21ed Binary files /dev/null and b/json-api/product-img/7-sm-773-mq6x3fu.jpeg differ diff --git a/json-api/product-img/9-5g-845-k-bb.jpeg b/json-api/product-img/9-5g-845-k-bb.jpeg new file mode 100644 index 00000000..91636e00 Binary files /dev/null and b/json-api/product-img/9-5g-845-k-bb.jpeg differ diff --git a/json-api/product-img/900-tranzy-sipper-stazr.jpeg b/json-api/product-img/900-tranzy-sipper-stazr.jpeg new file mode 100644 index 00000000..a3b88ce4 Binary files /dev/null and b/json-api/product-img/900-tranzy-sipper-stazr.jpeg differ diff --git a/json-api/product-img/avgj3xg.jpeg b/json-api/product-img/avgj3xg.jpeg new file mode 100644 index 00000000..748e33f7 Binary files /dev/null and b/json-api/product-img/avgj3xg.jpeg differ diff --git a/json-api/product-img/bassheads-100-boatk.jpeg b/json-api/product-img/bassheads-100-boatk.jpeg new file mode 100644 index 00000000..741d669c Binary files /dev/null and b/json-api/product-img/bassheads-100-boatk.jpeg differ diff --git a/json-api/product-img/bassheads-228-boat-ong.jpeg b/json-api/product-img/bassheads-228-boat-ong.jpeg new file mode 100644 index 00000000..91c5226b Binary files /dev/null and b/json-api/product-img/bassheads-228-boat-ong.jpeg differ diff --git a/json-api/product-img/black-with-charger-uph.jpeg b/json-api/product-img/black-with-charger-uph.jpeg new file mode 100644 index 00000000..c425e11b Binary files /dev/null and b/json-api/product-img/black-with-charger-uph.jpeg differ diff --git a/json-api/product-img/blue-with-chargerms.jpeg b/json-api/product-img/blue-with-chargerms.jpeg new file mode 100644 index 00000000..3b3311f3 Binary files /dev/null and b/json-api/product-img/blue-with-chargerms.jpeg differ diff --git a/json-api/product-img/buds-z2-onepdv.jpeg b/json-api/product-img/buds-z2-onepdv.jpeg new file mode 100644 index 00000000..457d70c3 Binary files /dev/null and b/json-api/product-img/buds-z2-onepdv.jpeg differ diff --git a/json-api/product-img/ceraglide-prestig75kmmg.jpeg b/json-api/product-img/ceraglide-prestig75kmmg.jpeg new file mode 100644 index 00000000..82bb915e Binary files /dev/null and b/json-api/product-img/ceraglide-prestig75kmmg.jpeg differ diff --git a/json-api/product-img/charcoal-face-p3f5q2ea.jpeg b/json-api/product-img/charcoal-face-p3f5q2ea.jpeg new file mode 100644 index 00000000..92057811 Binary files /dev/null and b/json-api/product-img/charcoal-face-p3f5q2ea.jpeg differ diff --git a/json-api/product-img/cotton-double-bed-bedshee.jpeg b/json-api/product-img/cotton-double-bed-bedshee.jpeg new file mode 100644 index 00000000..efe0a483 Binary files /dev/null and b/json-api/product-img/cotton-double-bed-bedshee.jpeg differ diff --git a/json-api/product-img/damage-repair-non-sticun.jpeg b/json-api/product-img/damage-repair-non-sticun.jpeg new file mode 100644 index 00000000..8dc6bf16 Binary files /dev/null and b/json-api/product-img/damage-repair-non-sticun.jpeg differ diff --git a/json-api/product-img/disc-self-kick-glamour-dxm.jpeg b/json-api/product-img/disc-self-kick-glamour-dxm.jpeg new file mode 100644 index 00000000..f9974b68 Binary files /dev/null and b/json-api/product-img/disc-self-kick-glamour-dxm.jpeg differ diff --git a/json-api/product-img/double-disc-self-kqruj.jpeg b/json-api/product-img/double-disc-self-kqruj.jpeg new file mode 100644 index 00000000..c5e7c762 Binary files /dev/null and b/json-api/product-img/double-disc-self-kqruj.jpeg differ diff --git a/json-api/product-img/drum-brake-self-kick-5rbj.jpeg b/json-api/product-img/drum-brake-self-kick-5rbj.jpeg new file mode 100644 index 00000000..be076382 Binary files /dev/null and b/json-api/product-img/drum-brake-self-kick-5rbj.jpeg differ diff --git a/json-api/product-img/drum-brake-self-kick-glamour-xt5m.jpeg b/json-api/product-img/drum-brake-self-kick-glamour-xt5m.jpeg new file mode 100644 index 00000000..83102a51 Binary files /dev/null and b/json-api/product-img/drum-brake-self-kick-glamour-xt5m.jpeg differ diff --git a/json-api/product-img/drum-brake-self-kick-glamour5m.jpeg b/json-api/product-img/drum-brake-self-kick-glamour5m.jpeg new file mode 100644 index 00000000..83102a51 Binary files /dev/null and b/json-api/product-img/drum-brake-self-kick-glamour5m.jpeg differ diff --git a/json-api/product-img/em-06-wired-earphone-with-mzfddqx96k.jpeg b/json-api/product-img/em-06-wired-earphone-with-mzfddqx96k.jpeg new file mode 100644 index 00000000..d06cc8c6 Binary files /dev/null and b/json-api/product-img/em-06-wired-earphone-with-mzfddqx96k.jpeg differ diff --git a/json-api/product-img/flamingo-1-fm-001-flat-flamingo.jpeg b/json-api/product-img/flamingo-1-fm-001-flat-flamingo.jpeg new file mode 100644 index 00000000..f2259d6d Binary files /dev/null and b/json-api/product-img/flamingo-1-fm-001-flat-flamingo.jpeg differ diff --git a/json-api/product-img/free-half-xedrx.jpeg b/json-api/product-img/free-half-xedrx.jpeg new file mode 100644 index 00000000..76f600bc Binary files /dev/null and b/json-api/product-img/free-half-xedrx.jpeg differ diff --git a/json-api/product-img/frgrt9rzarzmvdv.jpeg b/json-api/product-img/frgrt9rzarzmvdv.jpeg new file mode 100644 index 00000000..00cff907 Binary files /dev/null and b/json-api/product-img/frgrt9rzarzmvdv.jpeg differ diff --git a/json-api/product-img/geometric-panel2.jpeg b/json-api/product-img/geometric-panel2.jpeg new file mode 100644 index 00000000..5124aab3 Binary files /dev/null and b/json-api/product-img/geometric-panel2.jpeg differ diff --git a/json-api/product-img/gqthzrzdk5gyk.jpeg b/json-api/product-img/gqthzrzdk5gyk.jpeg new file mode 100644 index 00000000..db78fa97 Binary files /dev/null and b/json-api/product-img/gqthzrzdk5gyk.jpeg differ diff --git a/json-api/product-img/gul-tywfqmg.jpeg b/json-api/product-img/gul-tywfqmg.jpeg new file mode 100644 index 00000000..5385778a Binary files /dev/null and b/json-api/product-img/gul-tywfqmg.jpeg differ diff --git a/json-api/product-img/gulabari-rose-mdhk.jpeg b/json-api/product-img/gulabari-rose-mdhk.jpeg new file mode 100644 index 00000000..9a91ac3e Binary files /dev/null and b/json-api/product-img/gulabari-rose-mdhk.jpeg differ diff --git a/json-api/product-img/h-89-25-h-89-analogy.jpeg b/json-api/product-img/h-89-25-h-89-analogy.jpeg new file mode 100644 index 00000000..8ae7228f Binary files /dev/null and b/json-api/product-img/h-89-25-h-89-analogy.jpeg differ diff --git a/json-api/product-img/imagsyyh5jmr4pzq.jpeg b/json-api/product-img/imagsyyh5jmr4pzq.jpeg new file mode 100644 index 00000000..dc6b4f6d Binary files /dev/null and b/json-api/product-img/imagsyyh5jmr4pzq.jpeg differ diff --git a/json-api/product-img/imahf6yfqbfcqypz.jpeg b/json-api/product-img/imahf6yfqbfcqypz.jpeg new file mode 100644 index 00000000..f834c053 Binary files /dev/null and b/json-api/product-img/imahf6yfqbfcqypz.jpeg differ diff --git a/json-api/product-img/jg-003-4uur.jpeg b/json-api/product-img/jg-003-4uur.jpeg new file mode 100644 index 00000000..e30b156f Binary files /dev/null and b/json-api/product-img/jg-003-4uur.jpeg differ diff --git a/json-api/product-img/khatushyam-ji-designec.jpeg b/json-api/product-img/khatushyam-ji-designec.jpeg new file mode 100644 index 00000000..0df030dc Binary files /dev/null and b/json-api/product-img/khatushyam-ji-designec.jpeg differ diff --git a/json-api/product-img/m-bg-bb.jpeg b/json-api/product-img/m-bg-bb.jpeg new file mode 100644 index 00000000..5e353fc9 Binary files /dev/null and b/json-api/product-img/m-bg-bb.jpeg differ diff --git a/json-api/product-img/m-coeze7hz.jpeg b/json-api/product-img/m-coeze7hz.jpeg new file mode 100644 index 00000000..81764b1d Binary files /dev/null and b/json-api/product-img/m-coeze7hz.jpeg differ diff --git a/json-api/product-img/m-db1024gug.jpeg b/json-api/product-img/m-db1024gug.jpeg new file mode 100644 index 00000000..395ed808 Binary files /dev/null and b/json-api/product-img/m-db1024gug.jpeg differ diff --git a/json-api/product-img/m-dd199br3ze.jpeg b/json-api/product-img/m-dd199br3ze.jpeg new file mode 100644 index 00000000..2528a425 Binary files /dev/null and b/json-api/product-img/m-dd199br3ze.jpeg differ diff --git a/json-api/product-img/m-es11b-foduhz.jpeg b/json-api/product-img/m-es11b-foduhz.jpeg new file mode 100644 index 00000000..8beffd0d Binary files /dev/null and b/json-api/product-img/m-es11b-foduhz.jpeg differ diff --git a/json-api/product-img/m-olive-cargo-0edtnd.jpeg b/json-api/product-img/m-olive-cargo-0edtnd.jpeg new file mode 100644 index 00000000..27e91224 Binary files /dev/null and b/json-api/product-img/m-olive-cargo-0edtnd.jpeg differ diff --git a/json-api/product-img/ml-lr-xzfrxgty.jpeg b/json-api/product-img/ml-lr-xzfrxgty.jpeg new file mode 100644 index 00000000..ea45ff86 Binary files /dev/null and b/json-api/product-img/ml-lr-xzfrxgty.jpeg differ diff --git a/json-api/product-img/mzx147-in-earhar.jpeg b/json-api/product-img/mzx147-in-earhar.jpeg new file mode 100644 index 00000000..337fa8a3 Binary files /dev/null and b/json-api/product-img/mzx147-in-earhar.jpeg differ diff --git a/json-api/product-img/no-vegetable-cle.jpeg b/json-api/product-img/no-vegetable-cle.jpeg new file mode 100644 index 00000000..11e68f33 Binary files /dev/null and b/json-api/product-img/no-vegetable-cle.jpeg differ diff --git a/json-api/product-img/normal-top-dof9xgpr6y.jpeg b/json-api/product-img/normal-top-dof9xgpr6y.jpeg new file mode 100644 index 00000000..7639be79 Binary files /dev/null and b/json-api/product-img/normal-top-dof9xgpr6y.jpeg differ diff --git a/json-api/product-img/particle-board-mh-coffeefd.jpeg b/json-api/product-img/particle-board-mh-coffeefd.jpeg new file mode 100644 index 00000000..aa1521d3 Binary files /dev/null and b/json-api/product-img/particle-board-mh-coffeefd.jpeg differ diff --git a/json-api/product-img/prodart-sam-sungf3rfz9v.jpeg b/json-api/product-img/prodart-sam-sungf3rfz9v.jpeg new file mode 100644 index 00000000..ea2cf235 Binary files /dev/null and b/json-api/product-img/prodart-sam-sungf3rfz9v.jpeg differ diff --git a/json-api/product-img/qthyjfwc8ssv.jpeg b/json-api/product-img/qthyjfwc8ssv.jpeg new file mode 100644 index 00000000..63785dcd Binary files /dev/null and b/json-api/product-img/qthyjfwc8ssv.jpeg differ diff --git a/json-api/product-img/rdnzjuqh8.jpeg b/json-api/product-img/rdnzjuqh8.jpeg new file mode 100644 index 00000000..6610e572 Binary files /dev/null and b/json-api/product-img/rdnzjuqh8.jpeg differ diff --git a/json-api/product-img/right-facingmpguu.jpeg b/json-api/product-img/right-facingmpguu.jpeg new file mode 100644 index 00000000..4ad8d728 Binary files /dev/null and b/json-api/product-img/right-facingmpguu.jpeg differ diff --git a/json-api/product-img/riginal-imagtpvsvzhevutf.jpeg b/json-api/product-img/riginal-imagtpvsvzhevutf.jpeg new file mode 100644 index 00000000..2e9011d0 Binary files /dev/null and b/json-api/product-img/riginal-imagtpvsvzhevutf.jpeg differ diff --git a/json-api/product-img/royal-blue-mosquito-net.jpeg b/json-api/product-img/royal-blue-mosquito-net.jpeg new file mode 100644 index 00000000..1c920bab Binary files /dev/null and b/json-api/product-img/royal-blue-mosquito-net.jpeg differ diff --git a/json-api/product-img/s-01-t-shirt-juste.jpeg b/json-api/product-img/s-01-t-shirt-juste.jpeg new file mode 100644 index 00000000..4acd6a11 Binary files /dev/null and b/json-api/product-img/s-01-t-shirt-juste.jpeg differ diff --git a/json-api/product-img/s-dpmayzs8pa.jpeg b/json-api/product-img/s-dpmayzs8pa.jpeg new file mode 100644 index 00000000..de66a2d5 Binary files /dev/null and b/json-api/product-img/s-dpmayzs8pa.jpeg differ diff --git a/json-api/product-img/s-metrpvnfnykqew.jpeg b/json-api/product-img/s-metrpvnfnykqew.jpeg new file mode 100644 index 00000000..d677d51c Binary files /dev/null and b/json-api/product-img/s-metrpvnfnykqew.jpeg differ diff --git a/json-api/product-img/s-pista-grezy7rh.jpeg b/json-api/product-img/s-pista-grezy7rh.jpeg new file mode 100644 index 00000000..066a9685 Binary files /dev/null and b/json-api/product-img/s-pista-grezy7rh.jpeg differ diff --git a/json-api/product-img/s-vgj.jpeg b/json-api/product-img/s-vgj.jpeg new file mode 100644 index 00000000..25f2cbdb Binary files /dev/null and b/json-api/product-img/s-vgj.jpeg differ diff --git a/json-api/product-img/seater-bugpez.jpeg b/json-api/product-img/seater-bugpez.jpeg new file mode 100644 index 00000000..dafa47da Binary files /dev/null and b/json-api/product-img/seater-bugpez.jpeg differ diff --git a/json-api/product-img/single-3-72-35-thf.jpeg b/json-api/product-img/single-3-72-35-thf.jpeg new file mode 100644 index 00000000..a76d45d0 Binary files /dev/null and b/json-api/product-img/single-3-72-35-thf.jpeg differ diff --git a/json-api/product-img/st115-cello-original-i5svhdf.jpeg b/json-api/product-img/st115-cello-original-i5svhdf.jpeg new file mode 100644 index 00000000..19f7709e Binary files /dev/null and b/json-api/product-img/st115-cello-original-i5svhdf.jpeg differ diff --git a/json-api/product-img/stealth-2-0-self-kicbgnh.jpeg b/json-api/product-img/stealth-2-0-self-kicbgnh.jpeg new file mode 100644 index 00000000..1dece394 Binary files /dev/null and b/json-api/product-img/stealth-2-0-self-kicbgnh.jpeg differ diff --git a/json-api/product-img/total-decf9vpmg7qw.jpeg b/json-api/product-img/total-decf9vpmg7qw.jpeg new file mode 100644 index 00000000..dfbe5d4d Binary files /dev/null and b/json-api/product-img/total-decf9vpmg7qw.jpeg differ diff --git a/json-api/product-img/towels-6-14-6towels-cone.jpeg b/json-api/product-img/towels-6-14-6towels-cone.jpeg new file mode 100644 index 00000000..0063001e Binary files /dev/null and b/json-api/product-img/towels-6-14-6towels-cone.jpeg differ diff --git a/json-api/product-img/whiteglowuar37.jpeg b/json-api/product-img/whiteglowuar37.jpeg new file mode 100644 index 00000000..faab8dec Binary files /dev/null and b/json-api/product-img/whiteglowuar37.jpeg differ diff --git a/json-api/product-img/wired-type-c-basicna.jpeg b/json-api/product-img/wired-type-c-basicna.jpeg new file mode 100644 index 00000000..eeddc312 Binary files /dev/null and b/json-api/product-img/wired-type-c-basicna.jpeg differ diff --git a/json-api/product-img/xl-ask-0nfe6t.jpeg b/json-api/product-img/xl-ask-0nfe6t.jpeg new file mode 100644 index 00000000..17ab94f1 Binary files /dev/null and b/json-api/product-img/xl-ask-0nfe6t.jpeg differ diff --git a/json-api/product-img/xl-no-hz5eeef.jpeg b/json-api/product-img/xl-no-hz5eeef.jpeg new file mode 100644 index 00000000..1d32e37d Binary files /dev/null and b/json-api/product-img/xl-no-hz5eeef.jpeg differ diff --git a/json-api/product-img/xl-syswefsnxa.jpeg b/json-api/product-img/xl-syswefsnxa.jpeg new file mode 100644 index 00000000..d25abf53 Binary files /dev/null and b/json-api/product-img/xl-syswefsnxa.jpeg differ diff --git a/json-api/product-img/ycq3kgugmyez.jpeg b/json-api/product-img/ycq3kgugmyez.jpeg new file mode 100644 index 00000000..687117f5 Binary files /dev/null and b/json-api/product-img/ycq3kgugmyez.jpeg differ diff --git a/json-api/product-img/yes-2-m-jqtz.jpeg b/json-api/product-img/yes-2-m-jqtz.jpeg new file mode 100644 index 00000000..91250660 Binary files /dev/null and b/json-api/product-img/yes-2-m-jqtz.jpeg differ diff --git a/json-api/product-img/zeb-bro-zebronics-origpnx.jpeg b/json-api/product-img/zeb-bro-zebronics-origpnx.jpeg new file mode 100644 index 00000000..aa58e222 Binary files /dev/null and b/json-api/product-img/zeb-bro-zebronics-origpnx.jpeg differ diff --git a/json-api/product.json b/json-api/product.json index ee0234e1..6502cca3 100644 --- a/json-api/product.json +++ b/json-api/product.json @@ -1465,67 +1465,340 @@ "price": 1999 }, { - "name": "", - "description": "", - "productImg": "", + "name": "Cotton Double Jaipuri Prints Flat Bedsheet", + "description": "VNV Creation 160 TC Cotton Double Jaipuri Prints Flat Bedsheet (Pack of 1, White, Green)", + "productImg": "cotton-double-bed-bedshee.jpeg", "rating": 4.4, - "category": "", - "price": 0 + "category": "home&furniture", + "price": 499 }, { - "name": "", - "description": "", - "productImg": "", + "name": "Double bed Mosquito Net", + "description": "BELOMODA Polyester Adults Washable King Size Double bed Mosquito Net (Blue, White, Tent)", + "productImg": "royal-blue-mosquito-net.jpeg", "rating": 4.4, - "category": "", - "price": 0 + "category": "home&furniture", + "price":499 + }, + { + "name": "Cotton King Striped Fitted (Elastic) Bedsheet", + "description": "Decent Home 144 TC Cotton King Striped Fitted (Elastic) Bedsheet (Pack of 1, Yellow)", + "productImg": "flamingo-1-fm-001-flat-flamingo.jpeg", + "rating": 3.4, + "category": "home&furniture", + "price": 219 + }, + { + "name": "Polyester Semi Transparent Window Curtain", + "description": "Home Sizzler 153 cm (5 ft) Polyester Semi Transparent Window Curtain (Pack Of 2) (Geometric, Blue)", + "productImg": "geometric-panel2.jpeg", + "rating": 3.2, + "category": "home&furniture", + "price": 455 + }, + { + "name": "Polycotton 550 GSM Hand Towel", + "description": "conewango Polycotton 550 GSM Hand Towel (Pack of 6)", + "productImg": "towels-6-14-6towels-cone.jpeg", + "rating": 3.8, + "category": "home&furniture", + "price": 599 + }, + { + "name": "Three Fold Single Cotton Mattress", + "description": "COLOFLY Three Fold Ep 2 inch Single Cotton Mattress (L x W: 72 inch x 35 inch)", + "productImg": "single-3-72-35-thf.jpeg", + "rating": 3.7, + "category": "home&furniture", + "price": 959 }, { - "name": "", - "description": "", - "productImg": "", + "name": "Double PU Foam Mattress", + "description": "nikunjdotcom NDC (72x47) 2 inch PU Foam Sheet with cover 2 inch Double PU Foam Mattress (L x W: 72 inch x 47 inch)", + "productImg": "normal-top-dof9xgpr6y.jpeg", + "rating": 3.4, + "category": "home&furniture", + "price": 1899 + }, + { + "name": "Tea Table for Living Room", + "description": "FURNEASER Witely Tea Table for Living Room, Centre Table, Sofa Table, Engineered Wood Coffee Table (Finish Color - Wenge & White, DIY(Do-It-Yourself))", + "productImg": "50-particle-board.jpeg", + "rating": 4.4, + "category": "home&furniture", + "price": 2968 + }, + { + "name": "Sigma Engineered Wood Coffee Table", + "description": "Crystal Furnitech Sigma Engineered Wood Coffee Table (Finish Color - wallnut + wenge, Knock Down)", + "productImg": "particle-board-mh-coffeefd.jpeg", + "rating": 4.4, + "category": "home&furniture", + "price": 2999 + }, + { + "name": "Homeify Carlo 9 Seater L-Shaped Sectional Sofa", + "description": "Homeify Carlo 9 Seater L-Shaped Sectional Sofa with Ottoman for Living Room Fabric 9 Seater Sofa (Finish Color - Blue / Gray, DIY(Do-It-Yourself))", + "productImg": "right-facingmpguu.jpeg", "rating": 4.2, - "category": "", - "price": 0 + "category": "home&furniture", + "price": 47999 + }, + { + "name": "Star Work Leather Manual Recliner chair", + "description": "Star Work Leather Manual Recliner (Finish Color - BLACK, Knock Down)", + "productImg": "seater-bugpez.jpeg", + "rating": 4.4, + "category": "home&furniture", + "price": 3314 }, { - "name": "", - "description": "", - "productImg": "", + "name": "Engineered Wood TV Entertainment Unit", + "description": "icrush Engineered Wood TV Entertainment Unit (Finish Color - Brown, DIY(Do-It-Yourself))", + "productImg": "20-80-mdf-8-a1-i.jpeg", + "rating": 4.2, + "category": "home&furniture", + "price": 1599 + }, + { + "name": "Embroidered 6 Seater Table Cover", + "description": "HOMECROWN Embroidered 6 Seater Table Cover (Clear, Transparent, Plastic, PVC)", + "productImg": "6-seater-6-seater-yn7k.jpeg", "rating": 4, - "category": "", - "price": 0 + "category": "home&furniture", + "price": 899 }, { - "name": "", - "description": "", - "productImg": "", - "rating": 4.5, - "category": "", - "price": 0 + "name": "Single Wall Water Bottle 900 ml", + "description": "NIRLON Tranzy Sipper Stainless Steel Single Wall Water Bottle 900 ml Bottle (Pack of 2, Silver, Steel)", + "productImg": "900-tranzy-sipper-stazr.jpeg", + "rating": 3.7, + "category": "home&furniture", + "price": 998 }, { - "name": "", - "description": "", - "productImg": "", + "name": "Freezer safe 1000 ml Bottle", + "description": "cello Venice | Break proof and Leak Proof | Hygienic & Freezer safe 1000 ml Bottle (Pack of 5, Multicolor, Plastic)", + "productImg": "st115-cello-original-i5svhdf.jpeg", "rating": 4.4, - "category": "", - "price": 0 + "category": "home&furniture", + "price": 675 }, { - "name": "", - "description": "", - "productImg": "", + "name": "Harmoso Analog Wall Clock", + "description": "Harmoso Analog 25 cm X 25 cm Wall Clock (Black, White, Gold, With Glass, Standard)", + "productImg": "h-89-25-h-89-analogy.jpeg", "rating": 4.2, - "category": "", - "price": 0 + "category": "home&furniture", + "price": 350 }, { - "name": "", - "description": "", - "productImg": "", + "name": "BIG BANG CREATIONS Analog Wall Clock", + "description": "BIG BANG CREATIONS Analog 25 cm X 25 cm Wall Clock (White, With Glass, Standard)", + "productImg": "khatushyam-ji-designec.jpeg", "rating": 4.1, - "category": "", - "price": 0 + "category": "home&furniture", + "price": 399 + }, + { + "name": "Vegetable Cleaner & Salad Spinner Colander", + "description": "WONDERCHEF Vegetable Cleaner & Salad Spinner Colander (Green)", + "productImg": "no-vegetable-cle.jpeg", + "rating": 3.9, + "category": "home&furniture", + "price": 1100 + }, + { + "name": "Non-Stick Coated Cookware Set", + "description": "Prestige Omega Festival Pack - Build Your Kitchen Induction Bottom Non-Stick Coated Cookware Set (Aluminium, 3 - Piece)", + "productImg": "-original-imagyg3jznnuq3jw.jpeg", + "rating": 3.9, + "category": "home&furniture", + "price": 1599 + }, + { + "name": "Prestige Svachh Duo GTSD 04 SQ with Liftable Burner", + "description": "Prestige Svachh Duo GTSD 04 SQ with Liftable Burner & Superior Toughened Glass Manual Gas Stove (4 Burners)", + "productImg": "4-13-40380-presmy6cs.jpeg", + "rating": 3.3, + "category": "home&furniture", + "price": 7899 + }, + { + "name": "Prestige Omega Marble Tawa", + "description": "Prestige Omega Marble Tawa 28 cm diameter (Aluminium, Non-stick, Induction Bottom)", + "productImg": "36602-prestigendhg2d.jpeg", + "rating": 4, + "category": "home&furniture", + "price": 749 + }, + { + "name": "Prestige Ceraglide Ceramic Coating Kadhai", + "description": "Prestige Ceraglide Ceramic Coating Kadhai 24 cm diameter with Lid 3 L capacity (Aluminium, Non-stick, Induction Bottom)", + "productImg": "ceraglide-prestig75kmmg.jpeg", + "rating": 3.1, + "category": "home&furniture", + "price": 1340 + }, + { + "name": "Prestige Pressure Cooker", + "description": "Prestige Nakshatra Plus Svachh 6.5 L Outer Lid Induction Bottom Pressure Cooker & Pressure Pan (Aluminium)", + "productImg": "-original-imagrzvkpgbykhrf.jpeg", + "rating": 4.9, + "category": "home&furniture", + "price": 2910 + }, + { + "name": "Classic Essentials Lunch Box Set", + "description": "Classic Essentials Lunch Box Set of 6 | 3 Microwave Safe Container with Bottle, Bag & Cutlery| 4 Containers Lunch Box (1250 ml, Thermoware)", + "productImg": "1250-lunch-box-sest.jpeg", + "rating": 4.4, + "category": "home&furniture", + "price": 599 + }, + { + "name": "Hero Xtreme 160R 4V", + "description": "Hero Xtreme 160R 4V Booking for Ex-Showroom Price (Matt Slate Black) petrol bike", + "productImg": "imahf6yfqbfcqypz.jpeg", + "rating": 4.6, + "category": "two-wheelers", + "price": 128400 + }, + { + "name": "Hero Glamour (Disc)(TECHNO BLUE MET BLK)", + "description": "Hero Glamour (Disc) Booking for Ex-Showroom Price (TECHNO BLUE MET BLK) petrol bike", + "productImg": "disc-self-kick-glamour-dxm.jpeg", + "rating": 4.3, + "category": "two-wheelers", + "price": 86348 + }, + { + "name": "Hero Xtreme 160R 4V", + "description": "Hero Xtreme 160R 4V Booking for Ex-Showroom Price (MATT SLATE BLACK) petrol bike", + "productImg": "riginal-imagtpvsvzhevutf.jpeg", + "rating": 4.5, + "category": "two-wheelers", + "price": 136500 + }, + { + "name": "Hero Splendor+ (Non i3S)", + "description": "Hero Splendor+ (Non i3S) Booking for Ex-Showroom Price (Black with Purple) petrol bike", + "productImg": "imagsyyh5jmr4pzq.jpeg", + "rating": 4.3, + "category": "two-wheelers", + "price": 75491 + }, + { + "name": "Hero Glamour XTEC (Drum)", + "description": "Hero Glamour XTEC (Drum) Booking for Ex-Showroom Price (Matte Axis Grey) petrol bike", + "productImg": "drum-brake-self-kick-glamour5m.jpeg", + "rating": 4.4, + "category": "two-wheelers", + "price": 87998 + }, + { + "name": "Hero Super Splendor Xtec (Drum)", + "description": "Hero Super Splendor Xtec (Drum) Booking for Ex-Showroom Price (Gloss Black) petrol bike", + "productImg": "drum-brake-self-kick-5rbj.jpeg", + "rating": 4.5, + "category": "two-wheelers", + "price": 80800 + }, + { + "name": "Hero Xtreme 160R", + "description": "Hero Xtreme 160R Booking for Ex-Showroom Price (Vibrant Blue) petrol bike", + "productImg": "double-disc-self-kqruj.jpeg", + "rating": 4.6, + "category": "two-wheelers", + "price": 123006 + }, + { + "name": "Hero Xtreme 160R (Stealth 2.0)", + "description": "Hero Xtreme 160R (Stealth 2.0) Booking for Ex-Showroom Price (Matt Black) petrol bike", + "productImg": "stealth-2-0-self-kicbgnh.jpeg", + "rating": 4.5, + "category": "two-wheelers", + "price": 123002 + }, + { + "name": "Hero Glamour XTEC (Disc)(Matte Axis Grey)", + "description": "Hero Glamour XTEC (Disc) Booking for Ex-Showroom Price (Matte Axis Grey) petrol bike", + "productImg": "drum-brake-self-kick-glamour-xt5m.jpeg", + "rating": 4.3, + "category": "two-wheelers", + "price": 92799 + }, + { + "name": "Hero Passion XTEC (Drum)(Black with Force Silver)", + "description": "Hero Passion XTEC (Drum) Booking for Ex-Showroom Price (Black with Force Silver) petrol bike", + "productImg": "-original-imagg9xgez3tbx.jpeg", + "rating": 4.4, + "category": "two-wheelers", + "price": 81999 + }, + { + "name": "BGauss BG C12i (With CAN Enabled Charger, Matte Blue)", + "description": "BGauss BG C12i Ex Booking for Ex-Showroom Price (With CAN Enabled Charger, Matte Blue)", + "productImg": "rdnzjuqh8.jpeg", + "rating": 3.7, + "category": "two-wheelers", + "price": 112799 + }, + { + "name": "Ampere Magnus LT (With Charger, Black)", + "description": "Ampere Magnus LT Booking for Ex-Showroom Price (With Charger, Black)", + "productImg": "black-with-charger-uph.jpeg", + "rating": 4.2, + "category": "two-wheelers", + "price": 84999 + }, + { + "name": "OKAYA Freedum LI-2(with Portable Charger, Matte Green)", + "description": "OKAYA Freedum LI-2 Booking for Ex-Showroom Price (with Portable Charger, Matte Green)", + "productImg": "avgj3xg.jpeg", + "rating": 3.9, + "category": "two-wheelers", + "price": 74899 + }, + { + "name": "Ampere Magnus (With Charger, Glacial White)", + "description": "Ampere Magnus EX Booking for Ex-Showroom Price (With Charger, Glacial White)", + "productImg": "-original-tubmg.jpeg", + "rating": 4.3, + "category": "two-wheelers", + "price": 94900 + }, + { + "name": "Ampere Magnus LT (With Charger, Blue)", + "description": "Ampere Magnus LT Booking for Ex-Showroom Price (With Charger, Blue)", + "productImg": "blue-with-chargerms.jpeg", + "rating": 4.2, + "category": "two-wheelers", + "price": 84900 + }, + { + "name": "Joy e-bike Wolf Eco(with Portable Charger)", + "description": "Joy e-bike Wolf Eco Booking for Ex-Showroom Price (with Portable Charger, Orange and Black)", + "productImg": "gqthzrzdk5gyk.jpeg", + "rating": 3, + "category": "two-wheelers", + "price": 84000 + }, + { + "name": "BGauss BG D15i (With CAN Enabled Charger)", + "description": "BGauss BG D15i Booking for Ex-Showroom Price (With CAN Enabled Charger, Matte Black & Silver)", + "productImg": "-originagv89ywqg.jpeg", + "rating": 4.3, + "category": "two-wheelers", + "price": 146119 + }, + { + "name": "Joy e-bike Wolf Eco (with Portable Charger)", + "description": "Joy e-bike Wolf Eco Booking for Ex-Showroom Price (with Portable Charger, Black and Red)", + "productImg": "qthyjfwc8ssv.jpeg", + "rating": 3.1, + "category": "two-wheelers", + "price": 84000 } -] + +] diff --git a/search/index.html b/search/index.html index 7d42b846..07792f60 100644 --- a/search/index.html +++ b/search/index.html @@ -20,7 +20,7 @@
    -

    Showing Results

    +
    Showing Results for
    @@ -29,7 +29,7 @@

    Showing Results

    - +