How to get the Grand Total with shipping charge and tax at onepage checkout in Magento 1.9?Grand total update on billing information save in onepage checkout ---MagentoHow to remove Billing Address from 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 checkoutHow to change Shipping Method title in magento checkout pageUpdate Grand Total based on Discount/PointsHow to add updated shipping cost in grand totalMagento 1.9 combining Billing & shipping information into one and shipping method & payment information into oneMagento 2: How can I update tax and total programmatically on checkout?
Everytime I convert PDF to PNG it becomes more pixely. How can I fix it?
Can 2 light bulbs of 120V in series be used on 230V AC?
Better than Rembrandt
Richard's Favourite TV Programme
Precedent for disabled Kings
Addressing an email
Parse a C++14 integer literal
Isn't Kirchhoff's junction law a violation of conservation of charge?
How was the blinking terminal cursor invented?
Why could the Lunar Ascent Engine be used only once?
Why would Thor need to strike a building with lightning to attack enemies?
Is my company merging branches wrong?
Bash Read: Reading comma separated list, last element is missed
Can I have a delimited macro with a literal # in the parameter text?
What's is the easiest way to purchase a stock and hold it
Is it wise to pay off mortgage with 401k?
How come Arya Stark wasn't hurt by this in Game of Thrones Season 8 Episode 5?
Failing students when it might cause them economic ruin
Hotel booking: Why is Agoda much cheaper than booking.com?
What does this 'x' mean on the stem of the voice's note, above the notehead?
How to convince boss to spend notice period on documentation instead of new projects
Would it be possible to set up a franchise in the ancient world?
How can sister protect herself from impulse purchases with a credit card?
How to choose the correct exposure for flower photography?
How to get the Grand Total with shipping charge and tax at onepage checkout in Magento 1.9?
Grand total update on billing information save in onepage checkout ---MagentoHow to remove Billing Address from 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 checkoutHow to change Shipping Method title in magento checkout pageUpdate Grand Total based on Discount/PointsHow to add updated shipping cost in grand totalMagento 1.9 combining Billing & shipping information into one and shipping method & payment information into oneMagento 2: How can I update tax and total programmatically on checkout?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
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 with 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 with 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 with 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 with this?
magento-1.9 totals grand-total
magento-1.9 totals grand-total
edited May 13 at 13:40
Siva
460213
460213
asked Dec 3 '15 at 9:19
Anurag KhandelwalAnurag Khandelwal
3441417
3441417
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-with-shipping-charge-and-tax-at-onepage-checkout-in-m%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,19721229
4,19721229
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,00942051
3,00942051
answered Feb 8 '17 at 6:42
Shoaib MunirShoaib Munir
3,08151760
3,08151760
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-with-shipping-charge-and-tax-at-onepage-checkout-in-m%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