Forum Academy Marketplace Showcase Pricing Features

Dynamic Calculations using Private Variables

Let’s say I’m setting up a shop like eBay or something, and I want to dynamically calculate final price based on a private ‘margin’ variable and a private ‘cost’ variable, but I don’t want the margin or cost to be publically avaialble…

I imagine I could do something when the item is saved, but I might want to change my margin at a later date globally without having to update evey entry manually?

i.e. Final Price (dynamic calc) = Cost Price (private fixed value) x Margin (private global value)

I hope that makes some sense…

This topic was automatically closed after 70 days. New replies are no longer allowed.