Title: Shortcode Edit
Last modified: July 20, 2022

---

# Shortcode Edit

 *  Resolved [sathis008](https://wordpress.org/support/users/sathis008/)
 * (@sathis008)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/shortcode-edit/)
 * How to edit the shortcode into this [product_table id=”123″ add_to_cart_from_quantity
   =”true”]
 * or kindly give me that import table json file with add to cart from quality addon
 * how to create a table using shortcode attributes ?
    -  This topic was modified 3 years, 10 months ago by [sathis008](https://wordpress.org/support/users/sathis008/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-edit%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [WC Product Table](https://wordpress.org/support/users/wcproducttable/)
 * (@wcproducttable)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/shortcode-edit/#post-15841836)
 * Hi,
 * Thank you for your query regarding my plugin WooCommerce Product Table PRO.
 * I believe you are trying to use the facility to add products to cart instantly
   from the Quantity element itself instead of needing to use the Buy button.
 * This facility is offered separately in the [Add to Cart from Quantity addon](https://pro.wcproducttable.com/downloads/addon-add-to-cart-from-quantity/).
   First you need to purchase this addon, install and activate it on your site. 
   Only then will this facility be enabled on your site.
 * After that, when you are adding the product table shortcode to any page of your
   website, simply add this text inside the shortcode:
    add_to_cart_from_quantity
   =”true”
 * So instead of typing this:
    [product_table id=”123″]
 * You will type this:
    [product_table id=”123″ add_to_cart_from_quantity=”true”]
 * Remember, in the above example you need to replace id=”123″ with your own product
   table ID.
 * Once you have done this, the facility will be enabled on the product table so
   that products can be added to cart directly from the quantity element itself.
 * I hope this information helps! Please let me know if you have further questions.
 * Regards,
    Kartik
 *  Plugin Author [WC Product Table](https://wordpress.org/support/users/wcproducttable/)
 * (@wcproducttable)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/shortcode-edit/#post-15878465)
 * Hi,
 * Since you have not written back since last week I am assuming your query is now
   resolved. I am closing this topic but please feel free to write in again if you
   have any other questions and I will be happy to answer.
 * Regards,
    Kartik

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

The topic ‘Shortcode Edit’ is closed to new replies.

 * ![](https://ps.w.org/wc-product-table-lite/assets/icon-256x256.png?rev=3370649)
 * [Product Table & List Builder for WooCommerce Lite](https://wordpress.org/plugins/wc-product-table-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-product-table-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-product-table-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-product-table-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-product-table-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-product-table-lite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [WC Product Table](https://wordpress.org/support/users/wcproducttable/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/shortcode-edit/#post-15878465)
 * Status: resolved