Skip to content

Commit

Permalink
Merge pull request #472 from Shopify/create-a-category-for-hand-cream
Browse files Browse the repository at this point in the history
[HB] Create a category for hand cream
  • Loading branch information
ornanatan authored Nov 28, 2024
2 parents cf5f921 + 51457b2 commit 5edb231
Show file tree
Hide file tree
Showing 9 changed files with 192 additions and 0 deletions.
10 changes: 10 additions & 0 deletions data/categories/hb_health_beauty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2057,6 +2057,7 @@
- hb-3-2-9-19
- hb-3-2-9-20
- hb-3-2-9-21
- hb-3-2-9-22
attributes:
- product_certifications_standards
- product_form
Expand Down Expand Up @@ -2348,6 +2349,15 @@
- serum_target_areas
- skin_care_effect
- suitable_for_skin_type
- id: hb-3-2-9-22
name: Hand Creams
children: []
attributes:
- active_ingredient
- dispenser_type
- product_form
- skin_care_effect
- suitable_for_skin_type
- id: hb-3-3
name: Cotton Balls
children: []
Expand Down
5 changes: 5 additions & 0 deletions data/integrations/google/2021-09-21/mappings/from_shopify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28867,6 +28867,11 @@ rules:
output:
product_category_id:
- '567'
- input:
product_category_id: hb-3-2-9-22
output:
product_category_id:
- '567'
- input:
product_category_id: hb-3-3
output:
Expand Down
3 changes: 3 additions & 0 deletions data/localizations/categories/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17321,6 +17321,9 @@ en:
hb-3-2-9-21:
name: Face Serums
context: Health & Beauty > Personal Care > Cosmetics > Skin Care > Face Serums
hb-3-2-9-22:
name: Hand Creams
context: Health & Beauty > Personal Care > Cosmetics > Skin Care > Hand Creams
hb-3-3:
name: Cotton Balls
context: Health & Beauty > Personal Care > Cotton Balls
Expand Down
69 changes: 69 additions & 0 deletions dist/en/categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -341830,6 +341830,10 @@
"id": "gid://shopify/TaxonomyCategory/hb-3-2-9-8",
"name": "Facial Pore Strips"
},
{
"id": "gid://shopify/TaxonomyCategory/hb-3-2-9-22",
"name": "Hand Creams"
},
{
"id": "gid://shopify/TaxonomyCategory/hb-3-2-9-9",
"name": "Lip Balms & Treatments"
Expand Down Expand Up @@ -342650,6 +342654,71 @@
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/hb-3-2-9-22",
"level": 4,
"name": "Hand Creams",
"full_name": "Health & Beauty > Personal Care > Cosmetics > Skin Care > Hand Creams",
"parent_id": "gid://shopify/TaxonomyCategory/hb-3-2-9",
"attributes": [
{
"id": "gid://shopify/TaxonomyAttribute/1598",
"name": "Active ingredient",
"handle": "active-ingredient",
"description": "Identifies primary substances in personal care items, e.g. vitamin A, retinol",
"extended": false
},
{
"id": "gid://shopify/TaxonomyAttribute/1384",
"name": "Dispenser type",
"handle": "dispenser-type",
"description": "Specifies the format for dispensing the product, typically in health and beauty; e.g. stick, jar",
"extended": false
},
{
"id": "gid://shopify/TaxonomyAttribute/1285",
"name": "Product form",
"handle": "product-form",
"description": "Defines the format or presentation of a product, typically for health and beauty; e.g. lotion, serum",
"extended": false
},
{
"id": "gid://shopify/TaxonomyAttribute/1617",
"name": "Skin care effect",
"handle": "skin-care-effect",
"description": "Defines the intended benefits of skin care products, e.g. anti-aging, plumping",
"extended": false
},
{
"id": "gid://shopify/TaxonomyAttribute/1559",
"name": "Suitable for skin type",
"handle": "suitable-for-skin-type",
"description": "Specifies products for specific skin conditions, such as dry, aging, or sensitive",
"extended": false
}
],
"children": [

],
"ancestors": [
{
"id": "gid://shopify/TaxonomyCategory/hb-3-2-9",
"name": "Skin Care"
},
{
"id": "gid://shopify/TaxonomyCategory/hb-3-2",
"name": "Cosmetics"
},
{
"id": "gid://shopify/TaxonomyCategory/hb-3",
"name": "Personal Care"
},
{
"id": "gid://shopify/TaxonomyCategory/hb",
"name": "Health & Beauty"
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/hb-3-2-9-9",
"level": 4,
Expand Down
1 change: 1 addition & 0 deletions dist/en/categories.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5758,6 +5758,7 @@ gid://shopify/TaxonomyCategory/hb-3-2-9-21 : Health & Beauty > Personal Ca
gid://shopify/TaxonomyCategory/hb-3-2-9-6 : Health & Beauty > Personal Care > Cosmetics > Skin Care > Facial Cleansers
gid://shopify/TaxonomyCategory/hb-3-2-9-7 : Health & Beauty > Personal Care > Cosmetics > Skin Care > Facial Cleansing Kits
gid://shopify/TaxonomyCategory/hb-3-2-9-8 : Health & Beauty > Personal Care > Cosmetics > Skin Care > Facial Pore Strips
gid://shopify/TaxonomyCategory/hb-3-2-9-22 : Health & Beauty > Personal Care > Cosmetics > Skin Care > Hand Creams
gid://shopify/TaxonomyCategory/hb-3-2-9-9 : Health & Beauty > Personal Care > Cosmetics > Skin Care > Lip Balms & Treatments
gid://shopify/TaxonomyCategory/hb-3-2-9-9-1 : Health & Beauty > Personal Care > Cosmetics > Skin Care > Lip Balms & Treatments > Lip Balms
gid://shopify/TaxonomyCategory/hb-3-2-9-9-2 : Health & Beauty > Personal Care > Cosmetics > Skin Care > Lip Balms & Treatments > Medicated Lip Treatments
Expand Down
16 changes: 16 additions & 0 deletions dist/en/integrations/all_mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -92373,6 +92373,22 @@
]
}
},
{
"input": {
"category": {
"id": "gid://shopify/TaxonomyCategory/hb-3-2-9-22",
"full_name": "Health & Beauty > Personal Care > Cosmetics > Skin Care > Hand Creams"
}
},
"output": {
"category": [
{
"id": "567",
"full_name": "Health & Beauty > Personal Care > Cosmetics > Skin Care"
}
]
}
},
{
"input": {
"category": {
Expand Down
Loading

0 comments on commit 5edb231

Please sign in to comment.