Skip to content

Commit

Permalink
[SG] Add Camping Hammocks categories
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardotejedorsanz committed Oct 6, 2024
1 parent 255ca7c commit d19b28c
Show file tree
Hide file tree
Showing 9 changed files with 278 additions and 0 deletions.
14 changes: 14 additions & 0 deletions data/categories/sg_sporting_goods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6796,6 +6796,8 @@
- sg-4-2-16
- sg-4-2-17
- sg-4-2-18
- sg-4-2-19
- sg-4-2-20
attributes:
- color
- pattern
Expand Down Expand Up @@ -7377,6 +7379,18 @@
- color
- material
- pattern
- id: sg-4-2-19
name: Camping Hammock Accessories
children: []
attributes:
- color
- pattern
- id: sg-4-2-20
name: Camping Hammocks
children: []
attributes:
- color
- pattern
- id: sg-4-3
name: Climbing
children:
Expand Down
10 changes: 10 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 @@ -44412,6 +44412,16 @@ rules:
output:
product_category_id:
- '8079'
- input:
product_category_id: sg-4-2-19
output:
product_category_id:
- '6737'
- input:
product_category_id: sg-4-2-20
output:
product_category_id:
- '717'
- input:
product_category_id: sg-4-3
output:
Expand Down
6 changes: 6 additions & 0 deletions data/localizations/categories/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26816,6 +26816,12 @@ en:
sg-4-2-18:
name: Windbreaks
context: Sporting Goods > Outdoor Recreation > Camping & Hiking > Windbreaks
sg-4-2-19:
name: Camping Hammock Accessories
context: Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammock Accessories
sg-4-2-20:
name: Camping Hammocks
context: Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammocks
sg-4-3:
name: Climbing
context: Sporting Goods > Outdoor Recreation > Climbing
Expand Down
88 changes: 88 additions & 0 deletions dist/en/categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -507133,6 +507133,14 @@
"id": "gid://shopify/TaxonomyCategory/sg-4-2-2",
"name": "Camping Cookware & Dinnerware"
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-19",
"name": "Camping Hammock Accessories"
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-20",
"name": "Camping Hammocks"
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-3",
"name": "Camping Lights & Lanterns"
Expand Down Expand Up @@ -507873,6 +507881,86 @@
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-19",
"level": 3,
"name": "Camping Hammock Accessories",
"full_name": "Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammock Accessories",
"parent_id": "gid://shopify/TaxonomyCategory/sg-4-2",
"attributes": [
{
"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/sg-4-2",
"name": "Camping & Hiking"
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4",
"name": "Outdoor Recreation"
},
{
"id": "gid://shopify/TaxonomyCategory/sg",
"name": "Sporting Goods"
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-20",
"level": 3,
"name": "Camping Hammocks",
"full_name": "Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammocks",
"parent_id": "gid://shopify/TaxonomyCategory/sg-4-2",
"attributes": [
{
"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/sg-4-2",
"name": "Camping & Hiking"
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4",
"name": "Outdoor Recreation"
},
{
"id": "gid://shopify/TaxonomyCategory/sg",
"name": "Sporting Goods"
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-3",
"level": 3,
Expand Down
2 changes: 2 additions & 0 deletions dist/en/categories.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8918,6 +8918,8 @@ gid://shopify/TaxonomyCategory/sg-4-2-2-1 : Sporting Goods > Outdoor Recr
gid://shopify/TaxonomyCategory/sg-4-2-2-2 : Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Cookware & Dinnerware > Camping Plates
gid://shopify/TaxonomyCategory/sg-4-2-2-3 : Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Cookware & Dinnerware > Camping Pots
gid://shopify/TaxonomyCategory/sg-4-2-2-4 : Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Cookware & Dinnerware > Camping Utensils
gid://shopify/TaxonomyCategory/sg-4-2-19 : Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammock Accessories
gid://shopify/TaxonomyCategory/sg-4-2-20 : Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammocks
gid://shopify/TaxonomyCategory/sg-4-2-3 : Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Lights & Lanterns
gid://shopify/TaxonomyCategory/sg-4-2-4 : Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Tools
gid://shopify/TaxonomyCategory/sg-4-2-4-1 : Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Tools > Camping Clips
Expand Down
32 changes: 32 additions & 0 deletions dist/en/integrations/all_mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -142117,6 +142117,38 @@
]
}
},
{
"input": {
"category": {
"id": "gid://shopify/TaxonomyCategory/sg-4-2-19",
"full_name": "Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammock Accessories"
}
},
"output": {
"category": [
{
"id": "6737",
"full_name": "Home & Garden > Lawn & Garden > Outdoor Living > Hammock Parts & Accessories"
}
]
}
},
{
"input": {
"category": {
"id": "gid://shopify/TaxonomyCategory/sg-4-2-20",
"full_name": "Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammocks"
}
},
"output": {
"category": [
{
"id": "717",
"full_name": "Home & Garden > Lawn & Garden > Outdoor Living > Hammocks"
}
]
}
},
{
"input": {
"category": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142117,6 +142117,38 @@
]
}
},
{
"input": {
"category": {
"id": "gid://shopify/TaxonomyCategory/sg-4-2-19",
"full_name": "Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammock Accessories"
}
},
"output": {
"category": [
{
"id": "6737",
"full_name": "Home & Garden > Lawn & Garden > Outdoor Living > Hammock Parts & Accessories"
}
]
}
},
{
"input": {
"category": {
"id": "gid://shopify/TaxonomyCategory/sg-4-2-20",
"full_name": "Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammocks"
}
},
"output": {
"category": [
{
"id": "717",
"full_name": "Home & Garden > Lawn & Garden > Outdoor Living > Hammocks"
}
]
}
},
{
"input": {
"category": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26589,6 +26589,12 @@
→ Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Cookware & Dinnerware > Camping Utensils
⇒ Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Cookware & Dinnerware

→ Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammock Accessories
⇒ Home & Garden > Lawn & Garden > Outdoor Living > Hammock Parts & Accessories

→ Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammocks
⇒ Home & Garden > Lawn & Garden > Outdoor Living > Hammocks

→ Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Lights & Lanterns
⇒ Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Lights & Lanterns

Expand Down
88 changes: 88 additions & 0 deletions dist/en/taxonomy.json
Original file line number Diff line number Diff line change
Expand Up @@ -507133,6 +507133,14 @@
"id": "gid://shopify/TaxonomyCategory/sg-4-2-2",
"name": "Camping Cookware & Dinnerware"
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-19",
"name": "Camping Hammock Accessories"
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-20",
"name": "Camping Hammocks"
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-3",
"name": "Camping Lights & Lanterns"
Expand Down Expand Up @@ -507873,6 +507881,86 @@
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-19",
"level": 3,
"name": "Camping Hammock Accessories",
"full_name": "Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammock Accessories",
"parent_id": "gid://shopify/TaxonomyCategory/sg-4-2",
"attributes": [
{
"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/sg-4-2",
"name": "Camping & Hiking"
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4",
"name": "Outdoor Recreation"
},
{
"id": "gid://shopify/TaxonomyCategory/sg",
"name": "Sporting Goods"
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-20",
"level": 3,
"name": "Camping Hammocks",
"full_name": "Sporting Goods > Outdoor Recreation > Camping & Hiking > Camping Hammocks",
"parent_id": "gid://shopify/TaxonomyCategory/sg-4-2",
"attributes": [
{
"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/sg-4-2",
"name": "Camping & Hiking"
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4",
"name": "Outdoor Recreation"
},
{
"id": "gid://shopify/TaxonomyCategory/sg",
"name": "Sporting Goods"
}
]
},
{
"id": "gid://shopify/TaxonomyCategory/sg-4-2-3",
"level": 3,
Expand Down

0 comments on commit d19b28c

Please sign in to comment.