Hi,
That’s not a bug, we did that on purpose, since it doesn’t make a lot of sense to disable a cod for one variation of the same product.
If you want to enable variations as well, open file:
wp-content/plugins/wc-smart-cod/admin/class-wc-smart-cod-admin.php
Edit line 531 from:
'data-action' => 'woocommerce_json_search_products',
to
'data-action' => 'woocommerce_json_search_products_and_variations',
Open file wp-content/plugins/wc-smart-cod/admin/js/wc-smart-cod-admin.js
Edit line 179 from
else if( action === 'woocommerce_json_search_products' ) {
to
else if( action === 'woocommerce_json_search_products_and_variations' ) {
And you are ready to go.
Let me know if any issues.
Also you have another topic open. Please reply on that too.
[ Signature moderated ]