TheSmithsDoBusiness Posted January 2, 2022 Share Posted January 2, 2022 Hello, We sell health supplements and have various pack sizes (e.g. 60 tablets, 120 tablets etc). I'd like to display the count price (e.g. price per tablet) for each variation like this website (see attached). All I need is the Smarty formula... e.g. something like {$product.regular_price} / x value The x value will be set using a module, so all I need is the actual mathematical formula for Smarty... Hope I'm putting this the right way, I'm not a developer. Can anyone help please? Thanks Link to comment Share on other sites More sharing options...
JBW Posted January 4, 2022 Share Posted January 4, 2022 Unit price is a standard field in the product combination setting, no need to do any calculation/development if it is set correctly Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now