You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
I do have some questions. Is it possible to regen all product URLs instead of some selected product id's? And same for categories? I tried it but it didn't get it to work.
Any idea's, suggestions or tips & tricks about adding that kind of features?
The text was updated successfully, but these errors were encountered:
Uhm, yeah it should be feasible to do for all the products. I think I'll had this feature in the weekend, but if you don't want to wait, you can simply change RegenerateProductUrl#execute to iterate over all the products instead of the given ids.
Regarding the categories, what do you mean, exactly? The script should generate the link for each category associated to the product. Eg: if product1 is associated to cat1 and cat3 it will generate the following links:
/product1.html
/cat1/product1.html
/cat2/cat3/product1.html
Please notice that if you use more than 1 store view and the product has url_names different for each store view, then you must run the script for each store (-s <id-store>). By default (-s0) it regenerate only the global ones.
Oh, you need to clear the cache after the script run or you'll see the old urls.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Great feature. Thanks a lot.
I do have some questions. Is it possible to regen all product URLs instead of some selected product id's? And same for categories? I tried it but it didn't get it to work.
Any idea's, suggestions or tips & tricks about adding that kind of features?
The text was updated successfully, but these errors were encountered: