How to add Buy now button at product single page in magento - 1.9? The Next CEO of Stack...
How do I keep Mac Emacs from trapping M-`?
Mathematica command that allows it to read my intentions
"Eavesdropping" vs "Listen in on"
What is the difference between 'contrib' and 'non-free' packages repositories?
Is it OK to decorate a log book cover?
Gauss' Posthumous Publications?
Car headlights in a world without electricity
Does Germany produce more waste than the US?
Can you teleport closer to a creature you are Frightened of?
Why does freezing point matter when picking cooler ice packs?
How to find if SQL server backup is encrypted with TDE without restoring the backup
How to implement Comparable so it is consistent with identity-equality
Does int main() need a declaration on C++?
Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico
logical reads on global temp table, but not on session-level temp table
What does it mean 'exit 1' for a job status after rclone sync
Could a dragon use its wings to swim?
Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact
The sum of any ten consecutive numbers from a fibonacci sequence is divisible by 11
Direct Implications Between USA and UK in Event of No-Deal Brexit
What day is it again?
Why did early computer designers eschew integers?
Prodigo = pro + ago?
How can a day be of 24 hours?
How to add Buy now button at product single page in magento - 1.9?
The Next CEO of Stack OverflowHow to override the controller AccountControllerHow to create and add `buy now` button along with add to cart button on each products?Magento 1.9 How to add buy now button in product page?Buy Now button on category page (listing page)Magento 1.9 How to add buy now button in product page?Magento Buy Now Button for Configurable ProductsBuy now and add to cart in magentoHow to add a feature to select delivery date and time at checkout page in Magento-1.9?Why the product button aren't adding into the cart?Creating Custom 'Buy Now' button with Custom buy now linkadd buy now button in homepage widget products list magento 2Magento 2.2.2 How to add Buy Now button with add to cart buttonLoad customer quote error after adding Buy now button at catalog page and product page in Magento 1.8
I have developed one Website on magento-1.9 version. Everything is working fine. Now, i need to add Buy now button additionally beside to the add to cart button at Single product page.
magento-1.9 checkout buy-now customize
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 3 more comments
I have developed one Website on magento-1.9 version. Everything is working fine. Now, i need to add Buy now button additionally beside to the add to cart button at Single product page.
magento-1.9 checkout buy-now customize
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
i can see an add to cart already in product page?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:33
edited, please check
– Teja Bhagavan Kollepara
Oct 26 '16 at 9:34
what needs to be done if a customer clicks buy now?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:36
2
Check with magento.stackexchange.com/questions/123072/…
– Krishna ijjada
Oct 26 '16 at 9:39
2
You can also check with magento.stackexchange.com/questions/76925/…
– Krishna ijjada
Oct 26 '16 at 9:40
|
show 3 more comments
I have developed one Website on magento-1.9 version. Everything is working fine. Now, i need to add Buy now button additionally beside to the add to cart button at Single product page.
magento-1.9 checkout buy-now customize
I have developed one Website on magento-1.9 version. Everything is working fine. Now, i need to add Buy now button additionally beside to the add to cart button at Single product page.
magento-1.9 checkout buy-now customize
magento-1.9 checkout buy-now customize
edited Mar 2 '17 at 5:47
Teja Bhagavan Kollepara
asked Oct 26 '16 at 9:29
Teja Bhagavan KolleparaTeja Bhagavan Kollepara
3,00841949
3,00841949
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 7 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
i can see an add to cart already in product page?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:33
edited, please check
– Teja Bhagavan Kollepara
Oct 26 '16 at 9:34
what needs to be done if a customer clicks buy now?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:36
2
Check with magento.stackexchange.com/questions/123072/…
– Krishna ijjada
Oct 26 '16 at 9:39
2
You can also check with magento.stackexchange.com/questions/76925/…
– Krishna ijjada
Oct 26 '16 at 9:40
|
show 3 more comments
i can see an add to cart already in product page?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:33
edited, please check
– Teja Bhagavan Kollepara
Oct 26 '16 at 9:34
what needs to be done if a customer clicks buy now?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:36
2
Check with magento.stackexchange.com/questions/123072/…
– Krishna ijjada
Oct 26 '16 at 9:39
2
You can also check with magento.stackexchange.com/questions/76925/…
– Krishna ijjada
Oct 26 '16 at 9:40
i can see an add to cart already in product page?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:33
i can see an add to cart already in product page?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:33
edited, please check
– Teja Bhagavan Kollepara
Oct 26 '16 at 9:34
edited, please check
– Teja Bhagavan Kollepara
Oct 26 '16 at 9:34
what needs to be done if a customer clicks buy now?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:36
what needs to be done if a customer clicks buy now?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:36
2
2
Check with magento.stackexchange.com/questions/123072/…
– Krishna ijjada
Oct 26 '16 at 9:39
Check with magento.stackexchange.com/questions/123072/…
– Krishna ijjada
Oct 26 '16 at 9:39
2
2
You can also check with magento.stackexchange.com/questions/76925/…
– Krishna ijjada
Oct 26 '16 at 9:40
You can also check with magento.stackexchange.com/questions/76925/…
– Krishna ijjada
Oct 26 '16 at 9:40
|
show 3 more comments
2 Answers
2
active
oldest
votes
Create a new module with a new ControllerAction just like CartController::addAction() and write a redirect to checkout onepage.
Make a request to that function with the button "Buy Now".
add a comment |
I will give you 2 solutions:
Either
1: you create an observer checkout_cart_add_product_complete
event to redirect to checkout whene you add a product instead a cart.
or
2: you rewrite app/code/core/Mage/Checkout/controllers/CartController.php
in your local codepool and rewrite the function protected function _goBack()
and change at the end $this->_redirect('checkout/cart');
to $this->_redirect('checkout/onepage');
Can you tell me more clearly please > in your local codepool means ?
– Teja Bhagavan Kollepara
May 12 '17 at 10:44
app/code/local
<-this is a local code pool, So to change the native behavior of magento, you must rewrite the file to not change directly in the core, it is forbidden. you can find many tutorials to know how to rewrite a cartController
– PЯINCƏ
May 13 '17 at 0:14
You mean, i need to create this CartController.php file in my local at the same path and need to edit that url right?
– Teja Bhagavan Kollepara
Nov 12 '17 at 13:52
No, you rewrite it in your local but just not the same path, refere you to this exemple magento.stackexchange.com/questions/92172/…
– PЯINCƏ
Nov 13 '17 at 8:49
add a comment |
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%2f142738%2fhow-to-add-buy-now-button-at-product-single-page-in-magento-1-9%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
Create a new module with a new ControllerAction just like CartController::addAction() and write a redirect to checkout onepage.
Make a request to that function with the button "Buy Now".
add a comment |
Create a new module with a new ControllerAction just like CartController::addAction() and write a redirect to checkout onepage.
Make a request to that function with the button "Buy Now".
add a comment |
Create a new module with a new ControllerAction just like CartController::addAction() and write a redirect to checkout onepage.
Make a request to that function with the button "Buy Now".
Create a new module with a new ControllerAction just like CartController::addAction() and write a redirect to checkout onepage.
Make a request to that function with the button "Buy Now".
answered Jan 2 '17 at 21:20
MarcelMaruMarcelMaru
112
112
add a comment |
add a comment |
I will give you 2 solutions:
Either
1: you create an observer checkout_cart_add_product_complete
event to redirect to checkout whene you add a product instead a cart.
or
2: you rewrite app/code/core/Mage/Checkout/controllers/CartController.php
in your local codepool and rewrite the function protected function _goBack()
and change at the end $this->_redirect('checkout/cart');
to $this->_redirect('checkout/onepage');
Can you tell me more clearly please > in your local codepool means ?
– Teja Bhagavan Kollepara
May 12 '17 at 10:44
app/code/local
<-this is a local code pool, So to change the native behavior of magento, you must rewrite the file to not change directly in the core, it is forbidden. you can find many tutorials to know how to rewrite a cartController
– PЯINCƏ
May 13 '17 at 0:14
You mean, i need to create this CartController.php file in my local at the same path and need to edit that url right?
– Teja Bhagavan Kollepara
Nov 12 '17 at 13:52
No, you rewrite it in your local but just not the same path, refere you to this exemple magento.stackexchange.com/questions/92172/…
– PЯINCƏ
Nov 13 '17 at 8:49
add a comment |
I will give you 2 solutions:
Either
1: you create an observer checkout_cart_add_product_complete
event to redirect to checkout whene you add a product instead a cart.
or
2: you rewrite app/code/core/Mage/Checkout/controllers/CartController.php
in your local codepool and rewrite the function protected function _goBack()
and change at the end $this->_redirect('checkout/cart');
to $this->_redirect('checkout/onepage');
Can you tell me more clearly please > in your local codepool means ?
– Teja Bhagavan Kollepara
May 12 '17 at 10:44
app/code/local
<-this is a local code pool, So to change the native behavior of magento, you must rewrite the file to not change directly in the core, it is forbidden. you can find many tutorials to know how to rewrite a cartController
– PЯINCƏ
May 13 '17 at 0:14
You mean, i need to create this CartController.php file in my local at the same path and need to edit that url right?
– Teja Bhagavan Kollepara
Nov 12 '17 at 13:52
No, you rewrite it in your local but just not the same path, refere you to this exemple magento.stackexchange.com/questions/92172/…
– PЯINCƏ
Nov 13 '17 at 8:49
add a comment |
I will give you 2 solutions:
Either
1: you create an observer checkout_cart_add_product_complete
event to redirect to checkout whene you add a product instead a cart.
or
2: you rewrite app/code/core/Mage/Checkout/controllers/CartController.php
in your local codepool and rewrite the function protected function _goBack()
and change at the end $this->_redirect('checkout/cart');
to $this->_redirect('checkout/onepage');
I will give you 2 solutions:
Either
1: you create an observer checkout_cart_add_product_complete
event to redirect to checkout whene you add a product instead a cart.
or
2: you rewrite app/code/core/Mage/Checkout/controllers/CartController.php
in your local codepool and rewrite the function protected function _goBack()
and change at the end $this->_redirect('checkout/cart');
to $this->_redirect('checkout/onepage');
edited May 12 '17 at 9:24
answered Jan 2 '17 at 22:46
PЯINCƏPЯINCƏ
8,38931145
8,38931145
Can you tell me more clearly please > in your local codepool means ?
– Teja Bhagavan Kollepara
May 12 '17 at 10:44
app/code/local
<-this is a local code pool, So to change the native behavior of magento, you must rewrite the file to not change directly in the core, it is forbidden. you can find many tutorials to know how to rewrite a cartController
– PЯINCƏ
May 13 '17 at 0:14
You mean, i need to create this CartController.php file in my local at the same path and need to edit that url right?
– Teja Bhagavan Kollepara
Nov 12 '17 at 13:52
No, you rewrite it in your local but just not the same path, refere you to this exemple magento.stackexchange.com/questions/92172/…
– PЯINCƏ
Nov 13 '17 at 8:49
add a comment |
Can you tell me more clearly please > in your local codepool means ?
– Teja Bhagavan Kollepara
May 12 '17 at 10:44
app/code/local
<-this is a local code pool, So to change the native behavior of magento, you must rewrite the file to not change directly in the core, it is forbidden. you can find many tutorials to know how to rewrite a cartController
– PЯINCƏ
May 13 '17 at 0:14
You mean, i need to create this CartController.php file in my local at the same path and need to edit that url right?
– Teja Bhagavan Kollepara
Nov 12 '17 at 13:52
No, you rewrite it in your local but just not the same path, refere you to this exemple magento.stackexchange.com/questions/92172/…
– PЯINCƏ
Nov 13 '17 at 8:49
Can you tell me more clearly please > in your local codepool means ?
– Teja Bhagavan Kollepara
May 12 '17 at 10:44
Can you tell me more clearly please > in your local codepool means ?
– Teja Bhagavan Kollepara
May 12 '17 at 10:44
app/code/
local
<-this is a local code pool, So to change the native behavior of magento, you must rewrite the file to not change directly in the core, it is forbidden. you can find many tutorials to know how to rewrite a cartController– PЯINCƏ
May 13 '17 at 0:14
app/code/
local
<-this is a local code pool, So to change the native behavior of magento, you must rewrite the file to not change directly in the core, it is forbidden. you can find many tutorials to know how to rewrite a cartController– PЯINCƏ
May 13 '17 at 0:14
You mean, i need to create this CartController.php file in my local at the same path and need to edit that url right?
– Teja Bhagavan Kollepara
Nov 12 '17 at 13:52
You mean, i need to create this CartController.php file in my local at the same path and need to edit that url right?
– Teja Bhagavan Kollepara
Nov 12 '17 at 13:52
No, you rewrite it in your local but just not the same path, refere you to this exemple magento.stackexchange.com/questions/92172/…
– PЯINCƏ
Nov 13 '17 at 8:49
No, you rewrite it in your local but just not the same path, refere you to this exemple magento.stackexchange.com/questions/92172/…
– PЯINCƏ
Nov 13 '17 at 8:49
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%2f142738%2fhow-to-add-buy-now-button-at-product-single-page-in-magento-1-9%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
i can see an add to cart already in product page?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:33
edited, please check
– Teja Bhagavan Kollepara
Oct 26 '16 at 9:34
what needs to be done if a customer clicks buy now?
– Shyam Krishna Sreekumar
Oct 26 '16 at 9:36
2
Check with magento.stackexchange.com/questions/123072/…
– Krishna ijjada
Oct 26 '16 at 9:39
2
You can also check with magento.stackexchange.com/questions/76925/…
– Krishna ijjada
Oct 26 '16 at 9:40