{
  "_comment": "!!! THIS IS AN AUTOMATICALLY GENERATED FILE - DO NOT EDIT !!!",
  "name": "divi/woocommerce-product-rating",
  "d4Shortcode": "et_pb_wc_rating",
  "moduleClassName": "et_pb_wc_rating",
  "moduleOrderClassName": "et_pb_wc_rating",
  "title": "Woo Product Rating",
  "titles": "Woo Product Rating",
  "moduleIcon": "divi/module-woocommerce-product-rating",
  "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": {},
          "loop": {},
          "text": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designText",
              "priority": 90,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/text",
                "props": {
                  "grouped": false,
                  "fields": {
                    "textShadowGroup": {
                      "render": false
                    },
                    "color": {
                      "render": false
                    },
                    "orientation": {
                      "render": true
                    }
                  }
                }
              }
            }
          }
        },
        "decoration": {
          "animation": {},
          "attributes": {},
          "background": {},
          "border": {},
          "boxShadow": {},
          "conditions": {},
          "disabledOn": {},
          "filters": {},
          "interactions": {},
          "overflow": {},
          "order": {},
          "position": {},
          "scroll": {},
          "sizing": {},
          "spacing": {},
          "sticky": {},
          "transform": {},
          "transition": {},
          "zIndex": {}
        },
        "meta": {
          "meta": {}
        }
      },
      "styleProps": {
        "spacing": {
          "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"
              }
            }
          }
        }
      }
    },
    "body": {
      "type": "object",
      "settings": {
        "decoration": {
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designText",
              "priority": 10,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/font",
                "props": {
                  "grouped": false,
                  "groupLabel": "Text",
                  "fieldLabel": "Text",
                  "fields": {
                    "textAlign": {
                      "render": false
                    }
                  }
                }
              }
            }
          }
        }
      },
      "styleProps": {
        "font": {
          "selector": "{{selector}} a.woocommerce-review-link"
        }
      }
    },
    "elements": {
      "type": "object",
      "settings": {
        "advanced": {
          "showRating": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentElements",
              "attrName": "elements.advanced.showRating",
              "label": "Show Star Rating",
              "description": "Here you can choose whether the star rating should be added.",
              "category": "configuration",
              "priority": 10,
              "render": true,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          },
          "showReviewsLink": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentElements",
              "attrName": "elements.advanced.showReviewsLink",
              "label": "Show Customer Reviews Count",
              "description": "Here you can choose whether the custom reviews link should be added.",
              "category": "configuration",
              "priority": 10,
              "render": true,
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          }
        }
      }
    },
    "layout": {
      "type": "object",
      "settings": {
        "advanced": {
          "layout": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designLayout",
              "attrName": "layout.advanced.layout",
              "label": "Rating Layout",
              "description": "Here you can choose where to place the reviews link.",
              "category": "layout",
              "priority": 10,
              "render": true,
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "stacked": {
                      "label": "Stacked"
                    },
                    "inline": {
                      "label": "Inline"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "rating": {
      "type": "object",
      "settings": {
        "decoration": {
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designStarRating",
              "priority": 10,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/font",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Star Rating",
                  "groupLabel": "Star Rating",
                  "fields": {
                    "family": {
                      "render": false
                    },
                    "weight": {
                      "render": false
                    },
                    "style": {
                      "render": false
                    },
                    "lineHeight": {
                      "render": false
                    },
                    "textShadowGroup": {
                      "render": false
                    }
                  }
                }
              }
            }
          }
        }
      },
      "styleProps": {
        "font": {
          "selector": "{{selector}} .woocommerce-product-rating .star-rating",
          "propertySelectors": {
            "font": {
              "desktop": {
                "value": {
                  "color": "{{selector}} .woocommerce-product-rating .star-rating > span:before",
                  "text-align": "{{selector}} .woocommerce-product-rating"
                }
              }
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "text": {
      "label": "Text",
      "subName": "text",
      "selectorSuffix": " a.woocommerce-review-link"
    },
    "starRatingText": {
      "label": "Star Rating",
      "subName": "starRatingText",
      "selectorSuffix": " .woocommerce-product-rating .star-rating"
    }
  },
  "settings": {
    "content": "auto",
    "design": "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"
          }
        }
      },
      "designLayout": {
        "panel": "design",
        "priority": 10,
        "groupName": "designLayout",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Layout"
          }
        }
      },
      "designStarRating": {
        "panel": "design",
        "priority": 20,
        "groupName": "designStarRating",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Star Rating"
          }
        }
      },
      "designText": {
        "panel": "design",
        "priority": 30,
        "groupName": "designText",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Text",
            "presetGroup": "divi/font",
            "dynamicSubgroupHost": true
          }
        }
      }
    }
  }
}