November Happy Hour will be moved to Thursday December 5th.

Quantity interval (Service API 11.2)

Vote:
 

Can Episerver handle interval quantity?

We have a min. quantity on a product, say 6. The product is of type Variation.
But the customer should only be able to buy quantity multiplied by min. quantity. Ex. 6, 12, 18, 24 etc.

Is this possible in standard Episerver?

#191875
May 02, 2018 10:55
Vote:
 

In this case, I think you need some customizations.

  • In case using workflow: customize "ValidateLineItemsActivity" and set quantity to an interval of min. quantity (or return validation error)
  • In case using abstraction API: override ILineItemValidator.Validate() and set quantity (or return validation error)

/Viet Anh

#191886
May 02, 2018 13:00
Vote:
 

You can have a package - 6 of "ThatVariation", which is much easier to handle and process.

#191888
May 02, 2018 13:17
Vote:
 

Cool. Thanks, didnt think of that.

#191889
May 02, 2018 13:19
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.