Problem:
On a WooCommerce shop page client wants to replace the add-to-cart button with a link to the individual product page.
Solution:
Remove the add-to-cart button from the template and replace it with a simple link you manually insert where the href is set from the url of the current post in the Loop:
<a href="[wpv-post-url]">View</a>
Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-url
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 |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
This topic contains 2 replies, has 2 voices.
Last updated by 6 years, 6 months ago.
Assisted by: Nigel.