Body: <p>I have digital products that are sold alongside physical products and need a way to set it so that the 'standard shipping' method is not shown as an option if ONLY digital products are in the cart/order. Digital products can be identified by their Tax or Shipping category 'Digital Products'. I can't seem to get the order condition formula in the 'standard shipping' rule to behave how I want it to in order to accomplish this.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-23T00:27:40.800Z
Comments.Text: What are you using now for order condition? Weights might also work for you use case to disallow shipping when weight is 0.
Comments.UserDisplayName: RitterKnight
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-23T13:55:56.400Z
Comments.Text: I'm not. I can't figure out how to write the condition. Weights wouldn't work though as some of the physical products don't have weight set given the site has 'flat rate' shipping rather than based on weight.
Comments.UserDisplayName: Christopher Healey
Tags: <plugin-craftcommerce><conditional><order><shipping>
Title: Order Condition Formula in a Shipping Condition
ThreadText: # Order Condition Formula in a Shipping Condition
  
  (Asked by: username_0 on 2021-11-22)
  
  I have digital products that are sold alongside physical products and need a way to set it so that the 'standard shipping' method is not shown as an option if ONLY digital products are in the cart/order. Digital products can be identified by their Tax or Shipping category 'Digital Products'. I can't seem to get the order condition formula in the 'standard shipping' rule to behave how I want it to in order to accomplish this.
  
  **Tags:** plugin-craftcommerce, conditional, order, shipping
  
  > **Comments:**
  > **username_1**: What are you using now for order condition? Weights might also work for you use case to disallow shipping when weight is 0.  
  > **username_0**: I'm not. I can't figure out how to write the condition. Weights wouldn't work though as some of the physical products don't have weight set given the site has 'flat rate' shipping rather than based on weight.  
  
  ---
  
  ## 0 answers
  
  