Title: Conditional Addresses
Last modified: December 30, 2019

---

# Conditional Addresses

 *  [js1234](https://wordpress.org/support/users/johnshiel/)
 * (@johnshiel)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/conditional-addresses/)
 * Hi. Love your email customiser plugin! Wonderful!
 * Please can you help.
 * If a customer chooses to pick up the product, instead of having it delivered,
   there would be no delivery address.
    However, email still show a delivery address,
   even in this situation.
 * Can there be Conditional Code which detects that there is no delivery address
   and the CSS acts accordingly?
 * Also, If I wanted to modify the CSS for address boxes in the ‘Customer On Hold’
   order – is there an id# I can use to target? For example, something like:
 * #CustomerOnHold #addresses
    { display: none; }
 * Thanks!
 * John
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-addresses%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/conditional-addresses/#post-12279948)
 * Hey,
    Thanks for your comment!
 * It’s outside of the scope of this plugin to add functionality and logic into 
   how woocommerce outputs the addresses. This plugins just tries to help you style
   the emails. I’m sure you can add logic via code but there isn’t any way to target
   that through css. Which leads to the second question, there isn’t any css id 
   or classes that are email specific for targeting specific emails.
 * You might just ask woocommerce or if you are using a 3rd party plugin for pickups
   if they have a suggestion on what php code to add to create that login in the
   address output.
 * I’m going to look into adding an email specific class into the body of the emails
   since I can see it would be useful for styling.
 * Ben

Viewing 1 replies (of 1 total)

The topic ‘Conditional Addresses’ is closed to new replies.

 * ![](https://ps.w.org/kadence-woocommerce-email-designer/assets/icon-256x256.png?
   rev=3115863)
 * [Kadence WooCommerce Email Designer](https://wordpress.org/plugins/kadence-woocommerce-email-designer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/kadence-woocommerce-email-designer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/)
 * [Active Topics](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/kadence-woocommerce-email-designer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/conditional-addresses/#post-12279948)
 * Status: not resolved