0

I am trying to style the Woocomerce checkout page for when it contains a specific product category. If the checkout page contains the product of the category "Home" and no other type of category is present, add "checkout_home_category" class to the page.

Any idea on how to write this? The closest I found is this: Add class to woocommerce checkout body based on filter

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.