how to get the grand total in magento1.9 in payment information step of onepage checkout updated including...
Are hand made posters acceptable in Academia?
Print last inputted byte
Which partition to make active?
Why are there no stars visible in cislunar space?
Unfrosted light bulb
Is VPN a layer 3 concept?
Why do I have a large white artefact on the rendered image?
UK Tourist Visa- Enquiry
When should a starting writer get his own webpage?
Emojional cryptic crossword
How to read string as hex number in bash?
PTIJ: Which Dr. Seuss books should one obtain?
Why is this tree refusing to shed its dead leaves?
What is the reasoning behind standardization (dividing by standard deviation)?
How to test the sharpness of a knife?
When did hardware antialiasing start being available?
Do I need to convey a moral for each of my blog post?
Do native speakers use "ultima" and "proxima" frequently in spoken English?
Asserting that Atheism and Theism are both faith based positions
Exit shell with shortcut (not typing exit) that closes session properly
The English Debate
Recursively updating the MLE as new observations stream in
Output visual diagram of picture
What is it called when someone votes for an option that's not their first choice?
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 ---MagentoHow to remove Billing Address from Onepage checkout MagentoMagento Grand Total without taxes in 1.9 with PHP7Is it possible to hide the shipping method step on magento checkout processHow to get Shipping method name and shipping price in onepage checkoutHow to show Magento order review before payment process with functionality alsoHow to add updated shipping cost in grand totalWrong Tax calculationOne Step Checkout Undefined index: country_idMagento 1.9 combining Billing & shipping information into one and shipping method & payment information into one
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 6 mins ago
Shoaib Munir
2,1081828
2,1081828
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,1081828
2,1081828
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