Create “add to cart” shortcode for template
-
Hello,
I present the following problems and I hope you can help me.
1. I use a WooCommerce builder called “JetWooBuilder” which works with Elementor.
I have created an “archive item” template but the plugin’s “add to cart” button does not work as I require.
I ask, would there be a way to insert an “add to cart” shortcode that automatically detects the id of the product so that I can add it to my template created with JetWooBuilder?
2. How can I make “WooCommerce notices” appear on all pages? Since I have shortcode of product galleries in other pages and the news of added to the cart or similar do not appear.
I was trying with this code but it didn’t work for me: https://gist.github.com/webaware/c6a6286026eb6a89e5a3
Stay tuned,
Thanks
The topic ‘Create “add to cart” shortcode for template’ is closed to new replies.