Index Variants Separately

Testing Support

1- Useful links & tips

  • Hawksearch Dashboard - https://dev.hawksearch.net/preview.aspx

  • check fields: Boost → Explain → Info & Field Matches

  • add Price & Inventory fields per market: Workbench → Data Configuration → Fields

2- Documentation

3- Hawksearch credentials: https://dev.hawksearch.net/ (alungu / Mauritan#3 )

4- Notes

  • [CMS] Hawksearch does not differentiate between pages (content) and products (product) in the dashboard and that is why a CMS page shows up under “Top Product Match” when searching for it in Hawksearch dashboard.

Connector: Index Variants Separately

Opti setup: most common

Scenario(s) + steps

Full Indexing Status

Incremental Indexing Status

Notes

1

Manual/Scheduled Run

Manual/ Scheduled Run

2

https://techromix.atlassian.net/browse/HC-44

Fields to check: SiteId | MetaTitle | Keywords | BackgroundImage | MainBody | Coordinates | Id | Name | StartPublish | StopPublish | IndexedOn | ContentLink | ParentLink | ItemType | Url |

Id = ContentLink for the CMS pages

3

CMS - Standard & Location Item page types are indexed

  • Create a Standard page & a Location Item page → run the indexing job → verify that page and its fields is available in Hawksearch

  • Update the page → run the indexing job → verify updates are available in Hawksearch

  • Delete the page → run the indexing job → verify it is deleted in Hawksearch

Pass
Fail
Pass
Fail

 

4

CMS - Other page types are NOT indexed

  • Create a Blog Item page & a Two Column Landing Page → run the indexing job → verify it is NOT available in Hawksearch

Pass
Fail
Pass
Fail

 

5

NO CMS - Catalog only setup

  • Verify that no CMS changes to Standard or Location Item page types (create, update, delete) are indexed

Pass
Fail
Pass
Fail

 

6

7

Verify that the Category structure is sent to Hawksearch

 

 

8

Edit the Category structure and verify it is updated in Hawksearch

 

9

Delete categories and verify in Hawksearch that:

  • the category is not available

  • the products under that category are not available

  • the variants under that category are not available

 

10

Product-variant catalog structure

  • products and variants are sent separately into Hawksearch

(AL 11/18) Q: oare e vreun loc unde pot vedea ca variantul X este al produsului Y?

@Bogdan Carcu (Unlicensed) inca nu, la asta lucram acum teoretic si o sa fie 3 optiuni in total:

  1. cum e acum, tot separat

  2. totul de pe varianti o sa apara pe produs, deci nu mai vezi varianti in dashboard

  3. o sa fie ceva relatie intre produs si variantii lui

11

Variant-only catalog structure

  • variants are sent separately into Hawksearch

 

12

Indexed Fields for Product: from product: ID | Name | StartPublish | StopPublish | IndexedOn | ContentLink | ParentLink | ItemType | URL | Code | Category | CatalogId | DisplayName | Markets | Manufacturer | Model | ModelYear | Warranty | Brand | Department | OnSale | NewArrival | ProductStatus | Description | LongDescription | ImageUrl | ImageAlt

13

Verify the mentioned fields are sent to Hawksearch for each product

 

14

Edit product information and verify that updates are sent to Hawksearch

  • Images and other digital assets will be indexed as part of a product or variant

 

15

Delete product information and verify that it is also removed in Hawksearch

 

16

Update Parent of product and verify the Category ID and Parent link is updated

Test data/Input

  • CatALevel1 (under catalog) - 1073741845

    • CatALevel2 - 1073741846

  • CatBLevel1 - 1073741848

  • Initial Parent: CatALevel2

  • New Parent: CatBLevel1

 

17

Product belongs to several categories

  • Parent link is displayed for main the primary category

  • Category ID is sent for all the categories the product belongs to

 

18

Product belongs to several categories

  • delete one secondary category and verify the Category link is removed from the product in Hawksearch

 

19

Update a product’s Primary category and verify the ParentLink is updated in Hawksearch

 

20

[Full Index] Delete a product’s Primary category

Input (tip: backup & restore DB)

  • prod#1 (Primary category only): LL SAMMY SHIRT

  • prod#2 (Primary and secondary categories): LUCIEN COTTON TWILL COAT

Output:

for product#1(under Primary category only):

for product#2(under Primary and secondary categories):

  • the category vanishes from Dashboard/ does not appear in search resultsCategory ID is updated and contains all the secondary categories linked to the product in OptimizelyParentLink is updated to Catalog ID URL is updated with CatalogID as product’s parent

N/A

 

21

[Incremental Index] Delete a product’s Primary category

Input (tip: backup & restore DB)

  • prod#1 (Primary category only): LL SAMMY SHIRT

  • prod#2 (Primary and secondary categories): LUCIEN COTTON TWILL COAT

Output:

for product#1(under Primary category only):

for product#2(under Primary and secondary categories):

  • the category vanishes from Dashboard/ does not appear in search resultsCategory ID is updated and contains all the secondary categories linked to the product in OptimizelyParentLink is updated to Catalog ID URL is updated with CatalogID as product’s parent

N/A

 

22

Delete product and:

  • verify the product is removed in Hawksearch

  • verify its variants are not removed from Hawksearch

 

23

Indexed Fields for Variant: ID | Name | StartPublish | StopPublish | IndexedOn | ContentLink | ParentLink | ItemType | URL | Code | Category | CatalogId | DisplayName | Markets | Color | Size | Sku | Mpn | Upc | MinQuantity | MaxQuantity | Weight | Description | ImageUrl | ImageAlt | Inventory_{WarehouseCode} | Price_{MarketId}_{Currency}

24

Verify variant indexing

  • the information added on variant level in Optimizely is sent to Hawksearch

Dec 23, 2021 Variant: ASHBURY DRESS, 20

Inventory shows with 20 less that we have added in Optimizely.

E.g. LA inventory is 490 in Opti, and 470 in Hawk

@Bogdan Carcu (Unlicensed) Am I missing smth?

25

Edit variant level information and verify that updates are sent to Hawksearch

  • Images and other digital assets will be indexed as part of a product or variant

 

26

Delete variant information and verify that it is also removed in Hawksearch

 

27

Update Parent of a variant

 

28

Delete variant and verify this is removed in Hawksearch

 

29

Fields to check: ID | Name | StartPublish | StopPublish | IndexedOn | ContentLink | ParentLink | ItemType | URL | Code | Category | CatalogId | DisplayName | Markets

30

Bundle level information is sent to Hawksearch

Input/Test data:

  • bundle#1 (with variants): “LL Bundle Linked”

  • bundle#3 (with variants ): “LL Bundle 2delete2"

Output:

(AL 11/18) Q: Pt bundles si packages nu trebuie sa apara undeva ce contin?

@Bogdan Carcu (Unlicensed) o sa intre si ele in optiunile de mai sus, ca la Produs

31

Update Parent of a bundle and verify the Category ID and Parent link is updated

Test data/Input

  • CatALevel1 (under catalog) - 1073741836

    • CatALevel2 - 1073741841

  • CatBLevel1 - 1073741848

    • CatBLevel2 - 1073741850

  • Initial Parent: CatALevel2

  • New Parent: CatBLevel2

 

32

Bundle belongs to several categories

Test data:

  • bundle#1 - “LL Bundle 3Variants”:

    • primary category: 1073741841 (LL Misc)

    • secondary categories: 1073741839(Sweaters), 1073741840(LL_Jackets)

    • delete: 1073741839(Sweaters)

  • bundle#2 - “LL Bundle Linked” :

    • primary category: 1073741841 (LL Misc)

    • secondary categories: 1073741839(Sweaters), 1073741837(LL Shoes)

    • update primary category to: 1073741840(LL_Jackets) and vice-versa for incremental

Output:

 

33

Delete a Bundle’s Primary category

Input:

  • bundle#1 (Primary category only): LL Bundle Primary2delete

  • bundle#2 (Primary and secondary categories): LL Bundle 2delete2

Output:

bundle#1(under Primary category only):

bundle#2(under Primary and secondary categories):

 

34

Delete a bundle and verify this is removed in Hawksearch

 

35

Fields to check: ID | Name | StartPublish | StopPublish | IndexedOn | ContentLink | ParentLink | ItemType | URL | Code | Category | CatalogId | DisplayName | Markets | Inventory_{WarehouseCode} | Price_{MarketId}_{Currency}

36

Package level information is sent to Hawksearch

Input/Test data:

  • package#1 (with variants): “LL Package 2Variants”

  • package#2 (with packages): “LL Package SingleMarket”

  • package#3 (with variants): “LL Package 2Delete2”

Output:

 

37

Update Parent of a package (kit) and verify the Category ID and Parent link is updated

Test data/Input

  • CatALevel1 (under catalog) - 1073741845

    • CatALevel2 - 1073741846

      • CatALevel3 - 1073741847

  • CatBLevel1 - 1073741848

    • CatBLevel2 - 1073741850

  • Initial Parent: CatALevel3

  • New Parent: CatBLevel2

 

38

Delete a package (kit)’s Primary category

Input(tip for testing: backup & restore DB):

  • package#1 (Primary category only): LL Package 2Delete3

  • package#2 (Primary and secondary categories): LL Package 2Delete5

Output:

package#1(under Primary category only):

package#2(under Primary and secondary categories):

 

39

Delete a package and verify it is removed from Hawksearch

 

40

41

Product published on multiple markets in Optimizely

Input:

  • all products have markets: Australia, Canada, Spain, UK, USA

    • Product#1 - LL JADE HIGH BOOT

    • Product#2 - TRINITY STRAPPY MID SANDAL

    • Product#3 - KARLIE TROUSER

Tests & Output:

 

42

Variant published on multiple markets in Optimizely

Tests & Output:

 

43

Bundle published on multiple markets in Optimizely

Input:

  • all bundles start with markets: Australia, Canada, Spain, UK, USA

    • Bundle#1 - LL Bundle 2delete2

    • Bundle#2 - LL Bundle 3Variants

    • Bundle#3 - LL Bundle 2Variants

Tests & Output:

 

44

Package (kit) published on multiple markets in Optimizely

Input:

  • all kits start with markets: Australia, Canada, Spain, UK, USA

    • package#1 - LL Package 2Variants

    • package#2 - LL Package 2Delete4

    • package#3 - LL Package SingleMarket

Tests & Output:

 

45

46

Multi-language for products - product level information is sent for each language

Input/Test data:

  • product: (published in both en & fr)

Tests & Output:

 

47

Multi-language for products

Input/test data:

  • languages: english, french (mapped with spanish in Hawksearch)

Tests & Output

 

48

Multi-language for variants - variant level information is sent for each language

Input/Test data:

  • product: LL SHEER CREPE PANT (published in both en & fr)

Tests & Output:

 

49

Multi-language for variants

Input/test data:

  • languages: english, french (mapped with spanish in Hawksearch)

Tests & Output

 

50

Multi-language bundles - bundle level information is sent for each language

Input/Test data:

  • bundle: (published in both en & fr)

Tests & Output:

 

51

Multi-language bundles

Input/Test data:

  • languages: English, French (mapped with Spanish in Hawksearch)

  • bundle#1:

  • bundle#2:

Tests & Output:

 

52

Multi-language packages - package level information is sent for each language

Input/Test data:

  • package:

Tests & Output:

 

53

Multi-language packages

Input/Test data:

  • languages: English, French (mapped with Spanish in Hawksearch)

    • package#1: “” (published only for en)

    • package#2: “” (published on both en & fr)

Tests & Output:

 

54

55

Package (kit) with price on single market

Input:

  • package#1 (Canada market) - LL Package Canada / Price_CAN_CAD / 150 CAD

  • package#2 (Spain market) - LL Package Spain / Price_ESP_EUR / 85 EUR

Tests & Output

 

56

Package (kit) with multi-currency prices

Input:

  • package#1 | package#2 - LL Package 2Variants | LL Package SingleMarket

  • 5 markets for each package

    • Australia / Price_AUS_AUD / A$110 | A$180

    • Canada / Price_CAN_CAD / CA$150 | CA$200

    • Spain / Price_ESP_EUR / 75EUR | 85EUR

    • UK / Price_UK_GBP / 90 | -

    • US / Price_US_USD / $130 |

Tests & Output

 

57

Variant with price on single market

Tests & Output

 

58

Variant with multi-currency prices

Input:

  • variant#1 | variant#2 -

  • 5 markets for each package

    • Australia / Price_AUS_AUD / A$110 | A$180

    • Canada / Price_CAN_CAD / CA$150 | CA$200

    • Spain / Price_ESP_EUR / 75EUR | 85EUR

    • UK / Price_UK_GBP / 90 | -

    • US / Price_US_USD / $130 |

Tests & Output

 

59

60

Package with inventory for single warehouse

Input:

  • package#1 (Canada market) - LL Package Canada (Inventory_Toronto : 455)

  • package#2 (Spain market) - LL Package Spain (Inventory_Madrid: 1250)

Tests & Output

61

Package with inventory in multiple warehouses

Input:

  • package#1 | package#2 - “LL Package SingleMarket” | “LL Package 2Variants”

  • 5 markets for each package

    • Australia / Inventory_Sydney / 35 | 202

    • Canada / Inventory_Toronto / 25 | 201

    • Spain / Inventory_Madrid / 30 | 203

    • UK / Inventory_London / - | 205

    • US / Inventory_Los Angeles / - | 204

Tests & Output

62

Variant with inventory for single warehouse

Tests & Output

63

Variant with inventory in multiple warehouses

Input:

  • 5 markets for each package

    • Australia / Inventory_Sydney / 35 | 202

    • Canada / Inventory_Toronto / 25 | 201

    • Spain / Inventory_Madrid / 30 | 203

    • UK / Inventory_London / - | 205

    • US / Inventory_Los Angeles / - | 204

Tests & Output

 Opti setup: “2 websites” variation

Scenario(s) + steps

Full Indexing Status

Incremental Indexing Status

Notes

1

Manual Scheduled Run

Manual/ Scheduled Run

2

Fields to check: SiteId | MetaTitle | Keywords | BackgroundImage | MainBody | Coordinates | Id | Name | StartPublish | StopPublish | IndexedOn | ContentLink | ParentLink | ItemType | Url |

3

CMS - Standard & Location Item page types are indexed

 

4

CMS - Other page types are NOT indexed

  • Create a Blog Item page & a Two Column Landing Page → run the indexing job → verify it is NOT available in Hawksearch

 

5

NO CMS - Catalog only setup

  • Verify that no CMS changes to Standard or Location Item page types (create, update, delete) are indexed

 

6

7

Verify that the Category structure for each Catalog is sent to Hawksearch

 

8

Edit the Category structure on Catalog A and verify it is updated in Hawksearch → The catalog structure in Site B is not affected

 

9

Products / Bundles / Packages/ Variants

 

 

 

10

Edit in Catalog A:

  • product, variant, bundle, package in one language → verify the changes are displayed in Hawksearch and Catalog B is not affected

  • Prices in different currencies → verify the changes are displayed in Hawksearch and Catalog B is not affected

Test Data/Input:

Product + variant: LUCIEN COTTON TWILL COAT

Package: LL Package 2Delete3

Bundle: LL Bundle Primary2delete

 

11

Delete categories from catalog B

Output:

  • Catalog A is not affected

  • the category is not available

  • the products under that category are not available

  • the variants under that category are not available

 

12

Move from Site A to Site B:

  • a category → verify the Catalog ID and ParentLink are updated

  • a product → verify the Catalog ID, Category and ParentLink are updated

  • a variant → verify the Catalog ID, Category and ParentLink are updated

  • a bundle → verify the Catalog ID, Category and ParentLink are updated

  • a package (kit) → verify the Catalog ID, Category and ParentLink are updated

 

13

Delete products/ variants/ bundles / packages in Catalog B

Test Data/Input:

Product + variant: LL JADE HIGH BOOT

Package: LL Package 2Delete5

Bundle: LL Bundle 2delete2

Output:

  • Catalog A is not affected

  • the category is not available

  • the products under that category are not available

  • the variants under that category are not available