Product Action: Add and remove tags from a product
The Add and remove tags from a product action in Arigato allows merchants to simultaneously add new tags to and remove existing tags from their products in Shopify. This is useful for dynamically managing product tags based on specific criteria or changes in product data.
Configuring the Action
Field Name | Description | Example |
---|---|---|
Add Tags | Enter the tags to add to the product. This should be a single tag or a comma-separated list of tags. | Summer, On-Sale |
Remove Tags | Enter the tags to be removed from the product. This should be a single tag or a comma-separated list of tags. | Winter, Out-of-Season |
Advanced Usage
Leverage Twig code for dynamic tag management. Below is an example that adds a 'Sale' tag if the product's price is below a certain threshold while removing the 'New Arrival' tag:
Add Tags:
{% if product.price < 20.00 %} Sale {% endif %}
Remove Tags:
New Arrival
This will add the 'Sale' tag and remove the 'New Arrival' tag based on the product's price.
Credit Cost
The Add and Remove Tags from a Product action uses one Action Credit on Lite plans and is unlimited on Unlimited plans.