Product Display Layout displaying $ instead of £
Posted by , Last modified by on 17 May 2016 08:24 AM
|
|
Disclaimer This will work for stores on Miva Version 9.0 or newer. Note that this will require making changes to files on the server. Make sure you make a backup of any files you will be altering.These edits are low-risk but if you feel uncomfortable with making these changes then we advise you to seek help from a developer.
Issue Currency format on Product Display Layout is displaying "$" instead of "£" Instructions
Navigate to Home > User Interface > Pages > Prod > Product Attribute Template
Look for the following if statements...There should be a total of 7 <mvt:if expr="l.settings:option:price GT 0"> <mvt:eval expr="' +$' $ rnd(l.settings:option:price, 2)" />
<mvt:else>
<mvt:eval expr="' -$' $ rnd(l.settings:option:price, 2)" />
</mvt:if>
Change +$ and -$ to +£ -£
Locate the scripts.js file domain.com / httpdocs / mm5 / themes / levels / js / scripts.js
Look for function formatCurrency
Change (a?"-$":"$") to (a?"-£":"£") | |
|