EcomDev_UrlRewrite
EcomDev_UrlRewrite copied to clipboard
Skip disabled and not visible products
Would be nice if indexer can skip products which are disabled or individually not visible (associated products of a configurable product).
@IvanChepurnyi Are you planning on adding this functionality? Maybe have the option to completely disable the URL generation of products and only enable category rewrites.
Hi @paales, I don't have any time to make this happen. Although there will be a very major refactor of the functionality with moving logic out of core_url_rewrite.
Hmm, I see what you mean. For our current project we are going to disable the product url rewrites and maybe create a custom router in the future. Disabling only the product rewrites is relatively easy as far as I understand.
Disable the _generateProductRequestPathIndex
method and the _importFromProductRequestPath
method we're good to go. (Or am I missing something).
Yes, both of those methods can be used.
DnD Build up an Extension that can ignore disabled products and also can ignore the categorie path. So i saw u ( @IvanChepurnyi ) did not replace any model but i did not have time actually to merge these extensions
EDIT: oh i forgot the link http://www.dnd.fr/2012/09/magento-patch-how-to-optimize-re-index-processing-time-for-url-rewrite/