PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 6/6/2018 10:43 PM by  Will Strohl
Minimum Order Amount
 2 Replies
 1 Subscribed to this topic
 1 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Author Messages





Basic Member






--
5/17/2018 2:20 AM
    Hello everybody

    Is it somehow possible to restrict orders to a minimum amount (Excluding tax and handling)?

    The reason:
    As it is not allowed to surcharge the client for payment provider fees there's a problem in really cheap items.
    A client could order a few cheap items where the total order amount is less or close to the fees of the payment processor.

    I tried to find such a setting but had no luck until now. Is this already available or just a wish?
    Regards, Reto

    [Edit]
    I managed to create a simple Action-Delegate Pipeline Integration Project that checks the order amount.
    https://hotcakescommerce....-Integration-Project

    That works for now...
    [/Edit]





    Veteran Member






    --
    6/6/2018 10:28 PM
    It looks like you found the solution I would have suggested. If this was available via a setting, then it would be found in the Admin: Order area.

    https://hotcakescommerce....8664636-Admin-Orders

    Since it's not there, you'll want to do two things.

    First, I'd suggest updating your [url=https://hotcakescommerce.zendesk.com/hc/en-us/articles/205426325-Creating-Custom-Viewsets]custom viewset[/url] to pre-emptively warn customers about the minimum order requirement. You could even make this a dynamic message by checking the order total via a web service call or at page load.

    Next would be what you found for a solution, check the order (cart) total using the [url=https://hotcakescommerce.zendesk.com/hc/en-us/articles/204725949-Example-Action-Delegate-Pipeline-Integration-Project]action delegate pipeline integration extension point[/url]. You can run code before the checkout is loaded, using the BeforeProceedToCheckout event.

    The reason I'd suggest doing both is to not surprise customers at the checkout. This would generally not be a good user experience, and it could even cause customers to question their trust in the website.
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes





    Veteran Member






    --
    6/6/2018 10:43 PM
    I'm in the middle of researching one of your other posts and accidentally found something useful for your current scenario... There is a setting in the code specifically for what you're trying to do, but the UI doesn't exist. I've created an Issue to get this added as a feature in a future release.

    https://github.com/Hotcak...erce/core/issues/133
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes
    You are not authorized to post a reply.


    Loading
    • Sign-up for the Hotcakes Community Newsletter: