{
  "name": "woolentor/product-tab",
  "category": "woolentor-blocks",
  "title": "WL: Product Tab",
  "description": "Display product tab or product slider.",
  "keywords": [
    "woolentor",
    "product tab",
    "woocommerce product",
    "slider",
    "showcase"
  ],
  "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}}"
      }
    },
    "style": {
      "type": "string",
      "default": "1"
    },
    "columns": {
      "type": "object",
      "default": {
        "desktop": 4
      }
    },
    "rows": {
      "type": "number",
      "default": 1
    },
    "productTab": {
      "type": "boolean",
      "default": false
    },
    "slider": {
      "type": "boolean",
      "default": false
    },
    "productFilterType": {
      "type": "string",
      "default": "recent"
    },
    "perPage": {
      "type": "number",
      "default": 4
    },
    "customOrder": {
      "type": "boolean",
      "default": false
    },
    "orderBy": {
      "type": "string",
      "default": "none"
    },
    "order": {
      "type": "string",
      "default": "DESC"
    },
    "selectedCategories": {
      "type": "array",
      "default": []
    },
    "slitems": {
      "type": "number",
      "default": 4
    },
    "slarrows": {
      "type": "boolean",
      "default": true
    },
    "sldots": {
      "type": "boolean",
      "default": false
    },
    "slpauseOnHover": {
      "type": "boolean",
      "default": true
    },
    "slautolay": {
      "type": "boolean",
      "default": false
    },
    "slautoplaySpeed": {
      "type": "number",
      "default": 3000
    },
    "slanimationSpeed": {
      "type": "number",
      "default": 300
    },
    "slscrollItem": {
      "type": "number",
      "default": 3
    },
    "sltabletDisplayColumns": {
      "type": "number",
      "default": 2
    },
    "sltabletScrollColumns": {
      "type": "number",
      "default": 2
    },
    "sltabletWidth": {
      "type": "number",
      "default": 750
    },
    "slMobileDisplayColumns": {
      "type": "number",
      "default": 1
    },
    "slMobileScrollColumns": {
      "type": "number",
      "default": 1
    },
    "slMobileWidth": {
      "type": "number",
      "default": 480
    },
    "titleColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a{ color: {{titleColor}}; }"
      }
    },
    "titleHoverColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a:hover{ color: {{titleHoverColor}}; }"
      }
    },
    "titleTypography": {
      "type": "object",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title"
      }
    },
    "titleSize": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title{ font-size: {{titleSize}}; }"
      },
      "deprecated": true,
      "_comment": "legacy font size before titleTypography"
    },
    "titleAlign": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title{ text-align: {{titleAlign}}; }"
      }
    },
    "titlePadding": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title{ padding: {{titlePadding}}; }"
      }
    },
    "titleMargin": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title{ margin: {{titleMargin}}; }"
      }
    },
    "priceColor": {
      "type": "string",
      "selector": ".product-item .product-inner .content .price",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price,{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price .amount{ color: {{priceColor}}; }"
      }
    },
    "priceTypography": {
      "type": "object",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price, {{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price .amount"
      }
    },
    "priceSize": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price,{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price .amount{ font-size: {{priceSize}}; }"
      },
      "deprecated": true,
      "_comment": "legacy font size before priceTypography"
    },
    "pricePadding": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price{ padding: {{pricePadding}}; }"
      }
    },
    "priceMargin": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price{ margin: {{priceMargin}}; }"
      }
    },
    "actionBtnColor": {
      "type": "string",
      "selector": ".product-item .actions a",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .actions a,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button,{{WOOLENTOR_WRAPPER}} .product-item .actions a::before{ color: {{actionBtnColor}}; }"
      }
    },
    "actionBtnBgColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .actions{ background-color: {{actionBtnBgColor}}; }"
      }
    },
    "actionBtnHoverColor": {
      "type": "string",
      "selector": ".product-item .actions a:hover",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button:hover,{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover::before{ color: {{actionBtnHoverColor}}; }"
      }
    },
    "actionBtnHoverBgColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .actions:hover{ background-color: {{actionBtnHoverBgColor}}; }"
      }
    },
    "actionBtnBorderRadius": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .actions{ border-radius: {{actionBtnBorderRadius}}; }"
      }
    },
    "actionButtonPadding": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .actions{ padding: {{actionButtonPadding}}; }"
      }
    },
    "contentAlign": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content{ text-align: {{contentAlign}}; }"
      }
    },
    "contentPadding": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content{ padding: {{contentPadding}}; }"
      }
    },
    "contentMargin": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content{ margin: {{contentMargin}}; }"
      }
    },
    "badgeColor": {
      "type": "string",
      "style": {
        "selector": ".woocommerce {{WOOLENTOR_WRAPPER}} .product-item .product-inner span.onsale{ color: {{badgeColor}}; }"
      }
    },
    "badgeBGColor": {
      "type": "string",
      "style": {
        "selector": ".woocommerce {{WOOLENTOR_WRAPPER}} .product-item .product-inner span.onsale{ background-color: {{badgeBGColor}}; }"
      }
    },
    "badgeTypography": {
      "type": "object",
      "style": {
        "selector": ".woocommerce {{WOOLENTOR_WRAPPER}} .product-item .product-inner span.onsale"
      }
    },
    "badgeSize": {
      "type": "string",
      "style": {
        "selector": ".woocommerce {{WOOLENTOR_WRAPPER}} .product-item .product-inner span.onsale{ font-size: {{badgeSize}}; }"
      },
      "deprecated": true,
      "_comment": "legacy font size before badgeTypography"
    },
    "badgePadding": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": ".woocommerce {{WOOLENTOR_WRAPPER}} .product-item .product-inner span.onsale{ padding: {{badgePadding}}; }"
      }
    },
    "badgeBorderRadius": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": ".woocommerce {{WOOLENTOR_WRAPPER}} .product-item .product-inner span.onsale{ border-radius: {{badgeBorderRadius}}; }"
      }
    },
    "badgeMinWidth": {
      "type": "number",
      "style": {
        "selector": ".woocommerce {{WOOLENTOR_WRAPPER}} .product-item .product-inner span.onsale{ min-width: {{badgeMinWidth}}px; }"
      }
    },
    "badgeMinHeight": {
      "type": "number",
      "style": {
        "selector": ".woocommerce {{WOOLENTOR_WRAPPER}} .product-item .product-inner span.onsale{ min-height: {{badgeMinHeight}}px; line-height:{{badgeMinHeight}}px; }"
      }
    },
    "badgeFromTopPos": {
      "type": "number",
      "style": {
        "selector": ".woocommerce {{WOOLENTOR_WRAPPER}} .product-item .product-inner span.onsale{ top: {{badgeFromTopPos}}px; }"
      }
    },
    "badgeFromLeftPos": {
      "type": "number",
      "style": {
        "selector": ".woocommerce {{WOOLENTOR_WRAPPER}} .product-item .product-inner span.onsale{ left: {{badgeFromLeftPos}}px; }"
      }
    },
    "tabMenuAlignment": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .product-tab-list.ht-text-center{ text-align: {{tabMenuAlignment}}; }"
      }
    },
    "tabMenuColor": {
      "type": "string",
      "style": {
        "dependency": [
          [
            {
              "key": "productTab",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a{ color: {{tabMenuColor}}; }"
      }
    },
    "tabMenuBGColor": {
      "type": "string",
      "style": {
        "dependency": [
          [
            {
              "key": "productTab",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a{ background-color: {{tabMenuBGColor}}; }"
      }
    },
    "tabMenuBorder": {
      "type": "object",
      "style": {
        "dependency": [
          [
            {
              "key": "productTab",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a"
      }
    },
    "tabMenuBorderRadius": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "dependency": [
          [
            {
              "key": "productTab",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a{ border-radius: {{tabMenuBorderRadius}}; }"
      }
    },
    "tabMenuActiveColor": {
      "type": "string",
      "style": {
        "dependency": [
          [
            {
              "key": "productTab",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive{ color: {{tabMenuActiveColor}}; }"
      }
    },
    "tabMenuActiveBGColor": {
      "type": "string",
      "style": {
        "dependency": [
          [
            {
              "key": "productTab",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive{ background-color: {{tabMenuActiveBGColor}}; }"
      }
    },
    "tabMenuActiveBorder": {
      "type": "object",
      "style": {
        "dependency": [
          [
            {
              "key": "productTab",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive"
      }
    },
    "navigationColor": {
      "type": "string",
      "default": "",
      "style": {
        "dependency": [
          [
            {
              "key": "slider",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"
      }
    },
    "navigationBGColor": {
      "type": "string",
      "default": "",
      "style": {
        "dependency": [
          [
            {
              "key": "slider",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"
      }
    },
    "navigationBorder": {
      "type": "object",
      "style": {
        "dependency": [
          [
            {
              "key": "slider",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"
      }
    },
    "navigationHoverColor": {
      "type": "string",
      "default": "",
      "style": {
        "dependency": [
          [
            {
              "key": "slider",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"
      }
    },
    "navigationHoverBGColor": {
      "type": "string",
      "default": "",
      "style": {
        "dependency": [
          [
            {
              "key": "slider",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"
      }
    },
    "navigationHoverBorder": {
      "type": "object",
      "style": {
        "dependency": [
          [
            {
              "key": "slider",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"
      }
    },
    "paginationPosition": {
      "type": "number",
      "default": 0,
      "style": {
        "dependency": [
          [
            {
              "key": "slider",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"
      }
    },
    "paginationColor": {
      "type": "string",
      "default": "",
      "style": {
        "dependency": [
          [
            {
              "key": "slider",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"
      }
    },
    "paginationBorder": {
      "type": "object",
      "style": {
        "dependency": [
          [
            {
              "key": "slider",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"
      }
    },
    "paginationActiveColor": {
      "type": "string",
      "default": "",
      "style": {
        "dependency": [
          [
            {
              "key": "slider",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"
      }
    },
    "paginationActiveBorder": {
      "type": "object",
      "style": {
        "dependency": [
          [
            {
              "key": "slider",
              "condition": "==",
              "value": true
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"
      }
    }
  }
}