{
  "name": "woolentor/order-bump",
  "category": "woolentor-blocks",
  "title": "WL: Order Bump",
  "description": "Display order bump added from Module.",
  "keywords": [
    "woolentor",
    "offer",
    "order bump",
    "WooCommerce order bump",
    "WooCommerce checkout"
  ],
  "attributes": {
    "blockUniqId": {
      "type": "string",
      "default": ""
    },
    "areaPadding": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"
      }
    },
    "areaBGProperty": {
      "type": "object",
      "default": {
        "imageId": null,
        "imageUrl": "",
        "position": "",
        "attachment": "",
        "repeat": "",
        "size": ""
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}}"
      }
    },

    "selectedOrderBump": {
      "type": "string"
    },

    "titleColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-title{ color:{{titleColor}}; }"
      }
    },
    "titleTypography": {
      "type": "object",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-title"
      }
    },
    "titleSize": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-title{ font-size:{{titleSize}}; }"
      },
      "deprecated": true,
      "_comment": "legacy font size before titleTypography"
    },
    "titleMargin": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-title{ margin:{{titleMargin}}; }"
      }
    },

    "regularPriceColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .price del .woocommerce-Price-amount, body {{WOOLENTOR_WRAPPER}} div.product .woolentor-order-bump-content span.price{ color:{{regularPriceColor}}; }"
      }
    },
    "regularPriceTypography": {
      "type": "object",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .price del .woocommerce-Price-amount"
      }
    },
    "regularPriceSize": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .price del .woocommerce-Price-amount{ font-size:{{regularPriceSize}}; }"
      },
      "deprecated": true,
      "_comment": "legacy font size before regularPriceTypography"
    },
    "salePriceColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .woocommerce-Price-amount{ color:{{salePriceColor}}; }"
      }
    },
    "salePriceTypography": {
      "type": "object",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .woocommerce-Price-amount"
      }
    },
    "salePriceSize": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .woocommerce-Price-amount{ font-size:{{salePriceSize}}; }"
      },
      "deprecated": true,
      "_comment": "legacy font size before salePriceTypography"
    },
    "priceMargin": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price{ margin:{{priceMargin}}; }"
      }
    },

    "contentColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc,{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc p{ color:{{contentColor}}; }"
      }
    },
    "contentTypography": {
      "type": "object",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc,{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc p"
      }
    },
    "contentSize": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc{ font-size:{{contentSize}}; }"
      },
      "deprecated": true,
      "_comment": "legacy font size before contentTypography"
    },
    "contentMargin": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc{ margin:{{contentMargin}}; }"
      }
    },

    "imageBorder": {
      "type": "object",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .wl-image img"
      }
    },
    "imageBorderRadius": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .wl-image img{ border-radius:{{imageBorderRadius}}; }"
      }
    },
    "imageMargin": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .wl-image{ margin:{{imageMargin}}; }"
      }
    },

    "grabDealBgColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .woolentor-order-bump-action{ background-color:{{grabDealBgColor}}; }"
      }
    },
    "grabDealLabelColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-action .wl-checkbox-wrapper label{ color:{{grabDealLabelColor}}; }"
      }
    },
    "grabDealLabelTypography": {
      "type": "object",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-action .wl-checkbox-wrapper label"
      }
    },
    "grabDealLabelSize": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-action .wl-checkbox-wrapper label{ font-size:{{grabDealLabelSize}}; }"
      },
      "deprecated": true,
      "_comment": "legacy font size before grabDealLabelTypography"
    },
    "grabDealAreaPadding": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .woolentor-order-bump-action{ padding:{{grabDealAreaPadding}}; }"
      }
    }
  }
}
