Top

Next.Js Documentation

E-Commerce offers stunning and one-of-a-kind website demos tailored to your grocery, bakery, and online store needs. With E-Commerce, you'll find everything you require to craft the ideal website for your business. E-Commerce - your all-in-one solution!

Home Page

How to make changes in the Home Page?

For example you can change paris demo image

Step 1: Locate the JSON file at the path "src > app > api > home > fashion_one.json"

Step 2: Open the JSON file using a text editor or a code editor.

Step 3: Find the "image_url" field within the JSON file. It should look something like this:


"home_banner": {
  "banners": [
    {
      "status": true,
      "image_url": "/images/theme/fashion_one/fashion_one_9.png",
      "redirect_link": {
        "link": "fashion",
        "link_type": "collection"
      }
    },
    {
      "status": true,
      "image_url": "/images/theme/fashion_one/fashion_one_2.png",
      "redirect_link": {
        "link": "fashion",
        "link_type": "collection"
      }
    }
  ]
}
  

If you click on the image, then it will redirect to the other page.

You will be able to make changes in the "link_type", using the 3 types:

1. product: It will be redirected to the product details page; "link_type": "product" and "link": "gym-coords-set"

2. collection: It will be redirected to the collection details page; "link_type": "collection" and "link": "fashion"

3. external_url: It will be redirected to the selected URL; "link_type": "external_url" and "link": "https://themeforest.net/user/pixelstrap"

Note:

If you have added the "link_type" "product" then add the product slug value.

If you have added the "link_type" as "collection", then add the category slug value.