-
-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### What Automatically change the product type of non-food categorized products Copy pasted all non-*something* on top of each categories taxonomies. Also copy pasted categories from food to other flavors (for example, en: Dry Dog Food is moved from taxonomies/food/categories.txt to taxonomies/petfood/categories.txt ### Remark The following, I could not add, but would be a nice to have: - rm tag from previous flavor/project after migration. For example, after changing product_type from food to beauty we would like to remove 1) 'en:non-food-products' and 'en:open-beauty-facts' but also categories from food 2) "en:desserts", "en:pies", "en:sweet-pies", "en:apple-pies" for example I tried to do something with **remove_tag** function from **Tags.pm**. It removes element of the **categories_tags** array, but **categories** (string) and **categories_hierarchy** (array) remain. And tags are still visible on the website. As I did not want to do some update of the **categories** string, I decided not to include that in the present PR. ### Related issue(s) and discussion - Fixes #11094 --------- Co-authored-by: Stéphane Gigandet <[email protected]> Co-authored-by: Pierre Slamich <[email protected]>
- Loading branch information
1 parent
03b105a
commit d1648b3
Showing
8 changed files
with
362 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.