This question has been flagged

hi everybody,

i need configurate in my e-commerce a minimum order to make the purchase, how can i stablish this. Also i need change the price of a product depend it of an atribute, for example, big, medium or small, each one have a different price. Can i do this with odoo?

Avatar
Discard
Author

thank you, i´m going to try configurate the line like developer, i'm not sure if  this line works with money, because i need that the order will be of 30 dollars

Best Answer
Hii @Vegetables

 

-You can set different prices depending on Product attributes I have written some step you can follow them And also Share on video which will help.

Steps: Go to Product -> Create New Product -> Go to Variant -> Create Variant -> Set Attributes -> Save it -> Go to Config Variant (Above Prodct Name) -> Set Price - -> Save it -> Done 

Refrence Attachments:

https://drive.google.com/file/d/19jeAF74vHrywteIOPWpPNix55PUuIUz8/view


Thanks & Regards,

Aasif Ghanchi

Avatar
Discard
Author

Thank you so much for your help, i'm pretty shure that i'm in the correct window but i can not set price....

this is my print screen

https://drive.google.com/file/d/1cwvJ4M1O93RmhAPUqnRzjq1R_mTYSTzf/view?usp=sharing

https://drive.google.com/file/d/1cwvJ4M1O93RmhAPUqnRzjq1R_mTYSTzf/view?usp=sharing

Best Answer

Hi,

If you are looking at this case, like when you sell your products through the online the customer should purchase a minimum quantity, by default there seems no such option is available.

For the backend sales, there seems some third-party modules are available in the store, but the same cannot be found for the e-commerce. Anyway, you can have a search for it.


A little workaround that you can do is that, activate the developer mode, navigate to Settings -> Technical -> Views, search for Select Quantity, then if you check the view you can see a line like this,

<input type="text" class="form-control quantity" data-min="1" name="add_qty" value="1"/>

You can change this Line as per the need, suppose if you need to set minimum quantity as 3, change the data-min and value to 3 in the above line,

<input type="text" class="form-control quantity" data-min="3" name="add_qty" value="3"/>

This is not flexible as it will be applied for all the products.


Thanks
Avatar
Discard