Woothemes has a plugin called “Global Add-On’s” for about $49, I think.
You can also do this via individual products by clicking the add-on tab. But I like the global add-on plugin better because I only have to do it once for 150+ products.
I did not find this plug.
I have other question, I using Contact Form 7 to create the form
How can I append the shortcode of the form to be under the main image of the product?
I tring using jQuery:
jQuery(document).ready(function() {
jQuery('.single-product .primary .content .images').append('[contact-form-7 id="956" title="contact"]');
});
But it show the string [contact-form-7 id=”956″ title=”contact”].
I think it is because the shortcode translate to the real thing on server side and jQuery is running on client side.
I do not want to post the shortcode on each page, there are lot of products and place of the form is on the side
Here is the plugin: http://www.woothemes.com/products/product-add-ons/. I have not used it myself, so make sure it will do what you want before purchase.
You are right about the shortcode, it needs to go on server side not browser side. I think you would need to make a custom page template and put it in your child theme.
Thanks, Iorro.
Do you where I can find something that explain this for me?
I found this:
http://wordpress.stackexchange.com/questions/121560/do-shortcode-inside-ajax-callback
but I do not know if this will help me
Sorry, no. Looks like hard work. Whoever does it will need to be skilled at Javascript, php & html and have plenty of time. If the plugin will do what you want it would be much preferable.