Hi If I haven't changed variation MinQuantity or MaxQuantity (default 0) on the commerce side and I call out Cart.Runworkflow("CartValidate"), then it does not add entry to cart. If I want to override that functionality do I need to create custom workflowactivity ? Regards,A
You can set the MinQuantity and MaxQuantity via Catalog UI or Commerce Manager (Pricing tab). I think it should be a preferred approach than changing the workflow yourself.
But if you really want to update the workflow, it's open source, and you can download our project here: http://world.episerver.com/download/Items/EPiServer-Commerce/episerver-commerce-8-tools-and-code-samples/
Or other vervions: http://world.episerver.com/download/EPiServer-Commerce/
Modify the activity and build it, and you're good to go.
Hi,yes wanted to know if it's possible to change MinQuantity other than through UI. Thanks,A
We have a similar problem here today. When creating a product manually in Commerce Catalog management and adding it to a cart it will disappear from the cart when navigating to checkout.
The problem seems to be with the product inventory, the product was not to be found in the InventoryService database table. In Commerce Manager the product is displayed with inventory Status: "disabled", but it seems to need the database record.
Saving the product in Commerce Manager will create an inventoryservice record in the database which fixes the problem disappearing from the cart. The problem is now a product manager will need to navigate to commerce manager and save the product there a second time.
Hope this helps anyone pinpoint the problem.