Thread Starter
divijc
(@divijc)
Also, how to put the COD unavailable message below the available payment options? Right now, it shows up above the payment options.
Hi,
The category issue is done on purpose, to avoid heavy calculations on the front end while the user trying to checkout. But we will change this to check categories recursively in the next version.
Now for the message position, that’s not something you can change right now. You may want to try a flex / order css combination to achieve this, but you won’t have support for older browsers.
Best Regards
Hi again,
I checked the categories issue again, and except of the heavy load there was another reason it’s implemented this way.
The WooCommerce allows you to assign only the subcategory and not the parent category if you want, in a product, even though the subcategory belongs to the category. This way, the product appears only in the subcategory archives and not in the parent’s.
So the restriction should follow this pattern as well.
If you want, inside the edit product screen, you can check the parent category as well and the restriction it’s going to take effect.
I think the functionality should remain as it is right now.
Your feedback is welcome.
Best Regards