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
In gnome-terminal only 2 out of 3 zoom keys work
What does YCWCYODFTRFDTY mean?
Colliding particles and Activation energy
What are the spoon bit of a spoon and fork bit of a fork called?
Was it really necessary for the Lunar Module to have 2 stages?
Asahi Dry Black beer can
Please, smoke with good manners
What is a Recurrent Neural Network?
Stark VS Thanos
Pulling the rope with one hand is as heavy as with two hands?
Given what happens in Endgame, why doesn't Dormammu come back to attack the universe?
Why does nature favour the Laplacian?
Possible to set `foldexpr` using a function reference?
Did Henry V’s archers at Agincourt fight with no pants / breeches on because of dysentery?
What word means to make something obsolete?
Why was Germany not as successful as other Europeans in establishing overseas colonies?
Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?
Confused by notation of atomic number Z and mass number A on periodic table of elements
Pawn Sacrifice Justification
Past Perfect Tense
Transfer over $10k
Reverse the word in a string with the same order in javascript
You look catfish vs You look like a catfish
What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?
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
Apr 25 at 14:34
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
Apr 25 at 15:06
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 Apr 25 at 14:03
Sudhanshu Bajaj
556
556
asked Apr 25 at 13:37
Wojciech KaWojciech Ka
15514
15514
Show your code.
– Sohel Rana
Apr 25 at 14:34
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
Apr 25 at 15:06
add a comment |
Show your code.
– Sohel Rana
Apr 25 at 14:34
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
Apr 25 at 15:06
Show your code.
– Sohel Rana
Apr 25 at 14:34
Show your code.
– Sohel Rana
Apr 25 at 14:34
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
Apr 25 at 15:06
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
Apr 25 at 15:06
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
Apr 25 at 14:34
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
Apr 25 at 15:06