Title: WooCommerce Variable product shortcode
Last modified: August 20, 2016

---

# WooCommerce Variable product shortcode

 *  [markonikolic](https://wordpress.org/support/users/markoof/)
 * (@markoof)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/woocommerce-variable-product-shortcode/)
 * Hello,
 * does anyone have an idea how to call variable product form with shortcode?
 * More details:
 * I have two variable products on the site and when I visit product page, there
   is an option to choose product variation – [http://bit.ly/YJSvco](http://bit.ly/YJSvco)
   scroll down to the bototm of the page content.
 * What I need is to create a page that will show all products (like a post list),
   but that will include this form as well at the end of each post.
 * I can create custom page template that will pull products with custom WP Query,
   but not sure how to add forms that will allow me to order products.
 * It would be even better if I could add it as shortcode, and to have one page 
   that will include description of both products with forms included.
 * e.g
 * {product 1 description}
 * [form_shortcode product=”product_id”]
 * —————————————————
 * {product 2 description}
 * [form_shortcode product=”product_id”]
 * Any idea? Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Jesse Aaron](https://wordpress.org/support/users/jaaron/)
 * (@jaaron)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/woocommerce-variable-product-shortcode/#post-3586828)
 * I would recommend using the WooCommerce Gravity Forms plugin, it makes this kind
   of problem sooo much easier to solve than shortcodes because you can just insert
   a form rather than hack up a custom shortcode. Caveat is it requires purchasing
   premium plugins, both the [Gravity Forms plugin](http://www.gravityforms.com/)
   and the [extension from WooThemes](http://www.woothemes.com/products/product-add-ons/).
   Both are GPL so if you don’t need support, you can much find cheaper versions
   of the same plugins, like the ones on [Sozot](https://sozot.com/).
 * Hope that helps.
 *  Thread Starter [markonikolic](https://wordpress.org/support/users/markoof/)
 * (@markoof)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/woocommerce-variable-product-shortcode/#post-3586848)
 * Hey WordPress Blob,
 * that’s exactly what I did, started using GF addon, it’s really great. I have 
   few more issues, but hope I will be able to solve it.
 * Sozot looks like great resource for the future, bookmarked 🙂
 * Thanks
 *  [Colton](https://wordpress.org/support/users/coltography/)
 * (@coltography)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/woocommerce-variable-product-shortcode/#post-3586908)
 * Did this end up working for you? When I put [product] shortcode on a page, it
   shows the product, but not the gravity form. But when I view the actual product
   page from the catalogue, the form shows up.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WooCommerce Variable product shortcode’ is closed to new replies.

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [variable products](https://wordpress.org/support/topic-tag/variable-products/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 3 replies
 * 3 participants
 * Last reply from: [Colton](https://wordpress.org/support/users/coltography/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/woocommerce-variable-product-shortcode/#post-3586908)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
