Top

Next.js Documentation

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

Home Page

How to change home page banner?

For example you can change paris demo image

  1. Locate the JSON file at the path "src => app => api => themes => home => paris.json"
  2. Open the JSON file using a text editor or a code editor.
  3. Find the "image_url" field within the JSON file. It should look something like this:
"home_banner": {
    "status": true,
        "main_banner": {
            "image_url": "https://laravel.pixelstrap.net/fastkart/storage/570/paris_01.jpg",
            "redirect_link": {
            "link": "vegetables-fruits",
            "link_type": "collection"
            }
        },
        "sub_banner_1": {
            "image_url": "https://laravel.pixelstrap.net/fastkart/storage/571/paris_02.jpg",
            "redirect_link": {
            "link": "grocery-staples",
            "link_type": "collection"
            }
        },
        "sub_banner_2": {
            "image_url": "https://laravel.pixelstrap.net/fastkart/storage/572/paris_03.jpg",
            "redirect_link": {
            "link": "vegetables-fruits",
            "link_type": "collection",
            "product_ids": 19
            }
        }
    },

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:

    • product: It will be redirected to the product details page; "link_type": "product" and "link": "deliciously-sweet-watermelon"
    • collection: It will be redirected to the collection details page; "link_type": "collection" and "link": "grocery-staples"
    • external_url: It will be redirected to the selected URL; "link_type": "external_url" and "link": "https://themeforest.net/user/pixelstrap"

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.