Skip Navigation

[Resolved] Creating and Selecting Alternate Layouts for WC Product

This support ticket is created 4 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by KentS9937 4 years, 7 months ago.

Assisted by: Waqar.

Author
Posts
#1583209

Tell us what you are trying to do?
I have a WooCommerce site using GeneratePress and Elementor. I need to allow site visitors to print from a product page selecting one of two layouts. Is there a way using the block editor or Elementor to provide links on the product page which will load the product in one of two alternate layouts? I know with Layouts I could have multiple templates for a post and select which one by appending the template ID to the URL. Is there a way to do a similar thing with either Elementor or the block editor? I basically need 3 layouts for any product. The std layout using an Elementor template I designed, plus to different print layouts which the site visitor can select.

#1583775

Hi Kent,

Thank you for contacting us and I'd be happy to assist.

It is possible to override the assigned Toolset content template, through a URL parameter "content-template-id".
( regardless of whether it has been designed using the Blocks editor or the classic editor )

You'll just need to pass the desired content template's ID in the URL parameter, for a single page/post.

For a template assigned through the Elementor builder, it will be best to consult its official support or documentation, for the most accurate and up-to-date information.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1588641

Thank you. I was searching the documentation to try and find what options I have via an URL parameter. Your response pointed me in the right direction. My issue is resolved now. Thank you!