php - Magento 1.9 - How to create multiple wishlist programmatically -
i want create module provide multiple wishlist functionality customer, similar this extension. should start creating new table or extend existing wishlist
table block , model files need override.
<?xml version="1.0" encoding="utf-8"?> <config> <modules> <az_wishlist> <version>1.0.0</version> </az_wishlist> </modules> <global> <models> <az_wishlist> <class>az_wishlist_model</class> <resourcemodel>az_wishlist_resource</resourcemodel> </az_wishlist> <az_wishlist_resource> <class>az_wishlist_model_resource</class> </az_wishlist_resource> <wishlist_resource> <rewrite> <wishlist>az_wishlist_model_resource_wishlist</wishlist> </rewrite> </wishlist_resource> </models> <resources> <az_wishlist_setup> <setup> <module>az_wishlist</module> </setup> </az_wishlist_setup> </resources> </global> <frontend> <routers> <wishlist> <args> <modules> <az_wishlist before="mage_wishlist">az_wishlist</az_wishlist> </modules> </args> </wishlist> </routers> </frontend> </config>
Comments
Post a Comment