Page 1 of 1

Link to detail view in navigation

Posted: 09 Feb 2015, 17:53
by boettner
Hi All,

is it possible to set up a plugin for displaying a direct detail view for a single article? I have a few "special" products that donĀ“t fit in a catalog category and should be visible in the catalog navigation. Additionally it has to be possible to place regular content on each of these single product pages.

Thanks for any hints
Robert.

Re: Link to detail view in navigation

Posted: 09 Feb 2015, 18:15
by aimeos
Hi Robert

Sure, you can add the catalog detail plugin to another page if you want to combine its output with content from the TYPO3 page. In your navigation, you need to add the URL of the page and at least the parameter for the product ID. Depending on the version you are using, the parameter name is different because we had to change them for compatibility reasons recently. Most likely you need the following if you use version 2.0 or earlier :
- ai[d-product-id] (the ID of the product you want to display)
- ai[a-name] (optional, the product name)

In the next versions (2.1), this changes to
- ai[d_prodid] and
- ai[d_name]

A list of all parameters used (the new ones) is available here: http://aimeos.org/docs/Developers/Html_ ... eter_names
If you manage to generate the links not by hand but via TypoScript, RealURL creates a nice speaking URL out of these parameters.

Re: Link to detail view in navigation

Posted: 12 Feb 2015, 10:06
by boettner
Hi aimeos,

thanks for the reply. I could integrate it as suggested, but I am using Fluid and https://fluidtypo3.org/ for templating. See my full shop page template in this Gist: https://gist.github.com/boettner-it/c22 ... 0619585a9d