Is it possible to add a second single product page in Woocommerce?
So basically when I am at the single product page I click the “next” button and I get directed to the same single product page with another template. So I just want to retrieve the same data on the second page.
Single product page:
Next page:
And the next page would be the checkout page but that would just be a link to the checkout page so that part would be easy.
What I would do in this case is add a link that will reload the page with a custom query arg in the URL.
Then you can filter the template via
template_include
to load a different template. Untested, so be careful of syntax typos.See
add_query_arg
for reference.