I made custom attribute for variation other than size or colour, but when i apply as variation to this attribute its not showing on single page.

1

It’s seems you have all variations same price. That’s why it’s not showing, it’s a WooCommerce default behavior. You can change this WooCommerce default variable price filter with this hook.

   add_filter('woocommerce_show_variation_price',      function() { return TRUE;});

Leave a Reply

Your email address will not be published. Required fields are marked *