{"id":6955,"date":"2024-07-26T07:07:08","date_gmt":"2024-07-26T07:07:08","guid":{"rendered":"https:\/\/addify.store\/documentation\/?page_id=6955"},"modified":"2024-07-26T07:07:08","modified_gmt":"2024-07-26T07:07:08","slug":"how-to-set-up-conditional-logic-based-on-cart-user-and-product","status":"publish","type":"page","link":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/","title":{"rendered":"How to Set Up Conditional Logic Based on Cart, User, and Product?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Setting Up Conditional Logic on Orders<\/h2>\n\n\n\n<p>This feature allows for highly customized and optimized shipping fee structures. You can ensure that shipping costs reflect the specific characteristics of each order. Additionally, it enhances customer satisfaction by tailoring shipping fees to their unique circumstances, such as location or order size. Implementing such detailed conditions also helps store owners manage shipping costs correctly. Follow the steps below:<\/p>\n\n\n\n<p>Install and activate the WooCommerce Weight-Based Shipping Fee plugin.&nbsp;<\/p>\n\n\n\n<p>In your WordPress dashboard, go to <strong>WooCommerce <\/strong>&gt;<strong> Weight-Based Shipping Fee.<\/strong><\/p>\n\n\n\n<p>Click on<strong> \u201cAdd New Rule\u201d.<\/strong> A new interface will appear where you need to provide the following details:<\/p>\n\n\n\n<p><strong>Configure Additional Conditions:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Locate \u201cAdditional Conditions\u201d.<\/li>\n\n\n\n<li>Click on \u201cAdd Group\u201d and provide the necessary details:\n<ul class=\"wp-block-list\">\n<li>Cart Based Conditions:\n<ul class=\"wp-block-list\">\n<li>Subtotal<\/li>\n\n\n\n<li>Subtotal Excluding Tax<\/li>\n\n\n\n<li>Tax<\/li>\n\n\n\n<li>Quantity<\/li>\n\n\n\n<li>Coupon<\/li>\n\n\n\n<li>Weight<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>User Based Conditions:\n<ul class=\"wp-block-list\">\n<li>Zip Code<\/li>\n\n\n\n<li>Country<\/li>\n\n\n\n<li>State<\/li>\n\n\n\n<li>City<\/li>\n\n\n\n<li>User Role<\/li>\n\n\n\n<li>Specific Customer<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Product Based Conditions:\n<ul class=\"wp-block-list\">\n<li>Width<\/li>\n\n\n\n<li>Height<\/li>\n\n\n\n<li>Length<\/li>\n\n\n\n<li>Stock<\/li>\n\n\n\n<li>Stock Status<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>Complete any additional details for the rule as needed.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXefsaEnp-GV5IHVlhIaPp1U9PyQ34Y4l0i0qJnRGsOAWYFT0akTdhIjNhb0n_NEaVF_FZYrEnlbUGmmRRDsq43W_wPn7W1FudAefvJdPm1kCb8cUHVLrODvMU6kl_6L3QVjyXG7fgmLKMT4LVQFjF3DuY9I?key=PXiyjs6ufFIlSd5D02oI5g\" alt=\"\"\/><\/figure>\n\n\n\n<p>Click on \u201cPublish\u201d to apply the rule or save it as a draft.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting Up Conditional Logic on Orders This feature allows for highly customized and optimized shipping fee structures. You can ensure that shipping costs reflect the specific characteristics of each order. Additionally, it enhances customer satisfaction by tailoring shipping fees to their unique circumstances, such as location or order size. Implementing such detailed conditions also helps [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":6946,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"template-parts\/multiple-page-template.php","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"class_list":["post-6955","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Set Up Conditional Logic Based on Cart, User, and Product? - Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up Conditional Logic Based on Cart, User, and Product? - Documentation\" \/>\n<meta property=\"og:description\" content=\"Setting Up Conditional Logic on Orders This feature allows for highly customized and optimized shipping fee structures. You can ensure that shipping costs reflect the specific characteristics of each order. Additionally, it enhances customer satisfaction by tailoring shipping fees to their unique circumstances, such as location or order size. Implementing such detailed conditions also helps [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentation\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXefsaEnp-GV5IHVlhIaPp1U9PyQ34Y4l0i0qJnRGsOAWYFT0akTdhIjNhb0n_NEaVF_FZYrEnlbUGmmRRDsq43W_wPn7W1FudAefvJdPm1kCb8cUHVLrODvMU6kl_6L3QVjyXG7fgmLKMT4LVQFjF3DuY9I?key=PXiyjs6ufFIlSd5D02oI5g\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-weight-based-shipping-fee\\\/how-tos\\\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-weight-based-shipping-fee\\\/how-tos\\\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\\\/\",\"name\":\"How to Set Up Conditional Logic Based on Cart, User, and Product? - Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-weight-based-shipping-fee\\\/how-tos\\\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-weight-based-shipping-fee\\\/how-tos\\\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lh7-rt.googleusercontent.com\\\/docsz\\\/AD_4nXefsaEnp-GV5IHVlhIaPp1U9PyQ34Y4l0i0qJnRGsOAWYFT0akTdhIjNhb0n_NEaVF_FZYrEnlbUGmmRRDsq43W_wPn7W1FudAefvJdPm1kCb8cUHVLrODvMU6kl_6L3QVjyXG7fgmLKMT4LVQFjF3DuY9I?key=PXiyjs6ufFIlSd5D02oI5g\",\"datePublished\":\"2024-07-26T07:07:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-weight-based-shipping-fee\\\/how-tos\\\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-weight-based-shipping-fee\\\/how-tos\\\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-weight-based-shipping-fee\\\/how-tos\\\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\\\/#primaryimage\",\"url\":\"https:\\\/\\\/lh7-rt.googleusercontent.com\\\/docsz\\\/AD_4nXefsaEnp-GV5IHVlhIaPp1U9PyQ34Y4l0i0qJnRGsOAWYFT0akTdhIjNhb0n_NEaVF_FZYrEnlbUGmmRRDsq43W_wPn7W1FudAefvJdPm1kCb8cUHVLrODvMU6kl_6L3QVjyXG7fgmLKMT4LVQFjF3DuY9I?key=PXiyjs6ufFIlSd5D02oI5g\",\"contentUrl\":\"https:\\\/\\\/lh7-rt.googleusercontent.com\\\/docsz\\\/AD_4nXefsaEnp-GV5IHVlhIaPp1U9PyQ34Y4l0i0qJnRGsOAWYFT0akTdhIjNhb0n_NEaVF_FZYrEnlbUGmmRRDsq43W_wPn7W1FudAefvJdPm1kCb8cUHVLrODvMU6kl_6L3QVjyXG7fgmLKMT4LVQFjF3DuY9I?key=PXiyjs6ufFIlSd5D02oI5g\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-weight-based-shipping-fee\\\/how-tos\\\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WooCommerce\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Weight based Shipping for WooCommerce\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-weight-based-shipping-fee\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How To\u2019s WWBSF\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-weight-based-shipping-fee\\\/how-tos\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to Set Up Conditional Logic Based on Cart, User, and Product?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"name\":\"Documentation\",\"description\":\"Documentation for Addify Extensions\",\"publisher\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/addify.store\\\/documentation\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\",\"name\":\"Documentation\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"contentUrl\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"width\":6761,\"height\":1853,\"caption\":\"Documentation\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Up Conditional Logic Based on Cart, User, and Product? - Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Up Conditional Logic Based on Cart, User, and Product? - Documentation","og_description":"Setting Up Conditional Logic on Orders This feature allows for highly customized and optimized shipping fee structures. You can ensure that shipping costs reflect the specific characteristics of each order. Additionally, it enhances customer satisfaction by tailoring shipping fees to their unique circumstances, such as location or order size. Implementing such detailed conditions also helps [&hellip;]","og_url":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/","og_site_name":"Documentation","og_image":[{"url":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXefsaEnp-GV5IHVlhIaPp1U9PyQ34Y4l0i0qJnRGsOAWYFT0akTdhIjNhb0n_NEaVF_FZYrEnlbUGmmRRDsq43W_wPn7W1FudAefvJdPm1kCb8cUHVLrODvMU6kl_6L3QVjyXG7fgmLKMT4LVQFjF3DuY9I?key=PXiyjs6ufFIlSd5D02oI5g","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/","url":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/","name":"How to Set Up Conditional Logic Based on Cart, User, and Product? - Documentation","isPartOf":{"@id":"https:\/\/addify.store\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/#primaryimage"},"image":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/#primaryimage"},"thumbnailUrl":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXefsaEnp-GV5IHVlhIaPp1U9PyQ34Y4l0i0qJnRGsOAWYFT0akTdhIjNhb0n_NEaVF_FZYrEnlbUGmmRRDsq43W_wPn7W1FudAefvJdPm1kCb8cUHVLrODvMU6kl_6L3QVjyXG7fgmLKMT4LVQFjF3DuY9I?key=PXiyjs6ufFIlSd5D02oI5g","datePublished":"2024-07-26T07:07:08+00:00","breadcrumb":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/#primaryimage","url":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXefsaEnp-GV5IHVlhIaPp1U9PyQ34Y4l0i0qJnRGsOAWYFT0akTdhIjNhb0n_NEaVF_FZYrEnlbUGmmRRDsq43W_wPn7W1FudAefvJdPm1kCb8cUHVLrODvMU6kl_6L3QVjyXG7fgmLKMT4LVQFjF3DuY9I?key=PXiyjs6ufFIlSd5D02oI5g","contentUrl":"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXefsaEnp-GV5IHVlhIaPp1U9PyQ34Y4l0i0qJnRGsOAWYFT0akTdhIjNhb0n_NEaVF_FZYrEnlbUGmmRRDsq43W_wPn7W1FudAefvJdPm1kCb8cUHVLrODvMU6kl_6L3QVjyXG7fgmLKMT4LVQFjF3DuY9I?key=PXiyjs6ufFIlSd5D02oI5g"},{"@type":"BreadcrumbList","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/how-to-set-up-conditional-logic-based-on-cart-user-and-product\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/addify.store\/documentation\/"},{"@type":"ListItem","position":2,"name":"WooCommerce","item":"https:\/\/addify.store\/documentation\/woocommerce\/"},{"@type":"ListItem","position":3,"name":"Weight based Shipping for WooCommerce","item":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/"},{"@type":"ListItem","position":4,"name":"How To\u2019s WWBSF","item":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-weight-based-shipping-fee\/how-tos\/"},{"@type":"ListItem","position":5,"name":"How to Set Up Conditional Logic Based on Cart, User, and Product?"}]},{"@type":"WebSite","@id":"https:\/\/addify.store\/documentation\/#website","url":"https:\/\/addify.store\/documentation\/","name":"Documentation","description":"Documentation for Addify Extensions","publisher":{"@id":"https:\/\/addify.store\/documentation\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/addify.store\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/addify.store\/documentation\/#organization","name":"Documentation","url":"https:\/\/addify.store\/documentation\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/","url":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","contentUrl":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","width":6761,"height":1853,"caption":"Documentation"},"image":{"@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/6955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/comments?post=6955"}],"version-history":[{"count":1,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/6955\/revisions"}],"predecessor-version":[{"id":6956,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/6955\/revisions\/6956"}],"up":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/6946"}],"wp:attachment":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media?parent=6955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}