Jump to content

jsonData.total


Recommended Posts

/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 TEXT

http://suvenir34.ru/product.php?id_product=6 - click "В корзину" and you see where is the problem

At 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

×
×
  • Create New...