Title: Conditional logic for &#8220;Custom Origin&#8221;
Last modified: November 5, 2020

---

# Conditional logic for “Custom Origin”

 *  Resolved [moonshotdavid](https://wordpress.org/support/users/moonshotdavid/)
 * (@moonshotdavid)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/conditional-logic-for-custom-origin/)
 * Hello and good day,
 * We are an IT team that wants to integrate your shipping solutions to one of our
   clients WooCommerce, WP based website.
    Our questions are as follows:
 * Could we manage conditional logic for estimating shipping costs?
    – Note: Our
   client ships wood product all across the US and EU On the US soil they have 3-
   4 production points and 2-3 in the EU region, so basically it would be marvelous
   if the estimating shipping cost would be calculated from a specific region that
   we set. For example: If the user buys a product from New York the estimating 
   shipping cost should be calculated from the nearest production facility, not 
   the furthest one.
 * Another example:
    -if the user enters a New York zip code, then the nearest production
   facility will be the point of shipping cost estimation
 * Thank you for your time being.
    Have a great day and stay safe,
 * David from MoonShot
    -  This topic was modified 5 years, 7 months ago by [moonshotdavid](https://wordpress.org/support/users/moonshotdavid/).
    -  This topic was modified 5 years, 7 months ago by [moonshotdavid](https://wordpress.org/support/users/moonshotdavid/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-logic-for-custom-origin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [bartgajewski](https://wordpress.org/support/users/bartgajewski/)
 * (@bartgajewski)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/conditional-logic-for-custom-origin/#post-13623528)
 * Hi [@moonshotdavid](https://wordpress.org/support/users/moonshotdavid/),
 * Unfortunately, right now it’s not possible to use multiple “Custom origin” in
   our plugin. If we provide this feature, we’ll let you know.
 * Best regards,
    Bartosz
 *  Plugin Support [lusp](https://wordpress.org/support/users/lusp/)
 * (@lusp)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/conditional-logic-for-custom-origin/#post-13707831)
 * Since there are no further inquiries concerning this case I’m marking this thread
   as resolved.
 * Kind regards,
    Łukasz

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Conditional logic for “Custom Origin”’ is closed to new replies.

 * ![](https://ps.w.org/flexible-shipping-ups/assets/icon.svg?rev=2738069)
 * [Shipping Live Rates and Access Points for UPS for WooCommerce](https://wordpress.org/plugins/flexible-shipping-ups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-shipping-ups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-shipping-ups/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-shipping-ups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-shipping-ups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-shipping-ups/reviews/)

## Tags

 * [conditional logic](https://wordpress.org/support/topic-tag/conditional-logic/)

 * 2 replies
 * 3 participants
 * Last reply from: [lusp](https://wordpress.org/support/users/lusp/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/conditional-logic-for-custom-origin/#post-13707831)
 * Status: resolved