Back to Catalog Support

adrian11270
adrian11270

Hi there,

I can't figure out how a Product List is linked to the Product Page, any help would be appreciated. Basically I've created a Product List page which is displaying the products that I need, all is fine. I've also created a generic Product Page. Now, how does the product link needs to look like so that is pointing to my Product Page and populating it with the product that was clicked on? Is this done via the 'Product page param name' parameter in the Product List component? I've only managed to point all products to the same Product Page layout with no product info. On this page should I use the Product Details component?

I hope this makes sense.

Thank you.

Tiipiik
Tiipiik

Hi,

Yes you have to use the ProductDetails component on the page you want to display the product informations (details).

In the component of your product list page, fill the Products/Product Page parameter with the page you want to display your product info (ie. /product-details), then in Products/Product page param name put :slug (this should be the default for this component)

Then, in your product_details page set the url parameter like this /product-details/:slug, then in the ProductDetails component, set the slug param namelike this :slug

And you should be done.

adrian11270
adrian11270

Thank you very much, it does work! I did manage to go around it by using a GET var as the slug but was more of a hack.

Could I ask you one more please for when you have a sec: Is there a way to order the products in a Product List? I have a feeling that their order defaults to the table IDs they have? So what I need is to customize their position they are displayed on the page.

Thank you, Adrian

1-3 of 3