Category page not showing on website as page after migration from v14 to v15

Hi team can you please share info on how enable category page after migrating from v14 to v15 using webshop app

in my case category not showing on website
how I can enable it

regards

Hmm :thinking:

Check ‘Filters and Categories’ are proper or not in Webshop Settings.

also, check in Item Group and enable the ‘Show In Website’.

Thank You!

hi ncp tnx for your help I my case after a research o migration it does not create all doctype required by webshop app, I don’t have that’s options and some doctype as webshop item are missing

what would be the correct way to recreate those objects

regards

again migrate and build the app and check it.

can you please list to me steps to migrate my main problem I think is that I come from old website after migration something happened and new doctype for webshop not created, there is a command to regreate webshop doctype etc

in pages I get

Traceback (most recent call last):
  File "apps/frappe/frappe/website/serve.py", line 20, in get_response
    response = renderer_instance.render()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/website/page_renderers/document_page.py", line 41, in render
    html = self.get_html()
           ^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/website/utils.py", line 523, in cache_html_decorator
    html = func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "apps/frappe/frappe/website/page_renderers/document_page.py", line 50, in get_html
    self.update_context()
  File "apps/frappe/frappe/website/page_renderers/document_page.py", line 65, in update_context
    ret = self.doc.get_context(self.context)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/webshop/webshop/webshop/doctype/override_doctype/item_group.py", line 59, in get_context
    context.field_filters = filter_engine.get_field_filters()
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "apps/webshop/webshop/webshop/product_data_engine/filters.py", line 23, in get_field_filters
    filter_fields = [row.fieldname for row in self.doc.filter_fields]  # fields in settings
                                              ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'WebshopItemGroup' object has no attribute 'filter_fields'

Uninstall it and again install it.

I follow your steps now the error disappear but

before uninstall tabWebsite Item has values
after uninstall and install it again tabWebsite Item was truncated

I also try insert manually on it old values but after sometime or logout categories get page not found
I was able to check and uncheck publish on website for categories but after sometime the setting disappear

Also my tabWebshopItemGroup table has no values

regards

?

but webshop has’nt tabWebshopItemGroup