Forum

Thread tagged as: Question

Slug with itemID

Is it possible to build a slug that contains the itemID (or any unique identifier), so I can be sure it will be unique even if I have multiple products with the same name and category?

For example:

<perch:content id="slug" type="slug" for="product category itemID" />
Paul O'Rely

Paul O'Rely 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You can only use values that are posted from other fields - the itemID doesn't fall within those.