iSlayter Posted June 21, 2009 Share Posted June 21, 2009 /modules/blockcart/ajax-cart.js:475 (v1.1finale)was$('.ajax_block_cart_total').text(jsonData.total);I have modify the currency table (varchar 8 -> 100) to add some html in currency sign (Russian Rouble have no sign but our leading web-designer Artemii Lebedev introduce his own and a lot of web-studios support him technic is described here http://www.artlebedev.ru/tools/technogrette/html/rouble/). So now in my currency exist some html which after adding of product to cart (ajax) shows like TEXThttp://suvenir34.ru/product.php?id_product=6 - click "В корзину" and you see where is the problemAt this var not html entities (in your smarty template blockcart-json.tpl you write {$total|html_entity_decode:2:'UTF-8'})so I even try this way$('.ajax_block_cart_total').html(jsonData.total);but nothing changes. how I can fix this trouble? Link to comment Share on other sites More sharing options...
iSlayter Posted June 21, 2009 Author Share Posted June 21, 2009 sry my mistake.use wrong css class $(’.ajax_cart_total’).html(jsonData.total); works finepls delete this thread Link to comment Share on other sites More sharing options...
Recommended Posts