ArchiveMonth: November 2012

In Magento, How to redirect all non www pages to www pages

In .htaccess, after

#RewriteBase /magento/
After it I placed on their own lines:

RewriteCond %{HTTP_HOST} !^www.website.com$ [NC]
RewriteRule ^(.*)$ http://www.website.com/$1 [L,R=301]

Magento Fix when upgrade to 1.7 and State drop down does not appear in IE 8, IE 7, etc.

Replace the following code in form.js

if (this.regionSelectEl.options.add) {
this.regionSelectEl.options.add(option);
} else {
this.regionSelectEl.appendChild(option);
}

with:

if (this.regionSelectEl.options.length > 0 && option.value.length > 0 && option.text.length > 0 && this.regionSelectEl.options.add){
//~ this.regionSelectEl.options.add(option);
this.regionSelectEl.appendChild(option);
} else {
this.regionSelectEl.appendChild(option);
}

Contact us today! Let's talk about how we can help grow your business.

Contact Us