Skip Navigation

[Resolved] Woocommrce views layout

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

This topic contains 2 replies, has 2 voices.

Last updated by digitalF 5 years, 2 months ago.

Author
Posts
#1374547

Hi,

I have a shop page with Woocomerce with the products displayed using views, (my view set-up can be seen below):

<wpv-loop>
<div class="product-block“>
[wpv-post-featured-image size="custom" width="256" height="256" crop="true"]

[wpv-post-link]


View Product
</div>
</wpv-loop>

I would like to do the following:

- Change the view product button to an add to cart button
- Add a quantity field option

Could you let me know how the above could be done?

Many thanks.

#1374605

I think this should help you:
https://toolset.com/documentation/user-guides/views-shortcodes/

In the case of WooCommerce you'll need WooCommerce Views ShortCodes:
https://toolset.com/documentation/user-guides/views-shortcodes/#woocommerce-views-2

As it looks like, you'll need specifically [wpv-woo-buy-or-select] shortcode as seen in the doc.

#1375811

My issue is resolved now. Thank you!