ssa/imgreplacer dev-master

Image replacer

Type

library

License

OSL-3.0,AFL-3.0

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Image Replacer

Replaces original Magento's images of products with explicitly provided URLs.

Installation

Via Composer

Add the following lines ot your composer.json file:

{
  "require" : {
    "ssa/imgreplacer": "1.0.*"
  },
  "repositories": [
      {
          "type": "vcs",
          "url": "https://github.com/wsbrs/imgreplacer.git"
      }
  ]
}

Configuration

No additional configuration required.

Usage

Image Replacer provides additional tab "Alternative Images" at the product edit page in Magento admin area.

Product's information is extended with 3 attributes:

  • product_category_image - absolute URL of the external image which should be displayed at the frontend in all lists:
    • category view
    • related/crosssells/upsells products
    • items of the shopping cart
    • etc.
  • 2 attributes which redefine product's media gallery: