Archive for the 'i like magento' Category

Magento 1.42 – Change Check to Cheque

Magento 1.42 –...

If you are unable to change the words “send check to” to “send cheque to”, and none of the threads below help then you need to edit the words in /app/code/core/Mage/Payment/etc/system.xml. The word “check” appears around lines 173,234, and 241....
Magento update stock levels after AFM delivery

Magento update stock...

<?php $dir = "/home/afm/incoming/deliveries"; $pattern = "*.CSV"; if (is_dir($dir)) { if ($dh = opendir($dir)) { // iterate over file list while (($filename = readdir($dh)) !== false) { if (fnmatch($pattern, $filename)) { $file= $dir . "/" . $filename; $row = 1; if (($handle...
Magento -Hide attributes with the value ‘No’ on product pages

Magento -Hide attrib...

Replace app/design/frontend/base/default/template/catalog/product/view/attributes.html with this file: &lt; ?php $_helper = $this-&gt;helper('catalog/output'); $_product = $this-&gt;getProduct() ?&gt; &lt; ?php if($_additional = $this-&gt;getAdditionalData()):...
Magento 1.42 change next customer_id

Magento 1.42 change ...

ALTER TABLE customer_entity AUTO_INCREMENT=1000;

Magento – Forc...

After the line that reads ‘RewriteEngine on’ in the .htaccess file which is in the Magento root directory add these 2 lines. RewriteCond %{HTTP_HOST} ^www.yourdomain\.com$ [NC] RewriteRule ^(.*)$ http://yourdomain.com/$1 [R=301,L]