Create Order Totals - Remove currency symbol in Admin PanelNegative product prices in Admin Panel orderChanging <before> and <after> of totals in config.xml doesn't alter the order they are processedHow to insert an <iframe> in an Admin Panel <field>?Magento 2 - Add Custom Discount to Order Totals on Cart pageHow to add custom row in totals section after grand total row?Magento 2 - Add custom block to admin order create formMagento 2 Minicart - Display line item subtotal rather than unit priceMultiple currency not working with custom price quote - Magento 2Manage discounts for custom totalsTotal Weight in Cart Summary. Change symbol
Why must Chinese maps be obfuscated?
My bank got bought out, am I now going to have to start filing tax returns in a different state?
What is the most expensive material in the world that could be used to create pun-pun's lute?
How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?
Why does Arg'[1. + I] return -0.5?
Should the Product Owner dictate what info the UI needs to display?
Can a stored procedure reference the database in which it is stored?
Multiple options vs single option UI
Bayes factor vs P value
Why did C use the -> operator instead of reusing the . operator?
How bug prioritization works in agile projects vs non agile
Are there moral objections to a life motivated purely by money? How to sway a person from this lifestyle?
Nails holding drywall
Obeylines and gappto from etoolbox
What is this word supposed to be?
What does "function" actually mean in music?
How to run Arduino codes in Java netbeans?
How does the mezzoloth's teleportation work?
Will I lose my paid in full property
What's the difference between using dependency injection with a container and using a service locator?
Can a level 2 Warlock take one level in rogue, then continue advancing as a warlock?
Is there metaphorical meaning of "aus der Haft entlassen"?
Mistake in years of experience in resume?
How to keep bees out of canned beverages?
Create Order Totals - Remove currency symbol in Admin Panel
Negative product prices in Admin Panel orderChanging <before> and <after> of totals in config.xml doesn't alter the order they are processedHow to insert an <iframe> in an Admin Panel <field>?Magento 2 - Add Custom Discount to Order Totals on Cart pageHow to add custom row in totals section after grand total row?Magento 2 - Add custom block to admin order create formMagento 2 Minicart - Display line item subtotal rather than unit priceMultiple currency not working with custom price quote - Magento 2Manage discounts for custom totalsTotal Weight in Cart Summary. Change symbol
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I've added custom totals "Total Weight". It works perfectly on the storefront but in admin panel it displays currency symbol $ and it is formatted with .00. How can I change it? It should be not formatted and prefix $ should be replaced with postfix "lbs".

magento2 admin adminhtml totals
add a comment |
I've added custom totals "Total Weight". It works perfectly on the storefront but in admin panel it displays currency symbol $ and it is formatted with .00. How can I change it? It should be not formatted and prefix $ should be replaced with postfix "lbs".

magento2 admin adminhtml totals
Show your code.
– Sohel Rana
5 hours ago
siphor.com/add-a-custom-total-in-magento-2 I used this example. My code is exacly the same. As a workaround I overrided module-sales/view/adminhtml/templates/order/create/totals/default.phtml. Every custom total is wrapped with method formatPrice() there
– Wojciech Ka
5 hours ago
add a comment |
I've added custom totals "Total Weight". It works perfectly on the storefront but in admin panel it displays currency symbol $ and it is formatted with .00. How can I change it? It should be not formatted and prefix $ should be replaced with postfix "lbs".

magento2 admin adminhtml totals
I've added custom totals "Total Weight". It works perfectly on the storefront but in admin panel it displays currency symbol $ and it is formatted with .00. How can I change it? It should be not formatted and prefix $ should be replaced with postfix "lbs".

magento2 admin adminhtml totals
magento2 admin adminhtml totals
edited 6 hours ago
Sudhanshu Bajaj
535
535
asked 6 hours ago
Wojciech KaWojciech Ka
15514
15514
Show your code.
– Sohel Rana
5 hours ago
siphor.com/add-a-custom-total-in-magento-2 I used this example. My code is exacly the same. As a workaround I overrided module-sales/view/adminhtml/templates/order/create/totals/default.phtml. Every custom total is wrapped with method formatPrice() there
– Wojciech Ka
5 hours ago
add a comment |
Show your code.
– Sohel Rana
5 hours ago
siphor.com/add-a-custom-total-in-magento-2 I used this example. My code is exacly the same. As a workaround I overrided module-sales/view/adminhtml/templates/order/create/totals/default.phtml. Every custom total is wrapped with method formatPrice() there
– Wojciech Ka
5 hours ago
Show your code.
– Sohel Rana
5 hours ago
Show your code.
– Sohel Rana
5 hours ago
siphor.com/add-a-custom-total-in-magento-2 I used this example. My code is exacly the same. As a workaround I overrided module-sales/view/adminhtml/templates/order/create/totals/default.phtml. Every custom total is wrapped with method formatPrice() there
– Wojciech Ka
5 hours ago
siphor.com/add-a-custom-total-in-magento-2 I used this example. My code is exacly the same. As a workaround I overrided module-sales/view/adminhtml/templates/order/create/totals/default.phtml. Every custom total is wrapped with method formatPrice() there
– Wojciech Ka
5 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f272459%2fcreate-order-totals-remove-currency-symbol-in-admin-panel%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f272459%2fcreate-order-totals-remove-currency-symbol-in-admin-panel%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Show your code.
– Sohel Rana
5 hours ago
siphor.com/add-a-custom-total-in-magento-2 I used this example. My code is exacly the same. As a workaround I overrided module-sales/view/adminhtml/templates/order/create/totals/default.phtml. Every custom total is wrapped with method formatPrice() there
– Wojciech Ka
5 hours ago