Skip Navigation

[Résolu] Using [wpv-woo-buy-options] in a view only outputs the shortcode

This support ticket is created Il y a 4 années et 1 mois. 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.

Ce sujet contient 2 réponses, a 1 voix.

Dernière mise à jour par josephB-5 Il y a 4 années et 1 mois.

Auteur
Publications
#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?
lien caché
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!