View Single Post
  #5  
Old 04-07-2009, 02:39 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Currency symbol mysteriously moving - and I can see it happening?!

The javascript in func.js is what does the substitution of the price - you can check any mod updates to skin1/modules/Product_Options/func.js. If you disable javascript on your site, you can see that the price tag correctly located - so you know there is something amiss in the check_options function.



A few more hints for when you look around func.js:

There is a javascript variable called currency_symbol that gets set based on the smarty code for the symbol. You will also see javascript code equating things to document.getElementById('product_price').innerHTML

That is where the javascript substitutes text inside the class called product_price depending on what option you select.

See how any mod that you added might be using the currency_symbol variable in the innerHTML - maybe if you debug with this in mind - it will point you to the issue. (Hopefully!)
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote