Magento hacks, tips and tricks.
Reset Permissions
find . -type f -exec chmod 644 {} \; find . -type d -exec chmod 755 {} \; chgrp -R apache app/etc media var chmod -R g+w app/etc media var
Column Count On Homepage / CMS Page
app/design/frontend/PACKAGE/THEME/template/catalog/product/list.phtml
Replace <?php $_columnCount = $this->getColumnCount( ); ?> with <?php $_columnCount = 4; ?>
Change Add To Cart Quantity
app/design/frontend/TEMPLATE/default/template/catalog/product/view/addtocart.phtml
Enable Product By Default
In table “eav_attribute”, search search for attribute_code ‘status’ (with backend_type equal to ‘select’), and set ‘default_value’ field to 1.
Realex
New
- Referral: /realex/redirect
- Response: /realex/response
Old
- Referral: /Realex/standard/redirect/
- Response: /Realex/standard/success/