Skip to content

Instantly share code, notes, and snippets.

@bekarice
Forked from deivamagalhaes/messages.json
Last active July 9, 2020 18:33
Show Gist options
  • Save bekarice/9c9e2dc915761e3d0f4436778c867620 to your computer and use it in GitHub Desktop.
Save bekarice/9c9e2dc915761e3d0f4436778c867620 to your computer and use it in GitHub Desktop.
SkyVerge Messages Sample
[
{
"id": "first-test-message", // required
"datePublished": "2020-07-07", // required,
"expirationDate": "2020-08-01", // optional
"subject": "Hey!", // required
"body": "This is a message from the cool folks at SkyVerge", // required
"ctaButton": "View plugin", // optional
"ctaHref": "https://woocommerce.com/product/plugin-slug", // required only if ctaButton included
"visibility": { // all optional
"activePlugins": [ // show if ANY of these plugins
"woocommerce-bookings",
"woocommerce-shipping-local-pickup-plus"
],
"excludePlugins": [ // don't show if ANY of these plugins
"woocommerce-twilio-sms-notifications"
],
"activeThemes": [
"Storefront",
"Twenty Nineteen"
],
"siteLanguage": [
"en_US",
"en_CA"
],
"storeLocation": [
"US",
"CA"
],
"storeCurrency": [
"USD",
"CAD"
],
"revenue": {
"min": 20000,
"max": 50000
},
"wpVersion": {
"min": "5.4.1",
"max": "5.4.2"
},
"wcVersion": {
"min": "3.0.9",
"max": "3.2"
},
"shopPageAge": {
"min": 1,
"max": 365
},
"userCount": {
"min": 100,
"max": 200
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment