{
  "_comment": "!!! THIS IS AN AUTOMATICALLY GENERATED FILE - DO NOT EDIT !!!",
  "name": "divi/woocommerce-product-add-to-cart",
  "d4Shortcode": "et_pb_wc_add_to_cart",
  "moduleClassName": "et_pb_wc_add_to_cart",
  "moduleOrderClassName": "et_pb_wc_add_to_cart",
  "title": "Woo Product Add To Cart",
  "titles": "Woo Product Add To Cart",
  "moduleIcon": "divi/module-woocommerce-product-add-to-cart",
  "folder": "woo-modules",
  "category": "module",
  "videos": [
    {
      "id": "7X03vBPYJ1o",
      "name": "Divi WooCommerce Modules"
    },
    {
      "id": "1iqjhnHVA9Y",
      "name": "Design Settings and Advanced Module Settings"
    },
    {
      "id": "boNZZ0MYU0E",
      "name": "Saving and loading from the library"
    }
  ],
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "settings": {
        "advanced": {
          "html": {},
          "link": {},
          "text": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designText",
              "priority": 10,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/text",
                "props": {
                  "grouped": false,
                  "fields": {
                    "color": {
                      "render": false
                    }
                  }
                }
              }
            }
          }
        },
        "decoration": {
          "animation": {},
          "attributes": {},
          "background": {},
          "border": {},
          "boxShadow": {},
          "conditions": {},
          "disabledOn": {},
          "filters": {},
          "interactions": {},
          "overflow": {},
          "order": {},
          "position": {},
          "scroll": {},
          "sizing": {},
          "spacing": {},
          "sticky": {},
          "transform": {},
          "transition": {},
          "zIndex": {}
        },
        "meta": {
          "meta": {}
        }
      },
      "styleProps": {
        "text": {
          "selector": "{{selector}} td.label",
          "selectors": {
            "desktop": {
              "value": "{{selector}} td.label"
            }
          },
          "propertySelectors": {
            "desktop": {
              "value": {
                "text-align": "{{selector}} td.label"
              }
            }
          }
        },
        "textShadow": {
          "selector": "{{selector}} td.label"
        },
        "background": {
          "selector": "{{selector}}",
          "important": true
        },
        "spacing": {
          "selector": "{{selector}}",
          "important": true
        }
      }
    },
    "content": {
      "type": "object",
      "settings": {
        "advanced": {
          "product": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentMainContent",
              "attrName": "content.advanced.product",
              "label": "Product",
              "description": "Here you can select the Product.",
              "priority": 10,
              "render": true,
              "features": {
                "responsive": false,
                "hover": false,
                "sticky": false,
                "preset": "content"
              },
              "component": {
                "type": "field"
              }
            }
          }
        }
      }
    },
    "button": {
      "type": "object",
      "elementType": "button",
      "settings": {
        "decoration": {
          "button": {
            "groupType": "group-items",
            "items": {
              "button": {
                "groupSlug": "designButton",
                "priority": 10,
                "render": true,
                "component": {
                  "type": "group",
                  "name": "divi/button",
                  "props": {
                    "grouped": false,
                    "fieldLabel": "Button",
                    "attrName": "button",
                    "dynamicSubgroupHost": true,
                    "fields": {
                      "backgroundGroup": {
                        "component": {
                          "props": {
                            "hidePanels": [
                              "mask",
                              "pattern",
                              "video"
                            ]
                          }
                        }
                      },
                      "fontGroup": {
                        "component": {
                          "props": {
                            "fields": {
                              "lineHeight": {
                                "render": false
                              },
                              "textAlign": {
                                "render": false
                              }
                            }
                          }
                        }
                      },
                      "borderGroup": {
                        "component": {
                          "props": {
                            "fields": {
                              "styles": {
                                "render": false
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "styleProps": {
        "selector": "body #page-container {{selector}} .button",
        "background": {
          "selector": "{{selector}} .button",
          "important": true
        },
        "border": {
          "selector": "{{selector}} .button",
          "important": true
        },
        "boxShadow": {
          "selector": "{{selector}} .button",
          "important": true
        },
        "font": {
          "selector": "{{selector}} .button",
          "important": true
        },
        "spacing": {
          "selector": "{{selector}} .button",
          "important": true
        },
        "alignment": {
          "selector": "{{selector}} .et_pb_module_inner > form"
        }
      }
    },
    "dropdownMenus": {
      "type": "object",
      "elementType": "field",
      "selector": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select",
      "settings": {
        "advanced": {},
        "decoration": {}
      },
      "styleProps": {
        "background": {
          "selector": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select",
          "selectors": {
            "desktop": {
              "value": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select",
              "hover": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select:hover"
            }
          }
        },
        "border": {
          "propertySelectors": {
            "desktop": {
              "value": {
                "border-radius": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select",
                "border-style": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select"
              }
            }
          },
          "important": true
        },
        "boxShadow": {
          "selector": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select"
        },
        "font": {
          "selector": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select",
          "selectors": {
            "desktop": {
              "value": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select",
              "hover": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select:hover"
            }
          },
          "important": true
        },
        "focus": {
          "selector": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select:focus",
          "selectors": {
            "desktop": {
              "value": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select:focus"
            }
          }
        },
        "focusBackground": {
          "selector": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select:focus",
          "selectors": {
            "desktop": {
              "value": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select:focus"
            }
          }
        },
        "focusFont": {
          "selector": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select option:focus, {{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select + label",
          "selectors": {
            "desktop": {
              "value": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select option:focus, {{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select + label",
              "hover": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select + label:hover, {{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select:hover"
            }
          }
        },
        "focusBorder": {
          "propertySelectors": {
            "desktop": {
              "value": {
                "border-radius": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select:focus",
                "border-style": "{{selector}}.et_pb_module .et_pb_module_inner form.cart .variations td select:focus"
              }
            }
          },
          "important": true
        },
        "spacing": {
          "important": true,
          "selector": "{{selector}} select"
        }
      }
    },
    "elements": {
      "type": "object",
      "settings": {
        "advanced": {
          "showQuantity": {
            "groupType": "group-item",
            "item": {
              "priority": 10,
              "render": true,
              "groupSlug": "contentElements",
              "attrName": "elements.advanced.showQuantity",
              "label": "Show Quantity Field",
              "description": "Here you can choose whether the quantity field should be added before the Add to Cart button.",
              "category": "configuration",
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          },
          "showStock": {
            "groupType": "group-item",
            "item": {
              "priority": 10,
              "render": true,
              "groupSlug": "contentElements",
              "attrName": "elements.advanced.showStock",
              "label": "Show Stock",
              "description": "Here you can choose whether the stock (displayed when product inventory is managed) should be visible or not.",
              "category": "configuration",
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          }
        }
      }
    },
    "field": {
      "type": "object",
      "elementType": "field",
      "selector": "{{selector}} input, {{selector}} .quantity input.qty",
      "settings": {
        "advanced": {},
        "decoration": {}
      },
      "styleProps": {
        "background": {
          "selector": "{{selector}} input, {{selector}} .quantity input.qty",
          "selectors": {
            "desktop": {
              "value": "{{selector}} input, {{selector}} .quantity input.qty",
              "hover": "{{selector}} input:hover, {{selector}} .quantity input.qty:hover"
            }
          }
        },
        "border": {
          "important": true
        },
        "boxShadow": {
          "selector": "{{selector}} input"
        },
        "font": {
          "important": true
        },
        "spacing": {
          "important": true
        },
        "focus": {
          "selector": "{{selector}} input:focus, {{selector}} select:focus, {{selector}} .quantity input.qty:focus",
          "selectors": {
            "desktop": {
              "value": "{{selector}} input:focus, {{selector}} select:focus, {{selector}} .quantity input.qty:focus"
            }
          }
        },
        "focusBorder": {
          "propertySelectors": {
            "desktop": {
              "value": {
                "border-radius": "{{selector}} input:focus, {{selector}} .quantity input.qty:focus",
                "border-style": "{{selector}} input:focus, {{selector}} .quantity input.qty:focus"
              }
            }
          },
          "important": true
        },
        "placeholder": {
          "selector": "{{selector}} input:focus::-webkit-input-placeholder, {{selector}} input:focus::-moz-placeholder, {{selector}} input:focus:-ms-input-placeholder, {{selector}} textarea:focus::-webkit-input-placeholder, {{selector}} textarea:focus::-moz-placeholder, {{selector}} textarea:focus:-ms-input-placeholder"
        }
      }
    },
    "fieldLabels": {
      "type": "object",
      "settings": {
        "advanced": {
          "fieldLabelPosition": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designFieldLabel",
              "attrName": "fieldLabels.advanced.fieldLabelPosition",
              "label": "Fields Label Position",
              "description": "Set the position of the field labels.",
              "category": "configuration",
              "priority": 10,
              "render": true,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "inline": {
                      "label": "Inline"
                    },
                    "stacked": {
                      "label": "Stacked"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "fields": {
      "label": "Fields",
      "subName": "fields",
      "selectorSuffix": " input"
    },
    "dropdownMenus": {
      "label": "Dropdown Menus",
      "subName": "dropdownMenus",
      "selectorSuffix": " select"
    },
    "buttons": {
      "label": "Buttons",
      "subName": "buttons",
      "selectorSuffix": " .button"
    }
  },
  "settings": {
    "content": "auto",
    "advanced": "auto",
    "groups": {
      "contentMainContent": {
        "panel": "content",
        "priority": 10,
        "groupName": "contentMainContent",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Content"
          }
        }
      },
      "contentElements": {
        "panel": "content",
        "priority": 20,
        "groupName": "contentElements",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Elements",
            "preset": "content"
          }
        }
      },
      "designFieldLabel": {
        "panel": "design",
        "priority": 10,
        "groupName": "designFieldLabel",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Field Labels"
          }
        }
      },
      "designText": {
        "panel": "design",
        "priority": 20,
        "groupName": "designText",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Text",
            "presetGroup": "divi/text"
          }
        }
      },
      "designFieldField": {
        "panel": "design",
        "priority": 30,
        "groupName": "field",
        "multiElements": true,
        "component": {
          "name": "divi/form-field",
          "props": {
            "groupLabel": "Fields",
            "clipboardCategory": "style",
            "attrName": "field",
            "dynamicSubgroupHost": true
          }
        }
      },
      "designDropdownMenus": {
        "panel": "design",
        "priority": 40,
        "groupName": "dropdownMenus",
        "component": {
          "name": "divi/form-field",
          "props": {
            "groupLabel": "Dropdown Menus",
            "attrName": "dropdownMenus",
            "dynamicSubgroupHost": true,
            "supportsPresets": false
          }
        }
      },
      "designButton": {
        "panel": "design",
        "priority": 50,
        "groupName": "button",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Button",
            "presetGroup": "divi/button",
            "dynamicSubgroupHost": true
          }
        }
      }
    }
  }
}