Skip Navigation

[Resolved] I need to add a woocommerce next product button

This thread is resolved. Here is a description of the problem and solution.

Problem:

The user essentially wanted to add a Next Product button to their product template

Solution:

Assuming that you are using a custom Woocommerce template created with the Block editor, then there isn't a block for this. However you can make use of our shortcode base solution to achieve this.

Take a look at the link below for documentation on the Next and Previous shortcode.
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-554769

You can use the gutenburg shortcode block to add these shortcodes to your custom product template.

This support ticket is created 3 years, 11 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.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by stefanoC-6 3 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1942103

Tell us what you are trying to do?
I need to create a button to go to next or previous woocommerce product
Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?
ledatex.it

#1942949

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Stefano,

Thank you for getting in touch.

Assuming that you are using a custom Woocommerce template created with the Block editor, then there isn't a block for this. However you can make use of our shortcode base solution to achieve this.

Take a look at the link below for documentation on the Next and Previous shortcode.
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-554769

You can use the gutenburg shortcode block to add these shortcodes to your custom product template.

Please let me know if this helps.
Thanks,
Shane

#1949855

My issue is resolved now. Thank you!