<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Optimise Blog &#187; checkout</title>
	<atom:link href="http://optimiseblog.co.uk/tag/checkout/feed/" rel="self" type="application/rss+xml" />
	<link>http://optimiseblog.co.uk</link>
	<description>Technology, in plain English!</description>
	<lastBuildDate>Mon, 09 Jan 2012 19:08:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fixed Magento Checkout : Set &#8216;Ship to This Address&#8217; as Default</title>
		<link>http://optimiseblog.co.uk/magento-checkout-ship-to-this-address/</link>
		<comments>http://optimiseblog.co.uk/magento-checkout-ship-to-this-address/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 12:47:13 +0000</pubDate>
		<dc:creator>Sid Vel</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[checkout]]></category>
		<category><![CDATA[eCommerce]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=340</guid>
		<description><![CDATA[How often would you buy from an online shop and ship the goods to an address that is different from your billing address? Sometimes, I do use the card that is registered with my home address, but use my office address for delivery. This might not be the same case with about 80% of online [...]]]></description>
			<content:encoded><![CDATA[<p>How often would you buy from an online shop and ship the goods to an address that is different from your billing address? Sometimes, I do use the card that is registered with my home address, but use my office address for delivery. This might not be the same case with about 80% of online shoppers.</p>
<p>Then, why does Magento eCommerce select the &#8220;<strong>Ship to different address</strong>&#8221; option as default!? Here is a way to fix it and make Magento to select &#8220;<strong>Ship to this address</strong>&#8221; by default.</p>
<h3>Magento FIX :</h3>
<p>Copy app/code/core/Mage/Checkout/Block/Onepage/Billing.php to app/code/local/Mage/Checkout/Block/Onepage/Billing.php. This ensures that you do not end up messing with Magento&#8217;s core files.</p>
<p><strong><em>Nagivate to the function</em></strong></p>
<p><code>public function isUseBillingAddressForShipping()<br />
{<br />
if (($this-&gt;getQuote()-&gt;getIsVirtual()) || !$this-&gt;getQuote()-&gt;getShippingAddress()-&gt;getSameAsBilling())<br />
{<br />
return false;<br />
}<br />
return true;<br />
}</code></p>
<p><strong><em>Swap around the returns &#8220;false&#8221; and &#8220;true&#8221;</em></strong></p>
<p><code>public function isUseBillingAddressForShipping()<br />
{<br />
if (($this-&gt;getQuote()-&gt;getIsVirtual()) || !$this-&gt;getQuote()-&gt;getShippingAddress()-&gt;getSameAsBilling())<br />
{<br />
return true;<br />
}<br />
return false;<br />
}</code></p>
<p>That&#8217;s a good fix. Enjoy working with Magento eCommerce!</p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/magento-checkout-ship-to-this-address/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Internet Explorer Adds Twice the Quantity to Cart</title>
		<link>http://optimiseblog.co.uk/magento-fix-internet-explorer-adds-twice-doubl-quantity-to-cart/</link>
		<comments>http://optimiseblog.co.uk/magento-fix-internet-explorer-adds-twice-doubl-quantity-to-cart/#comments</comments>
		<pubDate>Mon, 10 May 2010 16:08:32 +0000</pubDate>
		<dc:creator>Sid Vel</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[add to cart]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[checkout]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=245</guid>
		<description><![CDATA[We all like to style our Magento add to cart button as an image button. The problem is that IE 8 (Internet Explorer 8) will add the product twice and cause the quantity of that product in the cart to double up. There is an easy fix to this problem. Solution &#60;input type="image" src="&#60;?php echo $this-&#62;getSkinUrl('add-to-basket.png') [...]]]></description>
			<content:encoded><![CDATA[<p>We all like to style our Magento <strong>add to cart</strong> button as an image button. The problem is that IE 8 (Internet Explorer 8) will add the product twice and cause the quantity of that product in the cart to double up. There is an easy fix to this problem.<span id="more-245"></span></p>
<h3>Solution</h3>
<pre>&lt;input type="image" src="&lt;?php echo $this-&gt;getSkinUrl('add-to-basket.png') ?&gt;"</pre>
<pre>name="image-button" onclick="productAddToCartForm.submit(); return false;" /&gt;</pre>
<pre><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: small;"><span style="line-height: 19px; white-space: normal;"><span style="font-family: Consolas, Monaco, 'Courier New', Courier, monospace; font-size: small;"><span style="line-height: 18px; white-space: pre;">
</span></span></span></span></pre>
<p>Notice the <strong>return false;</strong> that I&#8217;ve added after the <strong>productAddToCartForm.submit()</strong>.</p>
<p>This will fix the problem of IE submitting the add to cart button twice.</p>
<p><strong>Update (Thanks Barcaro) :</strong><br />
File where edit is to be made&#8230;<br />
app/design/frontend/default/default/template/catalog/product/view/addtocart.phtml<br />
(change /default/default/ to your custom template path).</p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/magento-fix-internet-explorer-adds-twice-doubl-quantity-to-cart/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

