fix(website): Remove references to Product Settings.products_a… (#18451)
This was accidentally added back in 34c551d9a5 (diff-f0a387cdb305471e74e523ecc4e646ac)
This commit is contained in:
parent
85d88395ba
commit
06c7a7e660
@ -69,8 +69,7 @@ class ItemGroup(NestedSet, WebsiteGenerator):
|
|||||||
"items": get_product_list_for_group(product_group = self.name, start=start,
|
"items": get_product_list_for_group(product_group = self.name, start=start,
|
||||||
limit=context.page_length + 1, search=frappe.form_dict.get("search")),
|
limit=context.page_length + 1, search=frappe.form_dict.get("search")),
|
||||||
"parents": get_parent_item_groups(self.parent_item_group),
|
"parents": get_parent_item_groups(self.parent_item_group),
|
||||||
"title": self.name,
|
"title": self.name
|
||||||
"products_as_list": cint(frappe.db.get_single_value('Products Settings', 'products_as_list'))
|
|
||||||
})
|
})
|
||||||
|
|
||||||
if self.slideshow:
|
if self.slideshow:
|
||||||
|
Loading…
Reference in New Issue
Block a user