Jump to content

How to regenerate url maps link on Sitemap cms page?


zaby86

Recommended Posts

Hi,

I have a problem, the map with links is no longer displayed on my website, and I don't know which module exactly takes care of this, or how to generate again all the links and categories on the Sitemap page?

Before it looks like in the attached image, and now the Sitemap page is empty.

 

Thank you!

 

BEFORE.jpg

NOW.jpg

Link to comment
Share on other sites

  • 2 weeks later...

Hey 👋🏻!

The broader context of the situation can be helpful, like:

Quote

PrestaShop version:
Theme (default/customized & version):
Code (original/modified):

 

Anyway, I think You're using: ZOne - Supermarket Online Shop theme or something very similar. 
The most effective approach would be to get in touch with the theme developer. This is, of course, patently obvious.


Several additional pieces of information:

  • The sitemap page in PrestaShop is dynamically generated by fetching data from various database tables and rendering it using the sitemap.tpl template file, which acts as the blueprint for the page structure and content
  • You can manipulate the subpage by editing the file (example based on the "Classic" theme)
    • /themes/classic/templates/cms/sitemap.tpl
    • /themes/classic/templates/cms/_partials/sitemap-nested-list.tpl
  • You may compare these files (from classic theme) with those in your template to verify if there is any error
  • The subpage template with the map inherits from page.tpl and places information in a block named "page_content_container"

I hope my suggestions have pointed you in the right direction. Good luck! 🚀

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...