Special Product Installation
Special Product Image extension installation instructions:
If you dont have any file in your templace copy it from /app/design/frontend/base/default/templates/ folder and make changes in it.
1. Disable compiler
System > Tools > Compilation page and click on Disable button. After Installation you can enable compilation back.
Install extension archive Sashas_Specproduct.tgz and Sashas_Baseext.tgz from admin System->Magento Connect-> Magento Connect Manager after that choose package from folder and upload it.
1. Open /app/design/frontend/{your_package}/{your_theme}/templates/catalog/product/list.phtml
Find two Rows (50 and 95):
And add after each of them:
/* Sashas_Special_Product */ echo $this->getLayout()->createBlock('specialproduct/productimagelist')->setData('product',$_product)->toHtml(); /* Sashas_Special_Product */
2. Open /app/design/frontend/{your_package}/{your_theme}/templates/catalog/product/view/media.phtml
Find row 41-42
echo $_helper->productAttribute($_product, $_img, 'image');
And add after it:
/* Sashas_Special_Product */ echo $this->getLayout()->createBlock('specialproduct/productimageview')->setData('product',$_product)->toHtml(); /* Sashas_Special_Product */
Find row 63-64:
echo $_helper->productAttribute($_product, $_img, 'image');
Add after them:
/* Sashas_Special_Product */ echo $this->getLayout()->createBlock('specialproduct/productimageview')->setData('product',$_product)->toHtml(); /* Sashas_Special_Product */
After that you can use special product images.