Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
This tag should be used for questions related to the Magento checkout process.
0
votes
1
answer
772
views
How to use the country set in the shipping estimate in checkout?
How can I use this country as default in the (billing + shipping) address in the checkout? …
0
votes
How to use the country set in the shipping estimate in checkout?
.
/**
* Use the country from the shipping estimator in the checkout
*
* @event controller_action_predispatch_checkout_cart_estimatePost
* @param Varien_Event_Observer $observer
*/
public function … controllerActionPredispatchCheckoutCartEstimatePost(Varien_Event_Observer $observer)
{
$request = $observer->getControllerAction()->getRequest();
$country = (string) $request->getParam('country_id');
$cart = Mage::getSingleton('checkout …
159
votes
Accepted
How to test or style the order success page?
Now you can always call checkout/onepage/success
While you are at it, you might want to test the failureAction() as well, in
/app/code/core/Mage/Checkout/controllers/OnepageController.php
The modified … $lastOrderId) {
$this->_redirect('checkout/cart');
return;
}
$this->loadLayout();
$this->renderLayout();
}
Now you can always call checkout/onepage …
122
votes
9
answers
52k
views
How to test or style the order success page?
If I reload the checkout/onepage/success page, I am directed to the cart.
So, when debugging or styling the order success page, I always have to make a new order. …
1
vote
How to test or style the order success page?
Magento 2
vendor/magento/module-checkout/Controller/Onepage/Success.php
comment out below line :
// $session->clearQuote();
Please note that, as the current session quote is already cleared, You …
3
votes
Accepted
Generate one click test buy for develoment
If you just developing / styling the success page and your are annoyed that you can only view it once, this is a duplicate of: How to test or style the order success page?
edit:
In cases you need lo …
0
votes
Debugging Magento Checkout- Property getType of Null, when messing around with Billing and S...
With list.js it means vendor/magento/module-checkout/view/frontend/web/js/view/shipping-information/list.js, the corresponding template is vendor/magento/module-checkout/view/frontend/web/template/shipping-information … This is vendor/magento/module-checkout/view/frontend/web/js/model/shipping-rate-service.js where I can add
quote.shippingAddress.subscribe(function () {
if (quote.shippingAddress() == null …
1
vote
0
answers
216
views
Custom Javascript in Checkout - Agreements Modal
We try to use a custom component in the agreement modal in the checkout like by including the following HTML (which works on CMS pages) into the agreement block:
<div class="agreements js-accordeon" data-mage-init … Is there a right, yet simple way to do run a custom javascript in the agreement modal at the end of the checkout? …
0
votes
1
answer
3k
views
Debugging Magento Checkout- Property getType of Null, when messing around with Billing and S...
I am doing some heavy customization on the checkout (pulling billing address to the first position, next to shipping address). … If have added a plugin to view/shipping.js:
define(
[
'Magento_Checkout/js/model/quote',
'Magento_Checkout/js/action/select-shipping-address',
'Magento_Checkout/js/checkout-data'
] …
2
votes
4
answers
140
views
Customer reports that he is not forwarded to PayPal
We are using PayPal express payments and the OneStepCheckout module.
A customer reported that he tried to make an order, but when clicking "buy" the waiting animation keeps being displayed and he is …
9
votes
Accepted
Activated but still "The requested Payment Method is not available." as registered user only
Try the following (ordered by the effort it would take, if one step does not help you, take the next one)
Check the allowed countries that you can configure for each payment method in the admin back …
2
votes
Accepted
Allow free order for custom payment
You can overwrite the function and while calling parent, unset the CHECK_TOTAL_ZERO in the second parameter.
public function isApplicableToQuote($quote, $checksBitMask)
{
return parent::isApplica …
3
votes
Enable the Browser's Autocomplete in Onepage Checkout Form
Magento disables the automatic filling of some forms.
This is done by calls like elements[i].setAttribute('autocomplete','off');
in opcheckout.js.
But even uncommenting this call did not make it …
0
votes
0
answers
57
views
Pull in Terms and Conditions from Static Block
On Terms and Conditions we try to pull in a static block
{{block class="Magento\Cms\Block\Block" block_id="terms_and_conditions"}}
{{block id='terms_and_conditions'}}
Both variants are displayed as …