How to handle non-existent SKUs in Expresso Store - expressionengine

I'm using Expresso Store for a clothing retailer. Several of the products have color and size options, and generally I think Store does a good job of handling these. However, when I add multiple modifiers (such as colors black and red, and sizes small through large), store automatically creates individual items for each combination, and requires a unique SKU to be entered for each one. The retailer, however, stocks several items that they carry in all sizes for one color but limited sizes in another, and therefore doesn't have a SKU for the sizes they don't carry in that particular color. For example, they might carry the following in their inventory:
Red size 2
Red size 4
Red size 6
Black size 4
Black size 6
In this case, if I add "Red" and "Back" as options for the color modifier, and "2", "4", and "6" for the size modifier, Store automatically creates all possible combinations, including Black size 2, which they don't carry and don't have a unique SKU for. In this case my workaround has simply been to enter in a random sequence of numbers/letters and set the stock level to zero.
Is there a better way to handle this? Could there be a way to indicate in Store to indicate the retailer doesn't carry a certain combination?
I'm not sure that this is a common problem, as I'm guessing that larger retailers would carry the product in all size/color combinations and thus have unique identifiers in their system for each. But wanted to relay this as it may help a good product become even better.

There's currently no way to "disable" a certain SKU, or leave it out from the stock matrix. The best solution is probably what you are doing - simply make up a SKU, and set the stock level to 0 which will prevent it from selling (and allow you to display a message to customers when they select this combination).
Even if it were possible to disable a SKU, it would make front end templating tricky, because you would need to dynamically change which options were available in your select drop-downs (for example, hide the "Size 2" option when they chose "Black" in the first drop-down). This wouldn't be ideal from a UX perspective, because the customer might wonder why size 2 isn't an option, and not realize that size 2 is available for the Red version (so it's probably actually better to just leave it there as an option, but display an out of stock message when they select it).
The other option to overcome this is to just use a single modifier. This makes it clear the "Black Size 2" isn't an option. For example, just create a single modifier called "Style" with the following options:
Red (Size 2)
Red (Size 4)
Red (Size 6)
Black (Size 4)
Black (Size 6)
This way your customers will only see a single drop-down on the front end, and it won't be as confusing for them.

Related

Color Marks for different rows in TABLEAU

I am trying to color the price difference based on cluster
And the product IDs based on who pays for Logistics. But somehow I do not know how to apply two colour marks for two different rows. Can anyone help me with it? Screenshot is attached. enter image description here
As you want to colour a dimension column as well as a measure, the placeholder technique could be your best option. Create a dummy field
MIN(0)
Put this to Columns 4 times. Use these to create 2 dual axis columns. This enables putting any dimension / measure into the column and also to colour those by a different value.
It's a long topic, please refer to this URL for full guidance: https://tarsolutions.co.uk/blog/using-the-placeholder-for-advanced-tableau-tables/

Solr faceting considering the availability of product at attribute combination level for e-commerce merchandise like Garment

We are using Apache Solr for powering our search & faceting for the e-commerce website.
We have a faceting filter that works fine except for the product that has the multiple combination for the attributes (variant options) that turns out to be different SKU, for example, a T-Shirt that has multiple colors & size options.
Currently, we have a facet that filters by Color as well as by Size, however, it does not consider the availability of product on combination level due to the fact that it is not indexed.
We want to have facet filter considers availability status of attribute combination, i.e.
Suppose we have T-Shirt in two colors, Red & Blue. In three sizes, S, M, L.
Red, S 1
Red, M 2
Red, L 2
Blue, S 0
Blue, M 5
Blue, L 1
When the large size goes out of stock for the Blue color, we want to disable the facet for that combination. i.e. Blue, L which has one qty available, goes out of stock, we want to disable L as facet option for Size when Blue color is selected.
Here is how it is being indexed, for the product.
Color:[Red,Blue]
Size:[S,M,L]
The Color & Size are the attribute value, which has the possible options indexed for that field separated by comma and then we are applying a split by transformation.
What could be the best way to index it that would allow us to support faceting on attribute combination level considering it's availability.

How to change the scale of the y axis in excel

I have a large amount of graphs that represent a bunch of survey questions. Some questions have different scales (1=Never, 2=Sometimes, 3=Often, 4=Very often, others are from 1 to 7). The data I did was to find the average for each year (we have been doing this for 10 years) and make a longitudinal analysis for it. However, I can't recall how to change the scale from the basic 1, 2, 3, 4 to the actual text scale of Never, Sometimes, Often, Very Often. I tried looking up some guides but none of it really got me the results. I guess the simple way would be how can I get the text even on the upper and lower bounds if its not simple to get the inner regions (2 and 3) on the table. Also, this is in excel just for a reminder.
1- Rgith-Click on your your chart and select menu item Select Data...
2- In the dialog that appears, on the right side you have a box named "Horizontal Category Axis Labels". Click Edit
3- In the dialog that appears, named "Axis Labels", type Never, Sometimes, Often, Very Often (or copy this sequence from somewhere and paste it there).

Represent the colour of a bit field

Can anyone show me a (language agnostic) way to assign a colour value to a bit field so that comparatively similar bit fields have a similar colour to each other. So for example
01100111
And
01110111
Are close in colour relatively. But
11011001
Is further away
By "further away" I mean distant in hue, saturation, brightness, etc...
If we have an array of all the bit fields then it would be possible to compare them all then produce a set of colours. But what if we don't know and we want one bit field to always be represented by one colour?
Or else we could pre compute all possible colour values for a given number if bits. How would I go about doing that?
You cannot do this, because (essentially) there are only 2 dimensions to your perceived color space, while treating the bits independently as you suggest makes a separate dimension for each bit.

Different size items in a VariableSizedWrapGrid

The app I'm working on uses a grouped GridView. Different templates are being used for different items on display and this is causing me an issue with the layout because the VariableSizedWrapGrid sets the row & column sizes based on the first item in each group.
I've tried to use the commonly-suggested solution of PrepareContainerForItemOverride and I'm encountering two problems:
It seems that I can only adjust the height & width around multiples of the column & row spans. That can leave me with quite a bit of wasted space if, say, item #2 needs to have 1.5 x the row height of item #1. I also seem to have to "guess" at what the most appropriate multiple is, which doesn't seem to be appropriate when apps are supposed to scale dynamically.
If I get the multiples too big, the content is horizontally & vertically centred. I've tried changing the alignment from stretch to left in various places but I cannot find which control property to set to get this to work.
Is there a better way of adjusting the item sizes than grid spans? If there isn't, is there a better way for me to lay out my content with variably sized items?
Thanks.
http://winrtxamltoolkit.codeplex.com/ includes WrapPanel which does the job perfectly. It stacks the individual items either horizontally or vertically and wraps onto the next row/column as required.

Resources