@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/msw.js
CHANGED
|
@@ -5041,10 +5041,18 @@ function createLiteService(opts) {
|
|
|
5041
5041
|
};
|
|
5042
5042
|
}
|
|
5043
5043
|
|
|
5044
|
+
// src/mock/seeds/image.ts
|
|
5045
|
+
var CIMPLIFY_CDN_BASE_URL = "https://static-tmp.cimplify.io";
|
|
5046
|
+
function seedImage(industry, slug, unsplashId, size = 800) {
|
|
5047
|
+
{
|
|
5048
|
+
return `${CIMPLIFY_CDN_BASE_URL}/seed/${industry}/${slug}.jpg`;
|
|
5049
|
+
}
|
|
5050
|
+
}
|
|
5051
|
+
|
|
5044
5052
|
// src/mock/seeds/default.ts
|
|
5045
5053
|
var ISO = "2026-01-01T00:00:00.000Z";
|
|
5046
5054
|
var BUSINESS_ID = "bus_default_akua_bakery";
|
|
5047
|
-
var img = (id) =>
|
|
5055
|
+
var img = (id) => seedImage("bakery", id);
|
|
5048
5056
|
function makeProduct(input, categoryIds) {
|
|
5049
5057
|
const catId = categoryIds.get(input.category);
|
|
5050
5058
|
return {
|
|
@@ -5518,7 +5526,7 @@ function seedDefault(registry) {
|
|
|
5518
5526
|
price: "320.00",
|
|
5519
5527
|
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.",
|
|
5520
5528
|
category: "classes",
|
|
5521
|
-
imageUrl: img("
|
|
5529
|
+
imageUrl: img("1517686469429-8bdb88b9f907"),
|
|
5522
5530
|
tags: ["class", "service", "hands-on"],
|
|
5523
5531
|
productType: "service",
|
|
5524
5532
|
durationMinutes: 120
|
|
@@ -5544,7 +5552,7 @@ function seedDefault(registry) {
|
|
|
5544
5552
|
price: "180.00",
|
|
5545
5553
|
description: "Rent our commercial bakery after hours. Deck oven, retarder-proofer, mixers, scales \u2014 bring your team or shoot your content. Hourly.",
|
|
5546
5554
|
category: "classes",
|
|
5547
|
-
imageUrl: img("
|
|
5555
|
+
imageUrl: img("1606755962773-d324e0a13086"),
|
|
5548
5556
|
tags: ["rental", "service", "commercial"],
|
|
5549
5557
|
productType: "service",
|
|
5550
5558
|
durationUnit: "hours"
|
|
@@ -6398,6 +6406,31 @@ function seedReesa(registry) {
|
|
|
6398
6406
|
|
|
6399
6407
|
// src/mock/seeds/restaurant.ts
|
|
6400
6408
|
var ISO4 = "2026-01-01T00:00:00.000Z";
|
|
6409
|
+
var PHOTO = {
|
|
6410
|
+
"business-hero": "1414235077428-338989a2e8c0",
|
|
6411
|
+
kelewele: "1599487488170-d11ec9c172f0",
|
|
6412
|
+
"spring-rolls": "1559339352-11d035aa65de",
|
|
6413
|
+
"soup-of-the-day": "1547592180-85f173990554",
|
|
6414
|
+
"jollof-rice": "1546069901-d5bfd2cbfb1f",
|
|
6415
|
+
"banku-tilapia": "1485921325833-c519f76c4927",
|
|
6416
|
+
"fufu-light-soup": "1602253057119-44d745d9b860",
|
|
6417
|
+
waakye: "1565299624946-b28f40a0ae38",
|
|
6418
|
+
"grilled-chicken": "1598103442097-8b74394b95c6",
|
|
6419
|
+
burger: "1568901346375-23c9450c58cd",
|
|
6420
|
+
"yam-fries": "1576107232684-1279f390859f",
|
|
6421
|
+
"fried-plantain": "1493770348161-369560ae357d",
|
|
6422
|
+
salad: "1512621776951-a57141f2eefd",
|
|
6423
|
+
"ice-cream": "1488900128323-21503983a07e",
|
|
6424
|
+
"cake-slice": "1565958011703-44f9829ba187",
|
|
6425
|
+
"fruit-bowl": "1490474418585-ba9bad8fd0ea",
|
|
6426
|
+
"soft-drink": "1581636625402-29b2a704ef13",
|
|
6427
|
+
sobolo: "1556679343-c7306c1976bc",
|
|
6428
|
+
"fresh-juice": "1610970881699-44a5587cabec",
|
|
6429
|
+
water: "1564325724739-bae0bd08762c",
|
|
6430
|
+
feast: "1559847844-5315695dadae",
|
|
6431
|
+
byo: "1551782450-a2132b4ba21d"
|
|
6432
|
+
};
|
|
6433
|
+
var photoFor = (slug) => seedImage("restaurant", slug, PHOTO[slug] ?? "1414235077428-338989a2e8c0");
|
|
6401
6434
|
function seedRestaurant(registry) {
|
|
6402
6435
|
const businessId = "bus_mamas_kitchen";
|
|
6403
6436
|
const business = {
|
|
@@ -6411,7 +6444,7 @@ function seedRestaurant(registry) {
|
|
|
6411
6444
|
default_address: "8 Ring Road, East Legon, Accra",
|
|
6412
6445
|
default_offers_table_service: true,
|
|
6413
6446
|
default_accepts_online_orders: true,
|
|
6414
|
-
image: "
|
|
6447
|
+
image: photoFor("business-hero"),
|
|
6415
6448
|
status: "active",
|
|
6416
6449
|
created_at: ISO4,
|
|
6417
6450
|
updated_at: ISO4,
|
|
@@ -6482,8 +6515,8 @@ function seedRestaurant(registry) {
|
|
|
6482
6515
|
product_type: "product",
|
|
6483
6516
|
base_price: p.price,
|
|
6484
6517
|
currency: "GHS",
|
|
6485
|
-
image:
|
|
6486
|
-
images: [
|
|
6518
|
+
image: photoFor(p.slug),
|
|
6519
|
+
images: [photoFor(p.slug)],
|
|
6487
6520
|
is_available: true,
|
|
6488
6521
|
category_ids: [catId],
|
|
6489
6522
|
collection_ids: [],
|
|
@@ -6721,8 +6754,8 @@ function seedRestaurant(registry) {
|
|
|
6721
6754
|
product_type: "bundle",
|
|
6722
6755
|
base_price: "180.00",
|
|
6723
6756
|
currency: "GHS",
|
|
6724
|
-
image: "
|
|
6725
|
-
images: ["
|
|
6757
|
+
image: photoFor("feast"),
|
|
6758
|
+
images: [photoFor("feast")],
|
|
6726
6759
|
is_available: true,
|
|
6727
6760
|
category_ids: [catIds.get("mains")],
|
|
6728
6761
|
collection_ids: [],
|
|
@@ -6757,8 +6790,8 @@ function seedRestaurant(registry) {
|
|
|
6757
6790
|
product_type: "composite",
|
|
6758
6791
|
base_price: "0.00",
|
|
6759
6792
|
currency: "GHS",
|
|
6760
|
-
image: "
|
|
6761
|
-
images: ["
|
|
6793
|
+
image: photoFor("byo"),
|
|
6794
|
+
images: [photoFor("byo")],
|
|
6762
6795
|
is_available: true,
|
|
6763
6796
|
category_ids: [catIds.get("mains")],
|
|
6764
6797
|
collection_ids: [],
|
|
@@ -6857,30 +6890,7 @@ function seedRestaurant(registry) {
|
|
|
6857
6890
|
|
|
6858
6891
|
// src/mock/seeds/retail.ts
|
|
6859
6892
|
var ISO5 = "2026-01-01T00:00:00.000Z";
|
|
6860
|
-
var
|
|
6861
|
-
var PHOTO = {
|
|
6862
|
-
"android-flagship": "1592750475338-74b7b21085ab",
|
|
6863
|
-
"android-mid": "1511707171634-5f897ff02aa9",
|
|
6864
|
-
"phone-budget": "1574944985070-8f3ebc6b79d2",
|
|
6865
|
-
"laptop-pro": "1517336714731-489689fd1ca8",
|
|
6866
|
-
"laptop-air": "1496181133206-80ce9b88a853",
|
|
6867
|
-
"laptop-budget": "1601784551446-20c9e07cdbdb",
|
|
6868
|
-
"headphones-anc": "1505740420928-5e560c06d30e",
|
|
6869
|
-
"earbuds-pro": "1572569511254-d8f925fe2cbb",
|
|
6870
|
-
"speaker-bt": "1612287230202-1ff1d85d1bdf",
|
|
6871
|
-
"phone-case": "1611532736597-de2d4265fba3",
|
|
6872
|
-
"screen-protector": "1568952433726-3896e3881c65",
|
|
6873
|
-
"fast-charger": "1620794108219-aedbaded4eea",
|
|
6874
|
-
"laptop-sleeve": "1604671801908-6f0c6a092c05",
|
|
6875
|
-
"wireless-mouse": "1594732832278-abd644401426",
|
|
6876
|
-
"mech-keyboard": "1583394838336-acd977736f90",
|
|
6877
|
-
"gaming-controller": "1542751371-adc38448a05e",
|
|
6878
|
-
"gaming-headset": "1606220945770-b5b6c2c55bf1",
|
|
6879
|
-
"console-handheld": "1593642634524-b40b5baae6bb",
|
|
6880
|
-
wfh: "1605236453806-6ff36851218e",
|
|
6881
|
-
"game-pack": "1606144042614-b2417e99c4e3"
|
|
6882
|
-
};
|
|
6883
|
-
var photoFor = (slug) => img2(PHOTO[slug] ?? "1517336714731-489689fd1ca8");
|
|
6893
|
+
var photoFor2 = (slug) => seedImage("retail", slug);
|
|
6884
6894
|
function seedRetail(registry) {
|
|
6885
6895
|
const businessId = "bus_currents_electronics";
|
|
6886
6896
|
const business = {
|
|
@@ -6964,8 +6974,8 @@ function seedRetail(registry) {
|
|
|
6964
6974
|
product_type: "product",
|
|
6965
6975
|
base_price: p.price,
|
|
6966
6976
|
currency: "GHS",
|
|
6967
|
-
image:
|
|
6968
|
-
images: [
|
|
6977
|
+
image: photoFor2(p.slug),
|
|
6978
|
+
images: [photoFor2(p.slug)],
|
|
6969
6979
|
is_available: true,
|
|
6970
6980
|
category_ids: [catId],
|
|
6971
6981
|
collection_ids: [],
|
|
@@ -7228,8 +7238,8 @@ function seedRetail(registry) {
|
|
|
7228
7238
|
product_type: "bundle",
|
|
7229
7239
|
base_price: "11910.00",
|
|
7230
7240
|
currency: "GHS",
|
|
7231
|
-
image:
|
|
7232
|
-
images: [
|
|
7241
|
+
image: photoFor2("wfh"),
|
|
7242
|
+
images: [photoFor2("wfh")],
|
|
7233
7243
|
is_available: true,
|
|
7234
7244
|
category_ids: [catIds.get("laptops")],
|
|
7235
7245
|
collection_ids: [],
|
|
@@ -7262,8 +7272,8 @@ function seedRetail(registry) {
|
|
|
7262
7272
|
product_type: "bundle",
|
|
7263
7273
|
base_price: "4200.00",
|
|
7264
7274
|
currency: "GHS",
|
|
7265
|
-
image:
|
|
7266
|
-
images: [
|
|
7275
|
+
image: photoFor2("game-pack"),
|
|
7276
|
+
images: [photoFor2("game-pack")],
|
|
7267
7277
|
is_available: true,
|
|
7268
7278
|
category_ids: [catIds.get("gaming")],
|
|
7269
7279
|
collection_ids: [],
|
|
@@ -7353,6 +7363,29 @@ function seedRetail(registry) {
|
|
|
7353
7363
|
|
|
7354
7364
|
// src/mock/seeds/services.ts
|
|
7355
7365
|
var ISO6 = "2026-01-01T00:00:00.000Z";
|
|
7366
|
+
var PHOTO3 = {
|
|
7367
|
+
"business-hero": "1540555700478-4be289fbecef",
|
|
7368
|
+
"swedish-massage-60": "1544161515-4ab6ce6db874",
|
|
7369
|
+
"swedish-massage-90": "1519823551278-64ac92734fb1",
|
|
7370
|
+
"deep-tissue-60": "1571019613454-1cb2f99b2d8b",
|
|
7371
|
+
"couples-massage": "1591343395082-e120087004b4",
|
|
7372
|
+
"hot-stone-90": "1620733723572-11c53f73a416",
|
|
7373
|
+
"facial-classic": "1487412947147-5cebf100ffc2",
|
|
7374
|
+
"facial-anti-aging": "1487412947147-5cebf100ffc2",
|
|
7375
|
+
"facial-acne": "1556228720-195a672e8a03",
|
|
7376
|
+
manicure: "1604654894610-df63bc536371",
|
|
7377
|
+
pedicure: "1519415943484-9fa1873496d4",
|
|
7378
|
+
"gel-manicure": "1607779097040-26e80aa78e66",
|
|
7379
|
+
haircut: "1622286342621-4bd786c2447c",
|
|
7380
|
+
"hair-treatment": "1633681926022-84c23e8cb2d6",
|
|
7381
|
+
color: "1560066984-138dadb4c035",
|
|
7382
|
+
"yoga-session": "1545205597-3d9d02c29597",
|
|
7383
|
+
meditation: "1506126613408-eca07ce68773",
|
|
7384
|
+
"spa-day": "1571019613454-1cb2f99b2d8b",
|
|
7385
|
+
couples: "1591343395082-e120087004b4",
|
|
7386
|
+
custom: "1540555700478-4be289fbecef"
|
|
7387
|
+
};
|
|
7388
|
+
var photoFor3 = (slug) => seedImage("services", slug, PHOTO3[slug] ?? "1540555700478-4be289fbecef");
|
|
7356
7389
|
function seedServices(registry) {
|
|
7357
7390
|
const businessId = "bus_serene_spa";
|
|
7358
7391
|
const business = {
|
|
@@ -7366,7 +7399,7 @@ function seedServices(registry) {
|
|
|
7366
7399
|
default_address: "12 Cantonments Road, Accra",
|
|
7367
7400
|
default_offers_table_service: false,
|
|
7368
7401
|
default_accepts_online_orders: true,
|
|
7369
|
-
image: "
|
|
7402
|
+
image: photoFor3("business-hero"),
|
|
7370
7403
|
status: "active",
|
|
7371
7404
|
created_at: ISO6,
|
|
7372
7405
|
updated_at: ISO6,
|
|
@@ -7434,8 +7467,8 @@ function seedServices(registry) {
|
|
|
7434
7467
|
product_type: "service",
|
|
7435
7468
|
base_price: s.price,
|
|
7436
7469
|
currency: "GHS",
|
|
7437
|
-
image:
|
|
7438
|
-
images: [
|
|
7470
|
+
image: photoFor3(s.slug),
|
|
7471
|
+
images: [photoFor3(s.slug)],
|
|
7439
7472
|
is_available: true,
|
|
7440
7473
|
category_ids: [catId],
|
|
7441
7474
|
collection_ids: [],
|
|
@@ -7571,8 +7604,8 @@ function seedServices(registry) {
|
|
|
7571
7604
|
product_type: "bundle",
|
|
7572
7605
|
base_price: "480.00",
|
|
7573
7606
|
currency: "GHS",
|
|
7574
|
-
image: "
|
|
7575
|
-
images: ["
|
|
7607
|
+
image: photoFor3("spa-day"),
|
|
7608
|
+
images: [photoFor3("spa-day")],
|
|
7576
7609
|
is_available: true,
|
|
7577
7610
|
category_ids: [catIds.get("wellness")],
|
|
7578
7611
|
collection_ids: [],
|
|
@@ -7605,8 +7638,8 @@ function seedServices(registry) {
|
|
|
7605
7638
|
product_type: "bundle",
|
|
7606
7639
|
base_price: "850.50",
|
|
7607
7640
|
currency: "GHS",
|
|
7608
|
-
image: "
|
|
7609
|
-
images: ["
|
|
7641
|
+
image: photoFor3("couples"),
|
|
7642
|
+
images: [photoFor3("couples")],
|
|
7610
7643
|
is_available: true,
|
|
7611
7644
|
category_ids: [catIds.get("wellness")],
|
|
7612
7645
|
collection_ids: [],
|
|
@@ -7641,8 +7674,8 @@ function seedServices(registry) {
|
|
|
7641
7674
|
product_type: "composite",
|
|
7642
7675
|
base_price: "0.00",
|
|
7643
7676
|
currency: "GHS",
|
|
7644
|
-
image: "
|
|
7645
|
-
images: ["
|
|
7677
|
+
image: photoFor3("custom"),
|
|
7678
|
+
images: [photoFor3("custom")],
|
|
7646
7679
|
is_available: true,
|
|
7647
7680
|
category_ids: [catIds.get("wellness")],
|
|
7648
7681
|
collection_ids: [],
|
|
@@ -7732,6 +7765,35 @@ function seedServices(registry) {
|
|
|
7732
7765
|
|
|
7733
7766
|
// src/mock/seeds/grocery.ts
|
|
7734
7767
|
var ISO7 = "2026-01-01T00:00:00.000Z";
|
|
7768
|
+
var PHOTO4 = {
|
|
7769
|
+
"business-hero": "1542838132-92c53300491e",
|
|
7770
|
+
"tomatoes-1kg": "1592924357228-91a4daadcfea",
|
|
7771
|
+
"onions-1kg": "1620574387735-3624d75b2dbc",
|
|
7772
|
+
"ginger-200g": "1594631252845-29fc4cc8cde9",
|
|
7773
|
+
"bananas-bunch": "1571771019784-3ff35f4f4277",
|
|
7774
|
+
pineapple: "1550258987-190a2d41a8ba",
|
|
7775
|
+
"spinach-bunch": "1576045057995-568f588f82fb",
|
|
7776
|
+
"milk-1l": "1563636619-e9143da7973b",
|
|
7777
|
+
"yogurt-500g": "1488477181946-6428a0291777",
|
|
7778
|
+
"eggs-12": "1582722872445-44dc5f7e3c8f",
|
|
7779
|
+
"cheese-200g": "1486297678162-eb2a19b0a32d",
|
|
7780
|
+
"chicken-1kg": "1604503468506-a8da13d82791",
|
|
7781
|
+
"beef-mince-500g": "1607623814075-e51df1bdc82f",
|
|
7782
|
+
"tilapia-each": "1535473895227-bdecb20fb157",
|
|
7783
|
+
"rice-5kg": "1586201375761-83865001e31c",
|
|
7784
|
+
"garri-2kg": "1582284540020-8acbe03f4924",
|
|
7785
|
+
"palm-oil-1l": "1611078489935-0cb964de46d6",
|
|
7786
|
+
"vegetable-oil-1l": "1474979266404-7eaacbcd87c5",
|
|
7787
|
+
"salt-1kg": "1607301406259-dfb186e15de8",
|
|
7788
|
+
"sugar-1kg": "1610725664285-7c57e6eeac3f",
|
|
7789
|
+
"tomato-paste": "1561136594-7f68413baa99",
|
|
7790
|
+
"soap-bar": "1600857062241-98e5dba7f214",
|
|
7791
|
+
"detergent-1kg": "1582735689369-4fe89db7114c",
|
|
7792
|
+
"tissue-pack": "1583947215259-38e31be8751f",
|
|
7793
|
+
"trash-bags": "1605600659908-0ef719419d41",
|
|
7794
|
+
essentials: "1542838132-92c53300491e"
|
|
7795
|
+
};
|
|
7796
|
+
var photoFor4 = (slug) => seedImage("grocery", slug, PHOTO4[slug] ?? "1542838132-92c53300491e");
|
|
7735
7797
|
function seedGrocery(registry) {
|
|
7736
7798
|
const businessId = "bus_freshmart";
|
|
7737
7799
|
const business = {
|
|
@@ -7745,7 +7807,7 @@ function seedGrocery(registry) {
|
|
|
7745
7807
|
default_address: "Spintex Road, Accra",
|
|
7746
7808
|
default_offers_table_service: false,
|
|
7747
7809
|
default_accepts_online_orders: true,
|
|
7748
|
-
image: "
|
|
7810
|
+
image: photoFor4("business-hero"),
|
|
7749
7811
|
status: "active",
|
|
7750
7812
|
created_at: ISO7,
|
|
7751
7813
|
updated_at: ISO7,
|
|
@@ -7820,8 +7882,8 @@ function seedGrocery(registry) {
|
|
|
7820
7882
|
product_type: "product",
|
|
7821
7883
|
base_price: p.price,
|
|
7822
7884
|
currency: "GHS",
|
|
7823
|
-
image:
|
|
7824
|
-
images: [
|
|
7885
|
+
image: photoFor4(p.slug),
|
|
7886
|
+
images: [photoFor4(p.slug)],
|
|
7825
7887
|
is_available: true,
|
|
7826
7888
|
category_ids: [catId],
|
|
7827
7889
|
collection_ids: [],
|
|
@@ -7904,8 +7966,8 @@ function seedGrocery(registry) {
|
|
|
7904
7966
|
product_type: "bundle",
|
|
7905
7967
|
base_price: "199.50",
|
|
7906
7968
|
currency: "GHS",
|
|
7907
|
-
image: "
|
|
7908
|
-
images: ["
|
|
7969
|
+
image: photoFor4("essentials"),
|
|
7970
|
+
images: [photoFor4("essentials")],
|
|
7909
7971
|
is_available: true,
|
|
7910
7972
|
category_ids: [catIds.get("pantry")],
|
|
7911
7973
|
collection_ids: [],
|
|
@@ -7994,8 +8056,7 @@ function seedGrocery(registry) {
|
|
|
7994
8056
|
|
|
7995
8057
|
// src/mock/seeds/fashion.ts
|
|
7996
8058
|
var ISO8 = "2026-01-01T00:00:00.000Z";
|
|
7997
|
-
var
|
|
7998
|
-
var PHOTO2 = {
|
|
8059
|
+
var PHOTO5 = {
|
|
7999
8060
|
"heavyweight-hoodie-charcoal": "1556905055-8f358a7a47b2",
|
|
8000
8061
|
"heavyweight-hoodie-cream": "1576566588028-4147f3842f27",
|
|
8001
8062
|
"heavyweight-hoodie-cobalt": "1542838686-37da4a9fd1b3",
|
|
@@ -8011,7 +8072,7 @@ var PHOTO2 = {
|
|
|
8011
8072
|
"knit-beanie": "1542838132-92c53300491e",
|
|
8012
8073
|
"studio-sock-3pack": "1602810318383-e386cc2a3ccf"
|
|
8013
8074
|
};
|
|
8014
|
-
var
|
|
8075
|
+
var photoFor5 = (slug) => seedImage("fashion", slug, PHOTO5[slug] ?? "1556905055-8f358a7a47b2", 900);
|
|
8015
8076
|
var SIZES = ["XS", "S", "M", "L", "XL", "2XL"];
|
|
8016
8077
|
function seedFashion(registry) {
|
|
8017
8078
|
const businessId = "bus_studio_frx";
|
|
@@ -8026,7 +8087,7 @@ function seedFashion(registry) {
|
|
|
8026
8087
|
default_address: "Osu Oxford Street, Accra",
|
|
8027
8088
|
default_offers_table_service: false,
|
|
8028
8089
|
default_accepts_online_orders: true,
|
|
8029
|
-
image:
|
|
8090
|
+
image: seedImage("fashion", "business-hero"),
|
|
8030
8091
|
status: "active",
|
|
8031
8092
|
created_at: ISO8,
|
|
8032
8093
|
updated_at: ISO8,
|
|
@@ -8209,8 +8270,8 @@ function seedFashion(registry) {
|
|
|
8209
8270
|
product_type: "product",
|
|
8210
8271
|
base_price: p.price,
|
|
8211
8272
|
currency: "GHS",
|
|
8212
|
-
image:
|
|
8213
|
-
images: [
|
|
8273
|
+
image: photoFor5(p.slug),
|
|
8274
|
+
images: [photoFor5(p.slug)],
|
|
8214
8275
|
is_available: true,
|
|
8215
8276
|
category_ids: [catId],
|
|
8216
8277
|
collection_ids: [],
|