Magento: using duplicate product button, but emptying Url Key
We are using the duplicate product button. SKU is cleared, but the Url Key is still there. Sometimes we save the product ... and oops! a rewrite is created.
How can we also clear the Url Key (when we duplicate)
This is the action resulting from the button click 'catalog_product/duplicate/id'
[update] Let's change our strategy and copy what already exists. We see that SKU is emptied on every duplicate action. Where and how?
- duplicateAction is called
- that calls Mage_Catalog_Model_Resource_Product_duplicate
- but I don't see where the SKU is emptied
- so I can copy the step for emptying the url_ley