Toggle Nav The S Group Ecommerce Development
  • Experience
    • Catalog Enhancements
    • Cart / Checkout
    • Customers
    • Shipping
    • Payments
  • Management
    • Sales / Fulfillment
    • Catalog
    • Customer Support
    • Marketing / Promotions
    • Content
    • Reporting & Analytics
  • Optimization
    • Performance
    • Monitoring
    • Troubleshooting / Debugging
  • Blog
  • About Us
  • My Account
  • Sign Out
  • Sign In

You have no items in your shopping cart.

Special Product Installation

Special Product Image extension installation instructions:

If you don't have these files in your active theme package, copy them from the /app/design/frontend/base/default/templates/ folder to apply the modifications.

1. Disable Compiler

Go to System > Tools > Compilation in the admin panel and click the Disable button. Once installation is complete, you can re-enable compilation.

Install the extension package archive files Sashas_Specproduct.tgz and Sashas_Baseext.tgz from System > Magento Connect > Magento Connect Manager.

2. Open: /app/design/frontend/{your_package}/{your_theme}/templates/catalog/product/list.phtml

Find the two image rendering calls (usually near lines 50 and 95):

<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?></a>

Add the following code block immediately after each of those lines:

/* Sashas_Special_Product */ echo $this->getLayout()->createBlock('specialproduct/productimagelist')->setData('product', $_product)->toHtml(); /* Sashas_Special_Product */

3. Open: /app/design/frontend/{your_package}/{your_theme}/templates/catalog/product/view/media.phtml

Find the first product attribute helper output block (usually lines 41-42):

echo $_helper->productAttribute($_product, $_img, 'image');

Add the block call immediately after it:

/* Sashas_Special_Product */ echo $this->getLayout()->createBlock('specialproduct/productimageview')->setData('product', $_product)->toHtml(); /* Sashas_Special_Product */

Find the second occurrence of the same image helper block (usually lines 63-64):

echo $_helper->productAttribute($_product, $_img, 'image');

Add the block call immediately after it:

/* Sashas_Special_Product */ echo $this->getLayout()->createBlock('specialproduct/productimageview')->setData('product', $_product)->toHtml(); /* Sashas_Special_Product */

Once saved, the special product images should render on your frontend product listing and detail views.

  • Contac Us
  • Privacy Policy
  • Refund Policy
© The S Group. All Rights Reserved.