Developer forum

Forum » Ecommerce - Standard features » Minimum buy?
Dmitrij Jazel
Reply

Hello DW guys,

I remember this one was mentioned several times before in different places.

But I wanted to know if something like this is possible within standard DW eCom?

Let's say I want to allow users to make a purchase only if they have minimum 10 products added to cart?

Regards,

Dmitrij


Replies

 
Dmitrij Jazel
Reply
Anyone?
 
Marco Johannesen
Reply

Couldnt you count OrderLines, and then only show the product buy button if its heigher than ex. 10 ?

 

That could be done either on the catalog, or in the checkout i guess ;-)

 
Dmitrij Jazel
Reply

Hej Marco :-)

So what you are suggesting is basically a CSS/JS workarround?

That is the option, but maybe there are some templates tags, or some settings in CMS I could use?

Hope you understand what I am trying to say here...

//Dmitrij

 
Marco Johannesen
Reply
This post has been marked as an answer

Im suggesting using

 

 

        <!--@If(Ecom:Order.OrderLines.TotalQuantity>10)-->
          Show buy button
        <!--@EndIf-->
Votes for this answer: 1
 
Dmitrij Jazel
Reply

Perfect! :-)

Almost forgot that you can actually compare that tag...not only != but also >< conditions...

Thanks Marco :-)

 

 
Marco Johannesen
Reply

Np ;-)

 

You must be logged in to post in the forum