IN Magento, how can I replicate the creation of a URL rewrite across multiple stores? -
this thinking far:
create custom module fired event listener when admin magento website triggers event:
controller_action_predispatch_adminhtml_urlrewrite_save
so far good...
question 1 how methods observer class relate data need able replicate request across every active store?
question 2 realise need helper class fetch websites need secondary question there magento class/function fetches list of websites in install?
question 3 apart adding logic check if chosen product/category has associated product/catalog in each of store getting new rewrite, there other checks should make?
answer 1: var_dump($observer) start allow me retrieve data in preparation replication:
$request = mage::app()->getfrontcontroller()->getrequest()->getpost();
Comments
Post a Comment