[cart] create quotation on checkout

This commit is contained in:
Anand Doshi
2013-06-14 17:44:03 +05:30
parent 37982a6a1f
commit abc100302c
17 changed files with 306 additions and 59 deletions

View File

@@ -26,8 +26,9 @@ $(document).ready(function() {
success: function(data) {
if(data.message) {
if(data.message.price) {
$("<h4>").html(data.message.price.ref_currency + " "
+ data.message.price.ref_rate).appendTo(".item-price");
$("<h4>")
.html(data.message.price.formatted_price + " per " + data.message.uom)
.appendTo(".item-price");
$(".item-price").removeClass("hide");
}
if(data.message.stock==0) {