1

I have a product overview page, with images and some text, then a call to action that launches a product customiser for that particular product. (the customiser is requiring some bespoke JSON using line items). It is on the product customise page that the 'add to cart' button is placed.

I would like the following URLS for each seperate page:

Product overview:

myshop.com/products/productname

Product customiser:

myshop.com/products/productname/customise/

How would I go about doing this? By default, Craft only seems to let me use one template per product.

Any help greatly appreciated :)

1 Answer 1

2

I think you just need to create a dynamic route to either ignore customise/ in the url or serve up a different template altogether.

See my answer on this ticket for more information. Secondary Template for Structure

1
  • Excellent thank you Ryan. this looks like the way to go :) Commented Sep 28, 2017 at 7:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.