@cimplify/sdk 0.44.2 → 0.44.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mock/cli.mjs +121 -60
- package/dist/mock/library.js +121 -60
- package/dist/mock/library.mjs +121 -60
- package/dist/mock/msw.js +121 -60
- package/dist/mock/msw.mjs +121 -60
- package/dist/styles.css +1 -1
- package/package.json +2 -2
- package/templates/storefront-bakery/next.config.ts +2 -0
- package/templates/storefront-fashion/next.config.ts +2 -0
- package/templates/storefront-grocery/next.config.ts +2 -0
- package/templates/storefront-restaurant/next.config.ts +2 -0
- package/templates/storefront-retail/next.config.ts +2 -0
- package/templates/storefront-services/next.config.ts +2 -0
package/dist/mock/library.js
CHANGED
|
@@ -5043,10 +5043,18 @@ function createLiteService(opts) {
|
|
|
5043
5043
|
};
|
|
5044
5044
|
}
|
|
5045
5045
|
|
|
5046
|
+
// src/mock/seeds/image.ts
|
|
5047
|
+
var CIMPLIFY_CDN_BASE_URL = "https://static-tmp.cimplify.io";
|
|
5048
|
+
function seedImage(industry, slug, unsplashId, size = 800) {
|
|
5049
|
+
{
|
|
5050
|
+
return `${CIMPLIFY_CDN_BASE_URL}/seed/${industry}/${slug}.jpg`;
|
|
5051
|
+
}
|
|
5052
|
+
}
|
|
5053
|
+
|
|
5046
5054
|
// src/mock/seeds/default.ts
|
|
5047
5055
|
var ISO = "2026-01-01T00:00:00.000Z";
|
|
5048
5056
|
var BUSINESS_ID = "bus_default_akua_bakery";
|
|
5049
|
-
var img = (id) =>
|
|
5057
|
+
var img = (id) => seedImage("bakery", id);
|
|
5050
5058
|
function makeProduct(input, categoryIds) {
|
|
5051
5059
|
const catId = categoryIds.get(input.category);
|
|
5052
5060
|
return {
|
|
@@ -5520,7 +5528,7 @@ function seedDefault(registry) {
|
|
|
5520
5528
|
price: "320.00",
|
|
5521
5529
|
description: "Two-hour hands-on class: shape your own boule, score it, and take home a baked loaf and a starter jar. Held Saturdays, 10am\u201312pm.",
|
|
5522
5530
|
category: "classes",
|
|
5523
|
-
imageUrl: img("
|
|
5531
|
+
imageUrl: img("1517686469429-8bdb88b9f907"),
|
|
5524
5532
|
tags: ["class", "service", "hands-on"],
|
|
5525
5533
|
productType: "service",
|
|
5526
5534
|
durationMinutes: 120
|
|
@@ -5546,7 +5554,7 @@ function seedDefault(registry) {
|
|
|
5546
5554
|
price: "180.00",
|
|
5547
5555
|
description: "Rent our commercial bakery after hours. Deck oven, retarder-proofer, mixers, scales \u2014 bring your team or shoot your content. Hourly.",
|
|
5548
5556
|
category: "classes",
|
|
5549
|
-
imageUrl: img("
|
|
5557
|
+
imageUrl: img("1606755962773-d324e0a13086"),
|
|
5550
5558
|
tags: ["rental", "service", "commercial"],
|
|
5551
5559
|
productType: "service",
|
|
5552
5560
|
durationUnit: "hours"
|
|
@@ -6400,6 +6408,31 @@ function seedReesa(registry) {
|
|
|
6400
6408
|
|
|
6401
6409
|
// src/mock/seeds/restaurant.ts
|
|
6402
6410
|
var ISO4 = "2026-01-01T00:00:00.000Z";
|
|
6411
|
+
var PHOTO = {
|
|
6412
|
+
"business-hero": "1414235077428-338989a2e8c0",
|
|
6413
|
+
kelewele: "1599487488170-d11ec9c172f0",
|
|
6414
|
+
"spring-rolls": "1559339352-11d035aa65de",
|
|
6415
|
+
"soup-of-the-day": "1547592180-85f173990554",
|
|
6416
|
+
"jollof-rice": "1546069901-d5bfd2cbfb1f",
|
|
6417
|
+
"banku-tilapia": "1485921325833-c519f76c4927",
|
|
6418
|
+
"fufu-light-soup": "1602253057119-44d745d9b860",
|
|
6419
|
+
waakye: "1565299624946-b28f40a0ae38",
|
|
6420
|
+
"grilled-chicken": "1598103442097-8b74394b95c6",
|
|
6421
|
+
burger: "1568901346375-23c9450c58cd",
|
|
6422
|
+
"yam-fries": "1576107232684-1279f390859f",
|
|
6423
|
+
"fried-plantain": "1493770348161-369560ae357d",
|
|
6424
|
+
salad: "1512621776951-a57141f2eefd",
|
|
6425
|
+
"ice-cream": "1488900128323-21503983a07e",
|
|
6426
|
+
"cake-slice": "1565958011703-44f9829ba187",
|
|
6427
|
+
"fruit-bowl": "1490474418585-ba9bad8fd0ea",
|
|
6428
|
+
"soft-drink": "1581636625402-29b2a704ef13",
|
|
6429
|
+
sobolo: "1556679343-c7306c1976bc",
|
|
6430
|
+
"fresh-juice": "1610970881699-44a5587cabec",
|
|
6431
|
+
water: "1564325724739-bae0bd08762c",
|
|
6432
|
+
feast: "1559847844-5315695dadae",
|
|
6433
|
+
byo: "1551782450-a2132b4ba21d"
|
|
6434
|
+
};
|
|
6435
|
+
var photoFor = (slug) => seedImage("restaurant", slug, PHOTO[slug] ?? "1414235077428-338989a2e8c0");
|
|
6403
6436
|
function seedRestaurant(registry) {
|
|
6404
6437
|
const businessId = "bus_mamas_kitchen";
|
|
6405
6438
|
const business = {
|
|
@@ -6413,7 +6446,7 @@ function seedRestaurant(registry) {
|
|
|
6413
6446
|
default_address: "8 Ring Road, East Legon, Accra",
|
|
6414
6447
|
default_offers_table_service: true,
|
|
6415
6448
|
default_accepts_online_orders: true,
|
|
6416
|
-
image: "
|
|
6449
|
+
image: photoFor("business-hero"),
|
|
6417
6450
|
status: "active",
|
|
6418
6451
|
created_at: ISO4,
|
|
6419
6452
|
updated_at: ISO4,
|
|
@@ -6484,8 +6517,8 @@ function seedRestaurant(registry) {
|
|
|
6484
6517
|
product_type: "product",
|
|
6485
6518
|
base_price: p.price,
|
|
6486
6519
|
currency: "GHS",
|
|
6487
|
-
image:
|
|
6488
|
-
images: [
|
|
6520
|
+
image: photoFor(p.slug),
|
|
6521
|
+
images: [photoFor(p.slug)],
|
|
6489
6522
|
is_available: true,
|
|
6490
6523
|
category_ids: [catId],
|
|
6491
6524
|
collection_ids: [],
|
|
@@ -6723,8 +6756,8 @@ function seedRestaurant(registry) {
|
|
|
6723
6756
|
product_type: "bundle",
|
|
6724
6757
|
base_price: "180.00",
|
|
6725
6758
|
currency: "GHS",
|
|
6726
|
-
image: "
|
|
6727
|
-
images: ["
|
|
6759
|
+
image: photoFor("feast"),
|
|
6760
|
+
images: [photoFor("feast")],
|
|
6728
6761
|
is_available: true,
|
|
6729
6762
|
category_ids: [catIds.get("mains")],
|
|
6730
6763
|
collection_ids: [],
|
|
@@ -6759,8 +6792,8 @@ function seedRestaurant(registry) {
|
|
|
6759
6792
|
product_type: "composite",
|
|
6760
6793
|
base_price: "0.00",
|
|
6761
6794
|
currency: "GHS",
|
|
6762
|
-
image: "
|
|
6763
|
-
images: ["
|
|
6795
|
+
image: photoFor("byo"),
|
|
6796
|
+
images: [photoFor("byo")],
|
|
6764
6797
|
is_available: true,
|
|
6765
6798
|
category_ids: [catIds.get("mains")],
|
|
6766
6799
|
collection_ids: [],
|
|
@@ -6859,30 +6892,7 @@ function seedRestaurant(registry) {
|
|
|
6859
6892
|
|
|
6860
6893
|
// src/mock/seeds/retail.ts
|
|
6861
6894
|
var ISO5 = "2026-01-01T00:00:00.000Z";
|
|
6862
|
-
var
|
|
6863
|
-
var PHOTO = {
|
|
6864
|
-
"android-flagship": "1592750475338-74b7b21085ab",
|
|
6865
|
-
"android-mid": "1511707171634-5f897ff02aa9",
|
|
6866
|
-
"phone-budget": "1574944985070-8f3ebc6b79d2",
|
|
6867
|
-
"laptop-pro": "1517336714731-489689fd1ca8",
|
|
6868
|
-
"laptop-air": "1496181133206-80ce9b88a853",
|
|
6869
|
-
"laptop-budget": "1601784551446-20c9e07cdbdb",
|
|
6870
|
-
"headphones-anc": "1505740420928-5e560c06d30e",
|
|
6871
|
-
"earbuds-pro": "1572569511254-d8f925fe2cbb",
|
|
6872
|
-
"speaker-bt": "1612287230202-1ff1d85d1bdf",
|
|
6873
|
-
"phone-case": "1611532736597-de2d4265fba3",
|
|
6874
|
-
"screen-protector": "1568952433726-3896e3881c65",
|
|
6875
|
-
"fast-charger": "1620794108219-aedbaded4eea",
|
|
6876
|
-
"laptop-sleeve": "1604671801908-6f0c6a092c05",
|
|
6877
|
-
"wireless-mouse": "1594732832278-abd644401426",
|
|
6878
|
-
"mech-keyboard": "1583394838336-acd977736f90",
|
|
6879
|
-
"gaming-controller": "1542751371-adc38448a05e",
|
|
6880
|
-
"gaming-headset": "1606220945770-b5b6c2c55bf1",
|
|
6881
|
-
"console-handheld": "1593642634524-b40b5baae6bb",
|
|
6882
|
-
wfh: "1605236453806-6ff36851218e",
|
|
6883
|
-
"game-pack": "1606144042614-b2417e99c4e3"
|
|
6884
|
-
};
|
|
6885
|
-
var photoFor = (slug) => img2(PHOTO[slug] ?? "1517336714731-489689fd1ca8");
|
|
6895
|
+
var photoFor2 = (slug) => seedImage("retail", slug);
|
|
6886
6896
|
function seedRetail(registry) {
|
|
6887
6897
|
const businessId = "bus_currents_electronics";
|
|
6888
6898
|
const business = {
|
|
@@ -6966,8 +6976,8 @@ function seedRetail(registry) {
|
|
|
6966
6976
|
product_type: "product",
|
|
6967
6977
|
base_price: p.price,
|
|
6968
6978
|
currency: "GHS",
|
|
6969
|
-
image:
|
|
6970
|
-
images: [
|
|
6979
|
+
image: photoFor2(p.slug),
|
|
6980
|
+
images: [photoFor2(p.slug)],
|
|
6971
6981
|
is_available: true,
|
|
6972
6982
|
category_ids: [catId],
|
|
6973
6983
|
collection_ids: [],
|
|
@@ -7230,8 +7240,8 @@ function seedRetail(registry) {
|
|
|
7230
7240
|
product_type: "bundle",
|
|
7231
7241
|
base_price: "11910.00",
|
|
7232
7242
|
currency: "GHS",
|
|
7233
|
-
image:
|
|
7234
|
-
images: [
|
|
7243
|
+
image: photoFor2("wfh"),
|
|
7244
|
+
images: [photoFor2("wfh")],
|
|
7235
7245
|
is_available: true,
|
|
7236
7246
|
category_ids: [catIds.get("laptops")],
|
|
7237
7247
|
collection_ids: [],
|
|
@@ -7264,8 +7274,8 @@ function seedRetail(registry) {
|
|
|
7264
7274
|
product_type: "bundle",
|
|
7265
7275
|
base_price: "4200.00",
|
|
7266
7276
|
currency: "GHS",
|
|
7267
|
-
image:
|
|
7268
|
-
images: [
|
|
7277
|
+
image: photoFor2("game-pack"),
|
|
7278
|
+
images: [photoFor2("game-pack")],
|
|
7269
7279
|
is_available: true,
|
|
7270
7280
|
category_ids: [catIds.get("gaming")],
|
|
7271
7281
|
collection_ids: [],
|
|
@@ -7355,6 +7365,29 @@ function seedRetail(registry) {
|
|
|
7355
7365
|
|
|
7356
7366
|
// src/mock/seeds/services.ts
|
|
7357
7367
|
var ISO6 = "2026-01-01T00:00:00.000Z";
|
|
7368
|
+
var PHOTO3 = {
|
|
7369
|
+
"business-hero": "1540555700478-4be289fbecef",
|
|
7370
|
+
"swedish-massage-60": "1544161515-4ab6ce6db874",
|
|
7371
|
+
"swedish-massage-90": "1519823551278-64ac92734fb1",
|
|
7372
|
+
"deep-tissue-60": "1571019613454-1cb2f99b2d8b",
|
|
7373
|
+
"couples-massage": "1591343395082-e120087004b4",
|
|
7374
|
+
"hot-stone-90": "1620733723572-11c53f73a416",
|
|
7375
|
+
"facial-classic": "1487412947147-5cebf100ffc2",
|
|
7376
|
+
"facial-anti-aging": "1487412947147-5cebf100ffc2",
|
|
7377
|
+
"facial-acne": "1556228720-195a672e8a03",
|
|
7378
|
+
manicure: "1604654894610-df63bc536371",
|
|
7379
|
+
pedicure: "1519415943484-9fa1873496d4",
|
|
7380
|
+
"gel-manicure": "1607779097040-26e80aa78e66",
|
|
7381
|
+
haircut: "1622286342621-4bd786c2447c",
|
|
7382
|
+
"hair-treatment": "1633681926022-84c23e8cb2d6",
|
|
7383
|
+
color: "1560066984-138dadb4c035",
|
|
7384
|
+
"yoga-session": "1545205597-3d9d02c29597",
|
|
7385
|
+
meditation: "1506126613408-eca07ce68773",
|
|
7386
|
+
"spa-day": "1571019613454-1cb2f99b2d8b",
|
|
7387
|
+
couples: "1591343395082-e120087004b4",
|
|
7388
|
+
custom: "1540555700478-4be289fbecef"
|
|
7389
|
+
};
|
|
7390
|
+
var photoFor3 = (slug) => seedImage("services", slug, PHOTO3[slug] ?? "1540555700478-4be289fbecef");
|
|
7358
7391
|
function seedServices(registry) {
|
|
7359
7392
|
const businessId = "bus_serene_spa";
|
|
7360
7393
|
const business = {
|
|
@@ -7368,7 +7401,7 @@ function seedServices(registry) {
|
|
|
7368
7401
|
default_address: "12 Cantonments Road, Accra",
|
|
7369
7402
|
default_offers_table_service: false,
|
|
7370
7403
|
default_accepts_online_orders: true,
|
|
7371
|
-
image: "
|
|
7404
|
+
image: photoFor3("business-hero"),
|
|
7372
7405
|
status: "active",
|
|
7373
7406
|
created_at: ISO6,
|
|
7374
7407
|
updated_at: ISO6,
|
|
@@ -7436,8 +7469,8 @@ function seedServices(registry) {
|
|
|
7436
7469
|
product_type: "service",
|
|
7437
7470
|
base_price: s.price,
|
|
7438
7471
|
currency: "GHS",
|
|
7439
|
-
image:
|
|
7440
|
-
images: [
|
|
7472
|
+
image: photoFor3(s.slug),
|
|
7473
|
+
images: [photoFor3(s.slug)],
|
|
7441
7474
|
is_available: true,
|
|
7442
7475
|
category_ids: [catId],
|
|
7443
7476
|
collection_ids: [],
|
|
@@ -7573,8 +7606,8 @@ function seedServices(registry) {
|
|
|
7573
7606
|
product_type: "bundle",
|
|
7574
7607
|
base_price: "480.00",
|
|
7575
7608
|
currency: "GHS",
|
|
7576
|
-
image: "
|
|
7577
|
-
images: ["
|
|
7609
|
+
image: photoFor3("spa-day"),
|
|
7610
|
+
images: [photoFor3("spa-day")],
|
|
7578
7611
|
is_available: true,
|
|
7579
7612
|
category_ids: [catIds.get("wellness")],
|
|
7580
7613
|
collection_ids: [],
|
|
@@ -7607,8 +7640,8 @@ function seedServices(registry) {
|
|
|
7607
7640
|
product_type: "bundle",
|
|
7608
7641
|
base_price: "850.50",
|
|
7609
7642
|
currency: "GHS",
|
|
7610
|
-
image: "
|
|
7611
|
-
images: ["
|
|
7643
|
+
image: photoFor3("couples"),
|
|
7644
|
+
images: [photoFor3("couples")],
|
|
7612
7645
|
is_available: true,
|
|
7613
7646
|
category_ids: [catIds.get("wellness")],
|
|
7614
7647
|
collection_ids: [],
|
|
@@ -7643,8 +7676,8 @@ function seedServices(registry) {
|
|
|
7643
7676
|
product_type: "composite",
|
|
7644
7677
|
base_price: "0.00",
|
|
7645
7678
|
currency: "GHS",
|
|
7646
|
-
image: "
|
|
7647
|
-
images: ["
|
|
7679
|
+
image: photoFor3("custom"),
|
|
7680
|
+
images: [photoFor3("custom")],
|
|
7648
7681
|
is_available: true,
|
|
7649
7682
|
category_ids: [catIds.get("wellness")],
|
|
7650
7683
|
collection_ids: [],
|
|
@@ -7734,6 +7767,35 @@ function seedServices(registry) {
|
|
|
7734
7767
|
|
|
7735
7768
|
// src/mock/seeds/grocery.ts
|
|
7736
7769
|
var ISO7 = "2026-01-01T00:00:00.000Z";
|
|
7770
|
+
var PHOTO4 = {
|
|
7771
|
+
"business-hero": "1542838132-92c53300491e",
|
|
7772
|
+
"tomatoes-1kg": "1592924357228-91a4daadcfea",
|
|
7773
|
+
"onions-1kg": "1620574387735-3624d75b2dbc",
|
|
7774
|
+
"ginger-200g": "1594631252845-29fc4cc8cde9",
|
|
7775
|
+
"bananas-bunch": "1571771019784-3ff35f4f4277",
|
|
7776
|
+
pineapple: "1550258987-190a2d41a8ba",
|
|
7777
|
+
"spinach-bunch": "1576045057995-568f588f82fb",
|
|
7778
|
+
"milk-1l": "1563636619-e9143da7973b",
|
|
7779
|
+
"yogurt-500g": "1488477181946-6428a0291777",
|
|
7780
|
+
"eggs-12": "1582722872445-44dc5f7e3c8f",
|
|
7781
|
+
"cheese-200g": "1486297678162-eb2a19b0a32d",
|
|
7782
|
+
"chicken-1kg": "1604503468506-a8da13d82791",
|
|
7783
|
+
"beef-mince-500g": "1607623814075-e51df1bdc82f",
|
|
7784
|
+
"tilapia-each": "1535473895227-bdecb20fb157",
|
|
7785
|
+
"rice-5kg": "1586201375761-83865001e31c",
|
|
7786
|
+
"garri-2kg": "1582284540020-8acbe03f4924",
|
|
7787
|
+
"palm-oil-1l": "1611078489935-0cb964de46d6",
|
|
7788
|
+
"vegetable-oil-1l": "1474979266404-7eaacbcd87c5",
|
|
7789
|
+
"salt-1kg": "1607301406259-dfb186e15de8",
|
|
7790
|
+
"sugar-1kg": "1610725664285-7c57e6eeac3f",
|
|
7791
|
+
"tomato-paste": "1561136594-7f68413baa99",
|
|
7792
|
+
"soap-bar": "1600857062241-98e5dba7f214",
|
|
7793
|
+
"detergent-1kg": "1582735689369-4fe89db7114c",
|
|
7794
|
+
"tissue-pack": "1583947215259-38e31be8751f",
|
|
7795
|
+
"trash-bags": "1605600659908-0ef719419d41",
|
|
7796
|
+
essentials: "1542838132-92c53300491e"
|
|
7797
|
+
};
|
|
7798
|
+
var photoFor4 = (slug) => seedImage("grocery", slug, PHOTO4[slug] ?? "1542838132-92c53300491e");
|
|
7737
7799
|
function seedGrocery(registry) {
|
|
7738
7800
|
const businessId = "bus_freshmart";
|
|
7739
7801
|
const business = {
|
|
@@ -7747,7 +7809,7 @@ function seedGrocery(registry) {
|
|
|
7747
7809
|
default_address: "Spintex Road, Accra",
|
|
7748
7810
|
default_offers_table_service: false,
|
|
7749
7811
|
default_accepts_online_orders: true,
|
|
7750
|
-
image: "
|
|
7812
|
+
image: photoFor4("business-hero"),
|
|
7751
7813
|
status: "active",
|
|
7752
7814
|
created_at: ISO7,
|
|
7753
7815
|
updated_at: ISO7,
|
|
@@ -7822,8 +7884,8 @@ function seedGrocery(registry) {
|
|
|
7822
7884
|
product_type: "product",
|
|
7823
7885
|
base_price: p.price,
|
|
7824
7886
|
currency: "GHS",
|
|
7825
|
-
image:
|
|
7826
|
-
images: [
|
|
7887
|
+
image: photoFor4(p.slug),
|
|
7888
|
+
images: [photoFor4(p.slug)],
|
|
7827
7889
|
is_available: true,
|
|
7828
7890
|
category_ids: [catId],
|
|
7829
7891
|
collection_ids: [],
|
|
@@ -7906,8 +7968,8 @@ function seedGrocery(registry) {
|
|
|
7906
7968
|
product_type: "bundle",
|
|
7907
7969
|
base_price: "199.50",
|
|
7908
7970
|
currency: "GHS",
|
|
7909
|
-
image: "
|
|
7910
|
-
images: ["
|
|
7971
|
+
image: photoFor4("essentials"),
|
|
7972
|
+
images: [photoFor4("essentials")],
|
|
7911
7973
|
is_available: true,
|
|
7912
7974
|
category_ids: [catIds.get("pantry")],
|
|
7913
7975
|
collection_ids: [],
|
|
@@ -7996,8 +8058,7 @@ function seedGrocery(registry) {
|
|
|
7996
8058
|
|
|
7997
8059
|
// src/mock/seeds/fashion.ts
|
|
7998
8060
|
var ISO8 = "2026-01-01T00:00:00.000Z";
|
|
7999
|
-
var
|
|
8000
|
-
var PHOTO2 = {
|
|
8061
|
+
var PHOTO5 = {
|
|
8001
8062
|
"heavyweight-hoodie-charcoal": "1556905055-8f358a7a47b2",
|
|
8002
8063
|
"heavyweight-hoodie-cream": "1576566588028-4147f3842f27",
|
|
8003
8064
|
"heavyweight-hoodie-cobalt": "1542838686-37da4a9fd1b3",
|
|
@@ -8013,7 +8074,7 @@ var PHOTO2 = {
|
|
|
8013
8074
|
"knit-beanie": "1542838132-92c53300491e",
|
|
8014
8075
|
"studio-sock-3pack": "1602810318383-e386cc2a3ccf"
|
|
8015
8076
|
};
|
|
8016
|
-
var
|
|
8077
|
+
var photoFor5 = (slug) => seedImage("fashion", slug, PHOTO5[slug] ?? "1556905055-8f358a7a47b2", 900);
|
|
8017
8078
|
var SIZES = ["XS", "S", "M", "L", "XL", "2XL"];
|
|
8018
8079
|
function seedFashion(registry) {
|
|
8019
8080
|
const businessId = "bus_studio_frx";
|
|
@@ -8028,7 +8089,7 @@ function seedFashion(registry) {
|
|
|
8028
8089
|
default_address: "Osu Oxford Street, Accra",
|
|
8029
8090
|
default_offers_table_service: false,
|
|
8030
8091
|
default_accepts_online_orders: true,
|
|
8031
|
-
image:
|
|
8092
|
+
image: seedImage("fashion", "business-hero"),
|
|
8032
8093
|
status: "active",
|
|
8033
8094
|
created_at: ISO8,
|
|
8034
8095
|
updated_at: ISO8,
|
|
@@ -8211,8 +8272,8 @@ function seedFashion(registry) {
|
|
|
8211
8272
|
product_type: "product",
|
|
8212
8273
|
base_price: p.price,
|
|
8213
8274
|
currency: "GHS",
|
|
8214
|
-
image:
|
|
8215
|
-
images: [
|
|
8275
|
+
image: photoFor5(p.slug),
|
|
8276
|
+
images: [photoFor5(p.slug)],
|
|
8216
8277
|
is_available: true,
|
|
8217
8278
|
category_ids: [catId],
|
|
8218
8279
|
collection_ids: [],
|