In the browser, the Breadcrumbs shows: Starseite /Seife / Green Soap. When I click on Soap, I get a white page that only says “Seife”. I would like the visitor to see a list of soaps when they click on the Soap link in the breadcrumbs. How can I achieve this?
It’s like all other pages: you need to have a template which matches the name of the content file.
If you have stored all Soap pages (name: seife) under a single parent page, you need to find out about that parent page content file:
content
|- 01_seife
|- xxx.txt <----- what is xxx? I'll guess "seifen"
|- 01_green-soap
|- seife.txt
In the content folder I created a folder called seife and inside this folder I created folders with different names and inside these folders that have different names I put the image of that specific soap and a soap.txt file which contains the name of that specific soap, its price and description. So, visually, the structure looks like this: content / soap/ soap-one / soap.txt + the image of the soap.
In the templates folder there is a seife.php file which shows the chair itself. This soap.php has the following code:
which displays the breadcrumb as Starseite /Seife / Green Soap. When I click on Soap in the breadcrumb, I get a white page that only says “Seife”. I would like the visitor to see a list of soaps when they click on that Soap link in the breadcrumbs. This is what I’m trying to accomplish. I hope this clarified it better.
Today, I applied the same pattern to another product and when I clicked on the breadcrumb link for the other product category, only a white page showed up with the name of the product. What could be the reason? Interestingly, in the previous one that we worked on, the soaps.txt file has this code under the: “Title: All your soaps are belong to us”: Uuid: dmRbH39RMIiksrVZ. This is not the case with the new txt file for the new product category I created today.