    {% if product.id %} {% render 'aliexpress_reviews' %} {% endif %} <style> {% if block.settings.hide_areviews_title_rating %} .areviews_main_header_container{ display:none!important;} {% endif %} {% if block.settings.areviews_stars_colors != '#f3c621' %} #az_reviews .themes_container .main_container_review_stars i, #az_reviews  .box_rating_container_style2  .average_rating span:nth-child(1), .areviews_main_header_container .reviews_rating_title i, #az_reviews .areviews_back-stars i, #az_reviews  .main_review_stars i, #az_reviews .review_rate_section .areviews_rating_filter i{ color:  {{block.settings.areviews_stars_colors}} !important; } #az_reviews .review_rate_section .rating_number { border-color:{{block.settings.areviews_stars_colors}} !important; } #az_reviews .rating_section .box_rating_container_style2 .w3-blue,#az_reviews.az_reviews .review_rate_section .w3-blue, #az_reviews .rating_section .w3-hover-blue:hover , #az_reviews .review_rate_section .rating_number { background-color: {{block.settings.areviews_stars_colors}} !important; }{% endif %} {% if block.settings.areviews_stars_colors != '#f3c621'  and block.settings.areviews_stars_colors != blank %} #az_reviews.az_reviews .box_rating_container_style2 .write_review_container{ background:unset !important; } #az_reviews .write_review_button { background-color: {{block.settings.areviews_write_reviews_botton_color}} !important;} {% endif %} {% if block.settings.areviews_theme_font != 'inherit' %} #az_reviews.az_reviews { font-family: {{block.settings.areviews_theme_font}} !important; } {% endif %} </style> {% schema %} { "name": "Areviews Product Section", "presets": [{ "name": "Areviews Product Section" }],"settings":[ { "type": "header", "content": "Important Notice", "info": "This widget will only work in product pages for other pages such as home page check widgets page in our app" }, { "type": "header", "content": "Hide Sections & Info" }, { "type": "checkbox", "id": "hide_areviews_title_rating", "default": false, "label": "Hide Main Product Title Rating", "info": "Hide Reviews Rating that appears below product Main title." }, { "type": "header", "content": "Theme main Font", "info": "Add the correct font name that is installed in your theme, or write inherit to use theme default font" }, { "type": "text", "id": "areviews_theme_font", "default": "inherit", "label": "Font Name" }, { "type": "header", "content": "Theme Colors", "info": "You need to change the colors to take effect, the default colors will not show." }, { "type": "color", "id": "areviews_stars_colors", "label": "Main Theme Color", "default": "#f3c621" }, { "type": "color", "id": "areviews_write_reviews_botton_color", "label": "Write Reviews Botton Color", "default": "#373737" } ] } {%  endschema %}
