Skip to content

dorfire/Magento_AutoRelate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Magento_AutoRelate

Automatically adds random Related Products (from the predefined category map) upon saving a product.

Example use case

When saving a product from the Tops category, creates four relations from the Skirts category.

Configuration

Edit app/code/local/Fire/AutoRelate/Model/Observer.php:

  • MAX_RELATED_PRODUCTS controls the number of Related Products that will be added for each product
  • getCategoryRelationMap() must return an associative array in the form of <category ID> => <relations category ID>.

About

A Magento extension to automatically create product relations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages