Configuration Service
This section will need to find configuration the application mobile KStore in this file : src/data/
1.Configure your categories
Then add your category to in file Categories.js by modifying
Example to add objet:
1- add new objet category Types array :
{
"id": 1,
"name": "Women",
"slug": "clothing",
"parent": 0,
"description": "",
"display": "default",
"image": "http://www.example.com/products_images/category/women.jpg",
"thumb": "http://www.example.com/products_images/category/women_thumb.jpg",
"menu_order": 0,
"count": 36,
"_links": {
"self": [
{
"href": "https://example/wp-json/wc/v2/products/categories/9"
}
],
"collection": [
{
"href": "https://example/wp-json/wc/v2/products/categories"
}
]
}
},
1.Configure Layout Switch
Then add your category to in file Layout.js by modifying
Example to add objet:
1- add new objet to Types array :
export const Layouts = [
{
layout: 1,
name: "Card",
image: require("../resources/icons/layoutCard.png"),
},
{
layout: 2,
name: "Two Column",
image: require("../resources/icons/layoutTwoColumn.png"),
},
{
layout: 3,
name: "Three Column",
image: require("../resources/icons/layoutThreeColumn.png"),
},
{
layout: 4,
name: "List View",
image: require("../resources/icons/layoutView.png"),
}
];
1.Configure Swiper Onbording
Then add your category to in file Onbording.js by modifying
Example to add objet:
1- add new objet to Types array :
export const Onboarding = [
{
id: 1,
title: 'This Is KStore',
subtitle: 'Your Fashion And Style Destination.',
illustration: require("../resources/onboarding/01.jpg"),
},
{
id: 2,
title: 'Best Online Shops',
subtitle: 'The Best Budget Shopping Mobile.',
illustration: require("../resources/onboarding/03.jpg"),
},
{
id: 3,
title: 'Best Place To Find',
subtitle: 'Look Good, AnyTime, AnyWhere.',
illustration: require("../resources/onboarding/02.jpg"),
},
{
id: 4,
title: 'Save, Shop and View Orders',
subtitle: 'Doorstep Delivery Free Exchage.',
illustration: require("../resources/onboarding/04.jpg"),
}
];