Advertisement
Guest User

Untitled

a guest
May 27th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. if rule.product_id and not (
  2.    product.product_variant_count == 1 and product.product_variant_id.id == rule.product_id.id
  3. ):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement