Title: shortcode for product add ons
Last modified: November 20, 2020

---

# shortcode for product add ons

 *  Resolved [tomaslanzarini](https://wordpress.org/support/users/tomaslanzarini/)
 * (@tomaslanzarini)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/shortcode-for-product-add-ons/)
 * Hello. i’m creating a website by elementor and i need to call the div class =“
   wc-pao-addon-container using a shotcode.
 * This div represents the product add-ons.
 * I use the Snippets plugin to add shortcode.
    I need help to create this shortcode,
   how can I do it?
    -  This topic was modified 5 years, 5 months ago by [tomaslanzarini](https://wordpress.org/support/users/tomaslanzarini/).

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

 *  [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * (@apmwebdev)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/shortcode-for-product-add-ons/#post-13689997)
 * Hi [@tomaslanzarini](https://wordpress.org/support/users/tomaslanzarini/). Are
   you referring to writing a custom shortcode from scratch? In that case, you’d
   want to look at a guide like [this](https://pagely.com/blog/creating-custom-shortcodes/).
 *  Thread Starter [tomaslanzarini](https://wordpress.org/support/users/tomaslanzarini/)
 * (@tomaslanzarini)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/shortcode-for-product-add-ons/#post-13691953)
 * Hello Austin. Thanks for the answer. But not.
 * I will go a little deeper into the question.
 * I have a unique product page made in elementor.
    this page calls the product 
   addons function of the “woocommerce product add ons” plugin.
 * The problem is in the way it carries this function.
 * The product options (product addons) are loaded glued to the purchase button,
   making the page confusing and unresponsive.
 * I need to find a way to call this function or separate it from the purchase button
   to make it readable and responsible on my page.
 * I figured that calling it using a shortcode would be the solution. But I am open
   to better solutions.
 *  [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * (@apmwebdev)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/shortcode-for-product-add-ons/#post-13727705)
 * Hi [@tomaslanzarini](https://wordpress.org/support/users/tomaslanzarini/), thanks
   for clarifying. I don’t know of a way to control how add-ons are displayed programmatically
   like this. I’ll leave the thread open in case others have a solution, though.
 *  [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * (@apmwebdev)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/shortcode-for-product-add-ons/#post-13756821)
 * This thread hasn’t gotten much traction, so I’m going to go ahead and mark it
   as resolved. Feel free to open a new thread if you have any further questions!
 *  [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * (@apmwebdev)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/shortcode-for-product-add-ons/#post-13756823)
 * We also have a [customizations page](https://woocommerce.com/customizations/)
   with resources for contacting a developer for help. You can also ask about this
   on the [WooCommerce Slack Community](https://woocommerce.com/community-slack/)
   or [WooCommerce FB group](https://www.facebook.com/groups/advanced.woocommerce/)
   which are great places for customization questions like this.

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

The topic ‘shortcode for product add ons’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Austin M – a11n](https://wordpress.org/support/users/apmwebdev/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/shortcode-for-product-add-ons/#post-13756823)
 * Status: resolved