Skip to content

Commit

Permalink
Merge pull request vercel#9 from BuilderIO/update-targeting
Browse files Browse the repository at this point in the history
Update targeting: remove locale and generalize announcements and upsell sections
  • Loading branch information
steve8708 committed Mar 29, 2021
2 parents 3e117af + 35175de commit 23814bd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"component": {
"name": "Text",
"options": {
"text": "<p>You picked loose sweaters</p>"
"text": "<p>Announcement bar section</p>"
}
},
"responsiveStyles": {
Expand Down Expand Up @@ -52,11 +52,6 @@
"name": "announcement for loose sweaters",
"published": "published",
"query": [
{
"operator": "is",
"property": "itemInCart",
"value": "loose-sweaters-women-2020-spring-autumn-bottoming-shirt-pullover-sweaters-winter-plus-size-4xl-knit-female-tops-outerwear-j85"
}
],
"testRatio": 1,
"variations": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"component": {
"name": "Text",
"options": {
"text": "<p>Fur purka is awesome, here's an extra 90% .. this is a targeted message from builder.io</p>"
"text": "<p>Target this message content based on items in cart in Builder.io</p>"
}
},
"responsiveStyles": {
Expand Down Expand Up @@ -49,13 +49,7 @@
"modelId": "fbabc299e090451b8d1b405297e3ee38",
"name": "fur purka upsell",
"published": "published",
"query": [
{
"operator": "is",
"property": "itemInCart",
"value": "leather-fur-parka-for-male-wear-in-winter-black-thick-fur-lined-raccon-fur-hoodies-mr-mrs-unisex-wear"
}
],
"query": [],
"testRatio": 1,
"variations": {},
"lastUpdated": 1613963041567,
Expand Down
5 changes: 0 additions & 5 deletions builder/page/homepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@
"operator": "is",
"property": "urlPath",
"value": "/"
},
{
"operator": "is",
"property": "locale",
"value": ["en-US", "es"]
}
],
"rev": "hzfyjvqy5b",
Expand Down
4 changes: 0 additions & 4 deletions builder/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
"collectionHandle": {
"type": "ShopifyCollectionHandle"
},
"locale": {
"type": "string",
"enum": ["en-US", "es"]
},
"productHandle": {
"type": "ShopifyProductHandle"
}
Expand Down

0 comments on commit 23814bd

Please sign in to comment.