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
Add product to cart then auto redirect to checkout page
php echo $this->getUrl('checkout/onepage') ?>');
</script>
The above assume that you want to redirect to onepage checkout. But you can easily modify it to accommodate other checkout types. … Mage::getSingleton('checkout/session')->getQuote()->getHasError()) {
Mage::getSingleton('checkout/session')->setNoCartRedirect(true);
$url = Mage::getUrl('checkout/onepage');
$observer …
2
votes
1
answer
673
views
Why multishipping is disabled for items with decimal qty?
From Mage_Checkout_Helper_Data
/**
* Check if multishipping checkout is available.
* There should be a valid quote in checkout session. If not, only the config value will be returned. …
0
votes
Why you change the site's allowed countries old saved addresses still work
Assuming you are using one page checkout, then you need to override the method getAddressesHtmlSelect in Mage_Checkout_Block_Onepage_Abstract with the following:
public function getAddressesHtmlSelect … this.value)"')
->setValue($addressId)
->setOptions($options);
$select->addOption('', Mage::helper('checkout')->__('New Address'));
return $select->getHtml(); …
2
votes
Magento multiple order on one checkout or order splitting
The following is tested in CE ver 1.9.0.x
/**
* Overwrite core
*/
class Vendor_Module_Model_Checkout_Type_Onepage extends Mage_Checkout_Model_Type_Onepage
{
protected $_oriAddresses = array();
…
2
votes
Custom data send with order into backend
Create a layout update in app\design\adminhtml\default\default\layout\msd.xml to add a tab in the admin order view:
<layout version="0.1.0">
<adminhtml_sales_order_view>
<refe …