mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
feat: update item group website slider
This commit is contained in:
@@ -73,7 +73,10 @@ class ProductFiltersBuilder:
|
||||
|
||||
if selected_attributes:
|
||||
valid_attributes.append(
|
||||
_dict(item_attribute_values=selected_attributes)
|
||||
_dict(
|
||||
item_attribute_values=selected_attributes,
|
||||
name=attr_doc.name
|
||||
)
|
||||
)
|
||||
|
||||
return valid_attributes
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
class ProductQuery:
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
{%- endfor -%}
|
||||
</ol>
|
||||
{%- endif -%}
|
||||
<div id="{{ slider_name }}423243" class="carousel-inner">
|
||||
<div class="carousel-inner {{ resolve_class({'rounded-carousel': rounded }) }}">
|
||||
{%- for index in ['1', '2', '3', '4', '5'] -%}
|
||||
{%- set image = values['slide_' + index + '_image'] -%}
|
||||
{%- set title = values['slide_' + index + '_title'] -%}
|
||||
|
||||
Reference in New Issue
Block a user