How Jotly Decides Which Size Chart to Show
In Jotly, you can assign a size chart to one or more products, one or more collections, one or more tags, and one vendor. When a product has multiple charts assigned through different methods, the app follows a specific priority order to decide which chart to show on the product page, because at the end only one chart will be displayed on the product page.
1. Product-Specific Charts (The Most Important Rule)
Charts you add directly to a product page will always show up first. This rule beats all other rules.
The app first checks if the product has any charts assigned directly to it. If there is one chart, we show that chart. If there are multiple charts assigned to the same product, we show the chart with the highest priority number.
Example: You have a "Chequered Red Shirt" product. You have assigned two charts directly to this product:
- "Shirt Chart" (Priority 2)
- "Red Shirt Special Chart" (Priority 10)
The app checks the product, finds that it has two charts assigned directly to it, and compares their priority numbers: 2 and 10. Since 10 is higher than 2, we will show the "Red Shirt Special Chart".
2. Collection-Level Charts
If a product has no chart attached directly to it, the app will then look at the collections the product is in (like "T-Shirts" or "Summer Sale").
Scenario 1: Product is in ONE collection
If the product is in just one collection, the app checks if that collection has any charts assigned to it. If the collection has multiple charts, we show the chart with the highest priority number.
Example: A t-shirt product is in the "Summer Collection." That collection has two charts assigned to it:
- Summer Basics Chart (Priority 2)
- Summer Premium Chart (Priority 5)
The app checks the "Summer Collection", finds that it has two charts assigned, and compares their priority numbers: 2 and 5. Since 5 is higher than 2, we will show the "Summer Premium Chart".
Scenario 2: Product is in MULTIPLE collections
The app goes to each collection that the product is in, checks if those collections have any charts assigned to them, and then picks the chart that has the highest priority number among all those collection charts.
Example: A dress product is in three collections:
- "New Arrivals" collection (has a chart assigned with Priority 3)
- "Designer Wear" collection (has a chart assigned with Priority 7)
- "Sale Items" collection (has a chart assigned with Priority 2)
The app checks all three collections, finds that each collection has a chart assigned to it, and compares their priority numbers: 3, 7, and 2. Since 7 is the highest priority number, we will show the "Designer Wear" chart.
3. Tag-Based Charts
If the app can't find any Product charts OR Collection charts, it will then look at the product's tags (like "mens" or "accessories").
The app goes through each tag that the product has, checks if those tags have any charts assigned to them, and then picks the chart that has the highest priority number among all those tag charts.
Example: A product has two tags:
- Tag: "mens" (has a chart assigned with Priority 3)
- Tag: "accessories" (has a chart assigned with Priority 1)
The app checks both tags, finds that each tag has a chart assigned to it, and compares their priority numbers: 3 and 1. Since 3 is higher than 1, we will show the "mens" chart.
4. Vendor-Based Charts
If there are still no charts found (no product, collection, or tag charts), the app will check the product's vendor (the brand).
The app looks at which vendor/brand the product belongs to, checks if that vendor has any chart assigned to it, and if yes, shows that chart. If the vendor has multiple charts assigned, we will show the chart with the highest priority number.
Example: A product belongs to "Brand A" vendor. You have set up vendor charts in your app:
- "Brand A" vendor (has a chart assigned with Priority 3)
- "Brand B" vendor (has a chart assigned with Priority 1)
The app checks the product's vendor, finds it is "Brand A", and shows the "Brand A" chart that has priority 3.
5. Global Chart (The "Last Resort" Chart)
If the app checks all the rules above and finds no matching chart...
- No Product chart
- No Collection chart
- No Tag chart
- No Vendor chart
...THEN, it will show your Global Chart (if you have one set up). This is the default, "catch-all" chart for "All Products."
Example: You add a brand new product. You don't add a chart to it, you don't put it in a collection with a chart, and it has no tags or vendors with charts.
We will show the Chart that is setup for All products, if it's set up in the app.
Quick Summary: The Order of Priority
Here is the simple order the app checks. It stops as soon as it finds a match!
- Product Chart: Always wins first. (Highest priority wins if there are multiple charts).
- Collection Chart: If no product chart. (Highest priority wins among all collection charts).
- Tag Chart: If no product or collection chart. (Highest priority wins among all tag charts).
- Vendor Chart: If no product, collection, or tag chart. (Highest priority wins if vendor has multiple charts).
- Global Chart: The "catch-all" if nothing else is found.
Related Tutorials
Continue learning with these related guides