Forum

Thread tagged as: Question, Configuration

Using Perch Content Custom to add a link to a product's page.

Quick question. I've used Perch content custom to dynamically feed specific products into a list.

https://dev.mstopford.co.uk/firtree/darklight/products/

The 3 products listed are dynamic, coming from products on their own pages added in the back-end. I need to make it so that when the link for each is clicked, it takes you to the full page for the respective product.

An example of a product page can be seen here:

https://dev.mstopford.co.uk/firtree/darklight/products/precision-dmx-micro-rgb-floodlight.php

Cheers Mike

Mike Stopford

Mike Stopford 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Would you not just use _page for that?

<a href="<perch:content id="_page" />">Read more</a>

See "Using content from different pages" https://docs.grabaperch.com/docs/content/perch-content-custom/

That's exactly what I'd use. I completely missed that bit. I was searching too hard for it.

Seems easy enough. Cheers