Woocommerce variable product shortcode

Hi there,

I’m playing with my client’s webpage. I’m trying to add some part of variable product page to custom page done in X Pro via shortcode.

I was able to add shortcode (https://docs.woocommerce.com/document/woocommerce-shortcodes/) that should add the product in the cart, but only redirects to the product page…

Would it be possible to add the whole section of variable button, quantity and add to cart of the product to my page, so that people wouldn’t have to go through another page?

I hope you understand what I mean.

Thank you in advance!

Hi @vojtechzikmund,

Thank you for writing in, regretfully this isn’t a feature offered by product shortcode. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.

If you really need to do customization, it should be on the product page template.
How to Customize Your WooCommerce Product Page Template Visually

Thanks for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.