Skip to content

Commit

Permalink
Merge pull request #344 from Shopify/Add-Medical-Face-Masks-category-…
Browse files Browse the repository at this point in the history
…in-Health-&-Beauty

[HB] Add Medical Face Masks category
  • Loading branch information
ricardotejedorsanz authored Oct 6, 2024
2 parents 7e92e7e + 52fdcf6 commit 255ca7c
Show file tree
Hide file tree
Showing 9 changed files with 146 additions and 0 deletions.
8 changes: 8 additions & 0 deletions data/categories/hb_health_beauty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
- hb-1-23
- hb-1-24
- hb-1-25
- hb-1-26
attributes: []
- id: hb-1-1
name: Acupuncture
Expand Down Expand Up @@ -1118,6 +1119,13 @@
attributes:
- dispenser_type
- product_form
- id: hb-1-26
name: Medical Face Masks
children: []
attributes:
- age_group
- color
- pattern
- id: hb-2
name: Jewelry Cleaning & Care
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 @@ -28127,6 +28127,11 @@ rules:
output:
product_category_id:
- '5923'
- input:
product_category_id: hb-1-26
output:
product_category_id:
- '491'
- input:
product_category_id: hb-2
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 @@ -16877,6 +16877,9 @@ en:
hb-1-25:
name: Surgical Lubricants
context: Health & Beauty > Health Care > Surgical Lubricants
hb-1-26:
name: Medical Face Masks
context: Health & Beauty > Health Care > Medical Face Masks
hb-2:
name: Jewelry Cleaning & Care
context: Health & Beauty > Jewelry Cleaning & Care
Expand Down
47 changes: 47 additions & 0 deletions dist/en/categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -326875,6 +326875,10 @@
"id": "gid://shopify/TaxonomyCategory/hb-1-13",
"name": "Medical Alarm Systems"
},
{
"id": "gid://shopify/TaxonomyCategory/hb-1-26",
"name": "Medical Face Masks"
},
{
"id": "gid://shopify/TaxonomyCategory/hb-1-14",
"name": "Medical Identification Tags & Jewelry"
Expand Down Expand Up @@ -331332,6 +331336,49 @@
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/hb-1-26",
"level": 2,
"name": "Medical Face Masks",
"full_name": "Health & Beauty > Health Care > Medical Face Masks",
"parent_id": "gid://shopify/TaxonomyCategory/hb-1",
"attributes": [
{
"id": "gid://shopify/TaxonomyAttribute/30",
"name": "Age group",
"handle": "age-group",
"description": "Defines the target age range for a product, such as adults or kids",
"extended": false
},
{
"id": "gid://shopify/TaxonomyAttribute/1",
"name": "Color",
"handle": "color",
"description": "Defines the primary color or pattern, such as blue or striped",
"extended": false
},
{
"id": "gid://shopify/TaxonomyAttribute/3",
"name": "Pattern",
"handle": "pattern",
"description": "Describes the design or motif of a product, such as floral or striped",
"extended": false
}
],
"children": [

],
"ancestors": [
{
"id": "gid://shopify/TaxonomyCategory/hb-1",
"name": "Health Care"
},
{
"id": "gid://shopify/TaxonomyCategory/hb",
"name": "Health & Beauty"
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/hb-1-14",
"level": 2,
Expand Down
1 change: 1 addition & 0 deletions dist/en/categories.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5570,6 +5570,7 @@ gid://shopify/TaxonomyCategory/hb-1-11-7 : Health & Beauty > Health Care
gid://shopify/TaxonomyCategory/hb-1-11-8 : Health & Beauty > Health Care > Incontinence Aids > Incontinence Pads
gid://shopify/TaxonomyCategory/hb-1-12 : Health & Beauty > Health Care > Light Therapy Lamps
gid://shopify/TaxonomyCategory/hb-1-13 : Health & Beauty > Health Care > Medical Alarm Systems
gid://shopify/TaxonomyCategory/hb-1-26 : Health & Beauty > Health Care > Medical Face Masks
gid://shopify/TaxonomyCategory/hb-1-14 : Health & Beauty > Health Care > Medical Identification Tags & Jewelry
gid://shopify/TaxonomyCategory/hb-1-15 : Health & Beauty > Health Care > Medical Tests
gid://shopify/TaxonomyCategory/hb-1-15-1 : Health & Beauty > Health Care > Medical Tests > Allergy Test Kits
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 @@ -90005,6 +90005,22 @@
]
}
},
{
"input": {
"category": {
"id": "gid://shopify/TaxonomyCategory/hb-1-26",
"full_name": "Health & Beauty > Health Care > Medical Face Masks"
}
},
"output": {
"category": [
{
"id": "491",
"full_name": "Health & Beauty > Health Care"
}
]
}
},
{
"input": {
"category": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90005,6 +90005,22 @@
]
}
},
{
"input": {
"category": {
"id": "gid://shopify/TaxonomyCategory/hb-1-26",
"full_name": "Health & Beauty > Health Care > Medical Face Masks"
}
},
"output": {
"category": [
{
"id": "491",
"full_name": "Health & Beauty > Health Care"
}
]
}
},
{
"input": {
"category": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16710,6 +16710,9 @@
→ Health & Beauty > Health Care > Medical Alarm Systems
⇒ Health & Beauty > Health Care > Medical Alarm Systems

→ Health & Beauty > Health Care > Medical Face Masks
⇒ Health & Beauty > Health Care

→ Health & Beauty > Health Care > Medical Identification Tags & Jewelry
⇒ Health & Beauty > Health Care > Medical Identification Tags & Jewelry

Expand Down
47 changes: 47 additions & 0 deletions dist/en/taxonomy.json
Original file line number Diff line number Diff line change
Expand Up @@ -326875,6 +326875,10 @@
"id": "gid://shopify/TaxonomyCategory/hb-1-13",
"name": "Medical Alarm Systems"
},
{
"id": "gid://shopify/TaxonomyCategory/hb-1-26",
"name": "Medical Face Masks"
},
{
"id": "gid://shopify/TaxonomyCategory/hb-1-14",
"name": "Medical Identification Tags & Jewelry"
Expand Down Expand Up @@ -331332,6 +331336,49 @@
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/hb-1-26",
"level": 2,
"name": "Medical Face Masks",
"full_name": "Health & Beauty > Health Care > Medical Face Masks",
"parent_id": "gid://shopify/TaxonomyCategory/hb-1",
"attributes": [
{
"id": "gid://shopify/TaxonomyAttribute/30",
"name": "Age group",
"handle": "age-group",
"description": "Defines the target age range for a product, such as adults or kids",
"extended": false
},
{
"id": "gid://shopify/TaxonomyAttribute/1",
"name": "Color",
"handle": "color",
"description": "Defines the primary color or pattern, such as blue or striped",
"extended": false
},
{
"id": "gid://shopify/TaxonomyAttribute/3",
"name": "Pattern",
"handle": "pattern",
"description": "Describes the design or motif of a product, such as floral or striped",
"extended": false
}
],
"children": [

],
"ancestors": [
{
"id": "gid://shopify/TaxonomyCategory/hb-1",
"name": "Health Care"
},
{
"id": "gid://shopify/TaxonomyCategory/hb",
"name": "Health & Beauty"
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/hb-1-14",
"level": 2,
Expand Down

0 comments on commit 255ca7c

Please sign in to comment.