how to get the grand total in magento1.9 in payment information step of onepage checkout updated including shipping charge, taxGrand total update on billing information save in onepage checkout ---MagentoMagento Grand Total without taxes in 1.9 with PHP7How to display shipping estimate and auto add this to grand total on cart page?How to get Shipping method name and shipping price in onepage checkoutUpdate Grand Total based on Discount/PointsHow to add updated shipping cost in grand totalWrong Tax calculationMagento 2 - Wrong Order Total , Summary Sidebar not update the totalMagento 2: How can I update tax and total programmatically on checkout?Magento 2 Collect Total In Payment Step
Derivative of an interpolated function
Why does the frost depth increase when the surface temperature warms up?
If the Dominion rule using their Jem'Hadar troops, why is their life expectancy so low?
New Order #2: Turn My Way
Is there a page on which I can view all Sitecore jobs running?
Connection Between Knot Theory and Number Theory
What do the positive and negative (+/-) transmit and receive pins mean on Ethernet cables?
Is divisi notation needed for brass or woodwind in an orchestra?
Weird lines in Microsoft Word
Center page as a whole without centering each element individually
Find a point shared by maximum segments
Do native speakers use "ultima" and "proxima" frequently in spoken English?
PTIJ: Which Dr. Seuss books should one obtain?
How do you justify more code being written by following clean code practices?
Travelling in US for more than 90 days
How would a solely written language work mechanically
What is the purpose of using a decision tree?
Friend wants my recommendation but I don't want to give it to him
Are hand made posters acceptable in Academia?
Why didn’t Eve recognize the little cockroach as a living organism?
Offset in split text content
A seasonal riddle
Pre-Employment Background Check With Consent For Future Checks
Error in master's thesis, I do not know what to do
how to get the grand total in magento1.9 in payment information step of onepage checkout updated including shipping charge, tax
Grand total update on billing information save in onepage checkout ---MagentoMagento Grand Total without taxes in 1.9 with PHP7How to display shipping estimate and auto add this to grand total on cart page?How to get Shipping method name and shipping price in onepage checkoutUpdate Grand Total based on Discount/PointsHow to add updated shipping cost in grand totalWrong Tax calculationMagento 2 - Wrong Order Total , Summary Sidebar not update the totalMagento 2: How can I update tax and total programmatically on checkout?Magento 2 Collect Total In Payment Step
In onepage checkout, I am trying to get grand total but it is not updated based on shipping charges, taxes applied instead it is only showing product cost..
After selecting the shipping method and reloading the page is updating grand total correctly but I wanted to update grand total in the step payment information.
Can anybody please help me in this?
magento-1.9 totals grand-total
add a comment |
In onepage checkout, I am trying to get grand total but it is not updated based on shipping charges, taxes applied instead it is only showing product cost..
After selecting the shipping method and reloading the page is updating grand total correctly but I wanted to update grand total in the step payment information.
Can anybody please help me in this?
magento-1.9 totals grand-total
Can you please show ur code?
– Amit Bera♦
Dec 3 '15 at 9:21
add a comment |
In onepage checkout, I am trying to get grand total but it is not updated based on shipping charges, taxes applied instead it is only showing product cost..
After selecting the shipping method and reloading the page is updating grand total correctly but I wanted to update grand total in the step payment information.
Can anybody please help me in this?
magento-1.9 totals grand-total
In onepage checkout, I am trying to get grand total but it is not updated based on shipping charges, taxes applied instead it is only showing product cost..
After selecting the shipping method and reloading the page is updating grand total correctly but I wanted to update grand total in the step payment information.
Can anybody please help me in this?
magento-1.9 totals grand-total
magento-1.9 totals grand-total
edited 16 hours ago
Shoaib Munir
2,1301828
2,1301828
asked Dec 3 '15 at 9:19
Anurag KhandelwalAnurag Khandelwal
3451417
3451417
Can you please show ur code?
– Amit Bera♦
Dec 3 '15 at 9:21
add a comment |
Can you please show ur code?
– Amit Bera♦
Dec 3 '15 at 9:21
Can you please show ur code?
– Amit Bera♦
Dec 3 '15 at 9:21
Can you please show ur code?
– Amit Bera♦
Dec 3 '15 at 9:21
add a comment |
2 Answers
2
active
oldest
votes
Try
$quote = Mage::getModel('checkout/session')->getQuote();
$quoteData= $quote->getData();
$grandTotal=$quoteData['grand_total'];
OR
print_r(Mage::helper('checkout')->getQuote()->getData());
I tried this only but it will not give you updated grand total, it excludes shipping charges, taxes, etc in the step of payment information.. And if I reload the page at the very moment, then it updates the grand total. Is there any way so that while moving to step payment information, it refreshes the grand total to calculate accordingly
– Anurag Khandelwal
Dec 3 '15 at 9:32
edited my answer try that also.
– Akhilesh Patel
Dec 3 '15 at 9:38
Thanks a lot man, it worked!! print_r(Mage::helper('checkout')->getQuote()->getData());
– Anurag Khandelwal
Dec 3 '15 at 9:48
Why getting the full data array? What about$quote->getGrandTotal()or$quote->getData('grand_total')?
– 7ochem
Dec 3 '15 at 9:49
yes you can use $quote->getGrandTotal()
– Akhilesh Patel
Dec 3 '15 at 9:50
|
show 6 more comments
You can get the grand total by using this:
$grandTotal = Mage::getModel('checkout/session')->getQuote()->getGrandTotal();
add a comment |
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%2f92469%2fhow-to-get-the-grand-total-in-magento1-9-in-payment-information-step-of-onepage%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try
$quote = Mage::getModel('checkout/session')->getQuote();
$quoteData= $quote->getData();
$grandTotal=$quoteData['grand_total'];
OR
print_r(Mage::helper('checkout')->getQuote()->getData());
I tried this only but it will not give you updated grand total, it excludes shipping charges, taxes, etc in the step of payment information.. And if I reload the page at the very moment, then it updates the grand total. Is there any way so that while moving to step payment information, it refreshes the grand total to calculate accordingly
– Anurag Khandelwal
Dec 3 '15 at 9:32
edited my answer try that also.
– Akhilesh Patel
Dec 3 '15 at 9:38
Thanks a lot man, it worked!! print_r(Mage::helper('checkout')->getQuote()->getData());
– Anurag Khandelwal
Dec 3 '15 at 9:48
Why getting the full data array? What about$quote->getGrandTotal()or$quote->getData('grand_total')?
– 7ochem
Dec 3 '15 at 9:49
yes you can use $quote->getGrandTotal()
– Akhilesh Patel
Dec 3 '15 at 9:50
|
show 6 more comments
Try
$quote = Mage::getModel('checkout/session')->getQuote();
$quoteData= $quote->getData();
$grandTotal=$quoteData['grand_total'];
OR
print_r(Mage::helper('checkout')->getQuote()->getData());
I tried this only but it will not give you updated grand total, it excludes shipping charges, taxes, etc in the step of payment information.. And if I reload the page at the very moment, then it updates the grand total. Is there any way so that while moving to step payment information, it refreshes the grand total to calculate accordingly
– Anurag Khandelwal
Dec 3 '15 at 9:32
edited my answer try that also.
– Akhilesh Patel
Dec 3 '15 at 9:38
Thanks a lot man, it worked!! print_r(Mage::helper('checkout')->getQuote()->getData());
– Anurag Khandelwal
Dec 3 '15 at 9:48
Why getting the full data array? What about$quote->getGrandTotal()or$quote->getData('grand_total')?
– 7ochem
Dec 3 '15 at 9:49
yes you can use $quote->getGrandTotal()
– Akhilesh Patel
Dec 3 '15 at 9:50
|
show 6 more comments
Try
$quote = Mage::getModel('checkout/session')->getQuote();
$quoteData= $quote->getData();
$grandTotal=$quoteData['grand_total'];
OR
print_r(Mage::helper('checkout')->getQuote()->getData());
Try
$quote = Mage::getModel('checkout/session')->getQuote();
$quoteData= $quote->getData();
$grandTotal=$quoteData['grand_total'];
OR
print_r(Mage::helper('checkout')->getQuote()->getData());
edited Dec 3 '15 at 9:38
answered Dec 3 '15 at 9:30
Akhilesh PatelAkhilesh Patel
4,15921229
4,15921229
I tried this only but it will not give you updated grand total, it excludes shipping charges, taxes, etc in the step of payment information.. And if I reload the page at the very moment, then it updates the grand total. Is there any way so that while moving to step payment information, it refreshes the grand total to calculate accordingly
– Anurag Khandelwal
Dec 3 '15 at 9:32
edited my answer try that also.
– Akhilesh Patel
Dec 3 '15 at 9:38
Thanks a lot man, it worked!! print_r(Mage::helper('checkout')->getQuote()->getData());
– Anurag Khandelwal
Dec 3 '15 at 9:48
Why getting the full data array? What about$quote->getGrandTotal()or$quote->getData('grand_total')?
– 7ochem
Dec 3 '15 at 9:49
yes you can use $quote->getGrandTotal()
– Akhilesh Patel
Dec 3 '15 at 9:50
|
show 6 more comments
I tried this only but it will not give you updated grand total, it excludes shipping charges, taxes, etc in the step of payment information.. And if I reload the page at the very moment, then it updates the grand total. Is there any way so that while moving to step payment information, it refreshes the grand total to calculate accordingly
– Anurag Khandelwal
Dec 3 '15 at 9:32
edited my answer try that also.
– Akhilesh Patel
Dec 3 '15 at 9:38
Thanks a lot man, it worked!! print_r(Mage::helper('checkout')->getQuote()->getData());
– Anurag Khandelwal
Dec 3 '15 at 9:48
Why getting the full data array? What about$quote->getGrandTotal()or$quote->getData('grand_total')?
– 7ochem
Dec 3 '15 at 9:49
yes you can use $quote->getGrandTotal()
– Akhilesh Patel
Dec 3 '15 at 9:50
I tried this only but it will not give you updated grand total, it excludes shipping charges, taxes, etc in the step of payment information.. And if I reload the page at the very moment, then it updates the grand total. Is there any way so that while moving to step payment information, it refreshes the grand total to calculate accordingly
– Anurag Khandelwal
Dec 3 '15 at 9:32
I tried this only but it will not give you updated grand total, it excludes shipping charges, taxes, etc in the step of payment information.. And if I reload the page at the very moment, then it updates the grand total. Is there any way so that while moving to step payment information, it refreshes the grand total to calculate accordingly
– Anurag Khandelwal
Dec 3 '15 at 9:32
edited my answer try that also.
– Akhilesh Patel
Dec 3 '15 at 9:38
edited my answer try that also.
– Akhilesh Patel
Dec 3 '15 at 9:38
Thanks a lot man, it worked!! print_r(Mage::helper('checkout')->getQuote()->getData());
– Anurag Khandelwal
Dec 3 '15 at 9:48
Thanks a lot man, it worked!! print_r(Mage::helper('checkout')->getQuote()->getData());
– Anurag Khandelwal
Dec 3 '15 at 9:48
Why getting the full data array? What about
$quote->getGrandTotal() or $quote->getData('grand_total')?– 7ochem
Dec 3 '15 at 9:49
Why getting the full data array? What about
$quote->getGrandTotal() or $quote->getData('grand_total')?– 7ochem
Dec 3 '15 at 9:49
yes you can use $quote->getGrandTotal()
– Akhilesh Patel
Dec 3 '15 at 9:50
yes you can use $quote->getGrandTotal()
– Akhilesh Patel
Dec 3 '15 at 9:50
|
show 6 more comments
You can get the grand total by using this:
$grandTotal = Mage::getModel('checkout/session')->getQuote()->getGrandTotal();
add a comment |
You can get the grand total by using this:
$grandTotal = Mage::getModel('checkout/session')->getQuote()->getGrandTotal();
add a comment |
You can get the grand total by using this:
$grandTotal = Mage::getModel('checkout/session')->getQuote()->getGrandTotal();
You can get the grand total by using this:
$grandTotal = Mage::getModel('checkout/session')->getQuote()->getGrandTotal();
edited Feb 8 '17 at 6:59
Teja Bhagavan Kollepara
3,00641949
3,00641949
answered Feb 8 '17 at 6:42
Shoaib MunirShoaib Munir
2,1301828
2,1301828
add a comment |
add a comment |
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%2f92469%2fhow-to-get-the-grand-total-in-magento1-9-in-payment-information-step-of-onepage%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
Can you please show ur code?
– Amit Bera♦
Dec 3 '15 at 9:21