WooCommerce Product Attributes & Variations on Product Page (Using Layouts)

Hey Folks,

I’ve designed a layout page using one of your templates in Layouts and found that there was no section/area for Attributes/Variations from Woo Products.

I’ve tried adding the info below on text, heading, and raw elements and does not seem to be working at all. Please let me know if there is something I am doing wrong or how to go about getting this to work.

Tried the following:
{{dc:post:meta key="_product_filter_variation variation=“container”"}}

[woocommerce_product_filter_products]
[woocommerce_product_filter_attribute variation=“container”]

Thanks,
Jonathan

Hello Jonathan,

Thanks for writing in! Please edit your layout and replace the “Add to Cart Button” element with the “Add to Cart Form” element instead.

The Add to cart button element is only good for simple products. The Add to Cart Form element is for variable products.

Kindly let us know how it goes.

1 Like

Worked like a charm. Thx.

You’re most welcome,

Cheers!

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