Knowledgebase:
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">

&nbsp;<mvt:eval expr="' +$' $ rnd(l.settings:option:price, 2)" />
<mvt:else>
&nbsp;<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?"-£":"£")

(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?