Skip to Content

Contributors

Re: Product variant price based on calculation using attribute values

I thought the custom attribute values would be helpful, but I guess you didn't see what you were looking for.

I'm sorry I don't have a better answer for you.


On Tue, Jul 1, 2025 at 8:13 AM Radovan Skolnik <notifications@odoo-community.org> wrote:

Matt,


thank you for suggestion. While there are plenty options regarding attributes / values / their combinations, I fail to see where I could use those values in formulas to get some special pricing. Maybe I am missing something?


Best regards


    Radovan


On utorok 1. júla 2025 15:22:01 CEST Matt Taylor wrote:

> https://github.com/oca/product-configurator [1]

> On Tue, Jul 1, 2025 at 4:43 AM Radovan Skolnik <

> notifications@odoo-community.org [2] > wrote: Hello,

>

> the customer is manufacturing stainless steel shelves and such for kitchens.

> The variants are based on width and length. However there are some optional

> features that can be added which would need some custom calculation logic

> to get their price. Few examples: extra rim on the side: [width] * constant

> extra bottom: [width] * [length] * other_constant

> ...

>

> So generally taking the value(s) of attributes and using them in formula to

> get price for extra attribute. I have seen some commercial modules on

> appstore but I'd obviously rather go with OCA.

>

> Thank you. Best regards

>

> Radovan Skolnik

>

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15 [3]

> Post to: mailto: contributors@odoo-community.org [4]

> Unsubscribe: https://odoo-community.org/groups?unsubscribe [5]

>

>

> _______________________________________________

> Mailing-List: https://odoo-community.org/groups/contributors-15 [6]

> Post to: mailto:contributors@odoo-community.org

> Unsubscribe: https://odoo-community.org/groups?unsubscribe [7]

>

>

>

> [1] https://github.com/oca/product-configurator

> [2] mailto:notifications@odoo-community.org

> [3] https://odoo-community.org/groups/contributors-15

> [4] mailto:contributors@odoo-community.org

> [5] https://odoo-community.org/groups?unsubscribe

> [6] https://odoo-community.org/groups/contributors-15

> [7] https://odoo-community.org/groups?unsubscribe



_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


by Matt - 04:30 - 2 Jul 2025

Reference

  • Product variant price based on calculation using attribute values

    Hello,


    the customer is manufacturing stainless steel shelves and such for kitchens. The variants are based on width and length. However there are some optional features that can be added which would need some custom calculation logic to get their price. Few examples:

    extra rim on the side: [width] * constant

    extra bottom: [width] * [length] * other_constant

    ...


    So generally taking the value(s) of attributes and using them in formula to get price for extra attribute. I have seen some commercial modules on appstore but I'd obviously rather go with OCA.


    Thank you. Best regards


        Radovan Skolnik


    by Radovan Skolnik - 12:41 - 1 Jul 2025