This feature allows you to adjust the order of your layers depending on the selected view.
Let’s say you have a product with two different views—Front view and Back view—and you’d like your potential customers to have an ability to preview your item from those two angles. For this to happen, you’ll require 2 dedicated sequences, or ‘orders’, of layers—one for each view. However, by default, the same order of layers is applied to all available views—in other words, layers are always ordered the same regardless of the view. To be able to configure the order of your layers depending on the view, you can use the “Separate Layers By Product Views” feature.
Now, let’s see how we can enable it and how it works.
First, let’s take a look at this customizable pendant. It has two views—Front and Back. The idea is simple: we would like to see the front of the pendant on the Front view and the back of the pendant on the Back view. Since the order of the layers is universal by default, it would look like this:
(front view and back view respectively. notice the bail—although the right picture is supposed to represent the back view, the baile is not entirely visible and still looks like the one on the front view)
By adjusting the layers for each view, we can achieve a desired look:
(look at our bail now—displaying as intended!)
You can find this feature in the ‘Layers’ section. Click on it, and then turn both the ‘Separate Layers By Product Views’ and ‘Reorder Mode’ features on.
(layers tab, separate layers by product views feature and reorder mode)
(the order of layers for the front view)
Since we are happy with how the Front view looks, let’s switch to the Back view by clicking the arrow ‘>’ (or the respective button, if you're using a different theme).
(the order of layers for the back view. as you can see, it is the same as the one on the front view, which causes the problem)
You won’t see any difference in the order, but since we’re in the Reorder mode, we can now move the layers up and down, affecting the look of the product. Let’s move the bail (a layer named ‘Bail’) down and see what happens.
(new order of layers for the back view. the ‘bail’ layer has been moved down, affecting the look)
As you can see, now that we’ve moved the layer, the bail has appeared in its full glory, just like we wanted! But more importantly, we have now set up two different layer orders for two different views. To save our new configuration, turn the Reorder mode off and save the product.
And you’ve done it! Now each view has its own order of layers.
Things to note:
- by moving layers down the list, we’re essentially putting them on top. layers with a higher index number would be 'closer' to the viewer on the live-preview of the product. you can see the visual representation of the order below.
(layers and a GIF representing in which order the layers are being rendered. as you can see, the layer 'chain type' has the lowest index of 1 and is rendered the first. then comes the layer named 'bail' with the index of 2 etc.)