Good morning, I’m working in the store with a minimum amount. In the product registration I specify a minimum quantity of 1000. The unit price is 0.058. When accessing the page it shows as follows 0.06 for 1000 pieces but when increasing to 1001 it calculates correctly and goes to 58.00. segue o print quando acessa pela primeira vez http://prntscr.com/jlkbbs. Now the print of how I said add plus one in the amount it calculates correct http://prntscr.com/jlkcfo.
print of administrative area http://prntscr.com/jlkd6r. How to solve this error? and if it is possible to make the price not round?
|
|
Hi,
The price rounding is controlled from Admin > System > Localization > Currencies > Your currency > Decimal places:
https://i.imgur.com/hFUOynR.png
You need to choose how many symbols you wan to show after the decimal point. The default value is 2.
BR,
ThemeBurn team
|
|
We need that when the product page is loaded, the value is loaded calculated with the minimum quantity that is 1000, but it is not what is happening, it loads with value as if the quantity were 1, even being “1000″ in quantity.
Noting that when you change the quantity through the arrows, it calculates the value correctly according to the quantity.
|
|
Hi,
1) Open catalog/view/theme/BurnEngine/template/product/product.tpl
2) Find this code block:
<script type="text/javascript">
$(document).ready(function() {
$('#content').find('select[name="profile_id"], :input[name^="option"], :input[name^="quantity"]').change(function(){
.......................
});
});
</script>
3) Insert an event trigger trigger
<script type="text/javascript">
$(document).ready(function() {
$('#content').find('select[name="profile_id"], :input[name^="option"], :input[name^="quantity"]').change(function(){
.......................
}).trigger('change');
});
</script>
This should do the job.
BR,
ThemeBurn team
|
|
I’m working with 3 decimal places. But I wanted to show the value in the page of products with 2 houses by matching the value of the 3 decimal places up. How do I do that?
EXAMPLE: http://prntscr.com/jo1wda
|
|
Hi,
Unfortunately this is not possible.
BR,
ThemeBurn team
|
|