Because we price all our products (jewelry) in rounded dollar amounts, I have our store's Decimal Places on Price (settings > general > store settings > store > regional settings) set to 0; makes for much cleaner category and product pages. Oddly, however, 3dcart applies the setting to dollar amounts within emails the system sends to our clients (Order Summary, for instance, from settings > design > emails > order emails > new order - customer), meaning the emailed amounts are NOT correct. For instance, if tax on an item is 175.75, the emailed summary will round such up to $176, creating an error in that line as well as the total.
3dcart has internal invoices (orders > manage orders > shipped, for instance) correctly overriding the Decimal Places on Price setting; meaning decimal places show on all invoice amounts, meaning these invoices are correct.
We need to either (A) have our emailers pull the same figures as these invoices (no decimal filter), or (B) change our store preference to 2 decimal places, then use JS/JQuery to remove the ".00" from store prices (class .product-price) within our website (again, but not email).
I write neither JS nor JQuery and so, while I can see how this could work, cannot author it myself.
Anyone care to share how to accomplish either approach?
3dcart has internal invoices (orders > manage orders > shipped, for instance) correctly overriding the Decimal Places on Price setting; meaning decimal places show on all invoice amounts, meaning these invoices are correct.
We need to either (A) have our emailers pull the same figures as these invoices (no decimal filter), or (B) change our store preference to 2 decimal places, then use JS/JQuery to remove the ".00" from store prices (class .product-price) within our website (again, but not email).
I write neither JS nor JQuery and so, while I can see how this could work, cannot author it myself.
Anyone care to share how to accomplish either approach?
Comment