LimitRule

Rule that the bundle must be fulfilled before it can be added to the cart.

Properties

  • Name
    type
    Type
    string
    Description

    Type of the limit, one of:

    • bundle-price Bundle price
    • bundle-price-before-discount Bundle price (before discount)
    • total-number-of-products Total number of products
    • amount-of-one-product Amount of one product
  • Name
    operation
    Type
    string
    Description

    Operation, one of lt, lte, eq, gt, gte - meaning <, <=, =, >, >= respectively.

  • Name
    value
    Type
    number
    Description

    Value of the limit.

  • Name
    section
    Type
    number
    Description

    ID of a section that this rule applies to (can be null if limit rule is for whole bundle).