I am creating a site using Perch Runway and the Shop app, but I am having trouble using a slug with the Perch routing for products. Can someone shed some light on this for me? Here is what I am trying to do:
My product template has this slug template tag:
I have a master page called product.php which has the following code in it, but I don't know how to isolate that slug where I have 'slug' below (if that makes sense):
Naturally, that returns nothing, if I replace 'slug' with 'example-product' (which is the slug generated for that product), it loads. But I need to pull the slug value for the product into here, which is the part of the puzzle I'm missing.
This is the page I was referencing in the docs: https://docs.grabaperch.com/fu…ducts/perch-shop-product/
Any help would be greatly appreciated!