Skip Navigation

[Resolved] Using [wpv-woo-buy-options] in a view only outputs the shortcode

This support ticket is created 4 years, 1 month 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 1 voice.

Last updated by josephB-5 4 years, 1 month ago.

Author
Posts
#1814269

Tell us what you are trying to do?
Place an Add to Cart button in a view
Is there any documentation that you are following?
no
Is there a similar example that we can see?

What is the link to your site?
hidden link
Please click the "Closet" tab and you will see that the view is outputting the shortcode only

#1814279

I realized I need to install woocommerce blocks...doh! Ok, now that woocommerce blocks is installed, the shortcode is gone from the output, but there is no Add to Cart button either. What am I doing wrong? Here is my view:
<p class="closet-views" style="text-align: center;">[wpv-post-featured-image size="medium"]</p>
<p class="closet-views" style="text-align: center;">[wpv-post-title]</p>
<p class="closet-views" style="text-align: center;">[wpv-woo-buy-options add_to_cart_text="Buy Now"]</p>

#1814293

My issue is resolved now. Thank you! I was using a combo of post and woocommerce shortcodes which does not work!