Taxonomies
The default taxonomies created by the add-on are:
collections
- corresponding to collections in Shopifyproduct_tags
- corresponding to tags in Shopifyproduct_type
- corresponding to type in Shopifyvendor
- corresponding to vendor in Shopify
These are fine if you aren't using them on the front-end, however if you want to display products by taxonomify having a URL of /product_tags/tag-name
is not really great.
Overriding the Taxonomy Terms
You can override the default tags by the following;
- Update your taxonomies in the Statamic admin
- Add the following to your
.env
SHOPIFY_TAXONOMY_COLLECTIONS="YOUR TAXONOMY"
SHOPIFY_TAXONOMY_TYPE="YOUR TAXONOMY"
SHOPIFY_TAXONOMY_TAGS="YOUR TAXONOMY"
SHOPIFY_TAXONOMY_VENDOR="YOUR TAXONOMY"
If you then re-import/import all of your products the taxonomies will be updated to match.