I'm trying to add a disclaimer message on the Shipping Method stage in the Magento onepage checkout to those users whose shipping address is located in Canada. My store is US based, but does ship to Canada, but I want users from Canada to know they are responsible for any duties and taxes. Is there a way to add that message if their shipping address is Canadian?
2
votes
1 Answers
6
votes
The quick way (not the prettiest though) will be to modify your app/design/frontend/YOUR_INTERFACE/YOUR_THEME/template/checkout/onepage/shipping_method.phtml file and add the following code at the very top:
<?php if($this->getQuote()->getShippingAddress()->getCountry() == 'CA' ||
($this->getQuote()->getShippingAddress()->getSameAsBilling() && $this->getQuote()->getBillingAddress()->getCountry() == 'CA')): ?>
BLAME CANADA !!!
<?php endif; ?>