when placing an order, the default selection is “ship to different address”. shouldn’t this be “ship to this address”? majority of people ordering are shipping to the same place they are billing to.
also, i have paypal direct with website payments pro enabled. everything seems to work fine, but when i checkout, i have to check the radio button next to Paypal Direct for it to bring up the ccname, cccardtype, ccnumber, etc. this is a problem because some (stupid) people might not know to click the radio box next to Paypal Direct, and will just be staring at the screen trying to figure out how to pay for an item. trust me, customers are that stupid (if not more stupid). is there any way to make the credit card name, number, etc. automatically appear when going to the Payment Information tab?
I don’t think this is the best solution, but I added this line of code to /skin/frontend/default/<theme>/js/opcheckout.js on line 37 inside the initialize function.
Thanks Andreas, I messed this up at first but it works now. The extra code that Andreas suggested has to go in the initialize: function(acordion, urls){...} section near the beginning of the /magento/skin/frontend/default/default/js/opcheckout.js) file.
How does this relate to actual XHTML code? Is it not possible to find where in the code the checked attribute for a radio button is set to “checked” for each stage in the checkout process and then change which is the default radio button that way?
The XHTML output to the browser has to be something like:
If I could now also set the single Shipping Method I am using (Free Shipping) to be checked by default in the one-page-checkout I would be a happy bunny.
I’m not sure it’s a good idea to force “ship to this address” to be checked as default in all situations. What if the customer already has an account with pre-defined billing and shipping addresses that are different?
Does anyone now how to check if the addresses are defined and equal? Right now, Magento checks it in Mage_Checkout_Block_Onepage_Billing by calling $this->getQuote()->getShippingAddress()->getSameAsBilling(), but this returns false when the addresses are not defined.
Personally, I prefer “Ship to this address” to be the default setting.
The following modification to the isUseBillingAddressForShipping() function in app/code/core/Mage/Checkout/Block/Onepage/Billing.php will set the Ship to this address as the default. It worked for me.
public function isUseBillingAddressForShipping() { if (($this->getQuote()->getIsVirtual()) || (!$this->getQuote()->getShippingAddress()->getSameAsBilling())) { return true; } else { return false; } }
Original code:
public function isUseBillingAddressForShipping() { if (($this->getQuote()->getIsVirtual()) || !$this->getQuote()->getShippingAddress()->getSameAsBilling()) { return false; } return true; }
Ideally, we should be able to set this somewhere in the Admin Panel, instead of changing the code.
Do you guys know if there is a way to disable shipping to an alternative address completely? My client has plenty of fraudulent purchases due to cloned cards being used shipping to a different address tot he cardholders.