[website] [product] show currency symbol and show specifications below the image

This commit is contained in:
Anand Doshi
2013-05-14 15:33:34 +05:30
parent ece3298159
commit 220ff30878
4 changed files with 29 additions and 15 deletions

View File

@@ -26,8 +26,8 @@ $(document).ready(function() {
success: function(data) {
if(data.message) {
if(data.message.price) {
$("<h4>").html(data.message.price[0].ref_currency + " "
+ data.message.price[0].ref_rate).appendTo(".item-price");
$("<h4>").html(data.message.price.ref_currency + " "
+ data.message.price.ref_rate).appendTo(".item-price");
$(".item-price").toggle(true);
}
if(data.message.stock==0) {