[fix] Update show_in_website in template
This commit is contained in:
parent
ed393d1025
commit
62b985d405
@ -604,7 +604,8 @@ class Item(WebsiteGenerator):
|
||||
|
||||
def update_template_item(self):
|
||||
"""Set Show in Website for Template Item if True for its Variant"""
|
||||
if self.variant_of and self.show_in_website:
|
||||
if self.variant_of:
|
||||
if self.show_in_website:
|
||||
self.show_variant_in_website = 1
|
||||
self.show_in_website = 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user