November 24, 2016, 3:50am
During initial setup (wizard), i created two product items, and default check is display on website.
Now, i don’t want to display them on homepage, so i disabled option “Show in Website” for each item, however these items are still appears on website homepage.
Any idea how could i fix it?
Go to Website → Homepage. Remove products from the PRODUCT table (Products to be shown on website homepage)
November 27, 2016, 11:49am
@KanchanChauhan for your tip.
i have followed, but these removed products are now showing as “Product 0”, “Product 1”, “Product 2”
I attached the screenshot below.
That is the default behavior, there has to be atleast 3 products. You can change it by deleting these line from home.py.
context.homepage = homepage
if homepage.hero_section_based_on == "Homepage Section" and homepage.hero_section:
homepage.hero_section_doc = frappe.get_cached_doc("Homepage Section", homepage.hero_section)
doc = frappe.get_cached_doc("Website Slideshow", homepage.slideshow)
context.slideshow = homepage.slideshow
November 28, 2016, 6:28am
is there no way to manage it via Website setting or menu other than adjusting the code?
No, not yet. But you can raise the feature request for the same on github.
November 28, 2016, 9:48am
OK. I see.