Merge remote-tracking branch 'origin/release/5.1' into release/5.1
Showing
1 changed file
with
5 additions
and
0 deletions
@@ -276,7 +276,12 @@ function getMarketPrice() { | @@ -276,7 +276,12 @@ function getMarketPrice() { | ||
276 | productSkn: productSkn | 276 | productSkn: productSkn |
277 | }, | 277 | }, |
278 | success: function(data) { | 278 | success: function(data) { |
279 | + if (data.goodsPrice.previousPrice) { | ||
279 | $('.previous-price').text(data.goodsPrice.previousPrice); | 280 | $('.previous-price').text(data.goodsPrice.previousPrice); |
281 | + } else { | ||
282 | + $('.previous-price').text(data.goodsPrice.currentPrice); | ||
283 | + } | ||
284 | + | ||
280 | } | 285 | } |
281 | }); | 286 | }); |
282 | } | 287 | } |
-
Please register or login to post a comment