Hi, I am trying to add the unit value to the price text in product simple view. To be exact I need to add the words {per Gram} to the right of the product price so end result would be : "$5.00 per gram" where the $5 is the price drawn from the database.
Hi, I am trying to add the unit value to the price text in product simple view. To be exact I need to add the words {per Gram} to the right of the product price so end result would be : "$5.00 per gram" where the $5 is the price drawn from the database.
Is this possible outside of source code?
Thanks, Alek
you can add custom code at .cshtml page using c# logic or javascript when response arrives.
I just added this(bold and underlined) to the _ProductPrice.cshtml file. I am sure it would be the same for inserting text anywhere within cshtml pages.