disable product variation value woocommerce - colors

I have a woocommerce store where I sell screenprintings that I print by myself. I have setup a product variation called colors where I have 15 different colors. I use the same variation for all the designs I sell in the shop. When I'm out of ink for a certain color I need to disable this color (not delete) until I get the ink. I don't want to disable the color on each product and I didn't see any option to disable some colors in the attributes panel. Does anyone know how to achieve this?

Related

Dynamic color change

I'm designing a website for a client. He builds storage units. He wants customers to select a color option and it change the color of the cabin image. I have no idea how to do this. Any tips?

Microsoft excel color picker is different on different documents

I have two Excel two documents on the same laptop with an extended desktop.
For some reason, when i use the color picker, i get different color options on each of the documents. Here are the two options i see:
Document1.xlsx
Document2.xlsx
Does anybody know why the two documents are displaying different colors?
I would like to use the colors shown in column 9 in the the document 1 colours but i want to use them in document 2. How do i make both documents display the same colours?
They may have two different themes selected. See this page on How to Change a Theme. But, to the point:
On the Page Layout tab in Excel or the Design tab in Word, click Colors, and pick the color set you want.

Change background color of categories in standard mail database

As you might know, there's a standard background color set for categories in views of a Lotus notes mail database.
I'm using Notes 8.5.2, so the menu I have in release 9 is not available.
Now I want to know where this is set and if there's any possible way to change that for explicit views.
Thanks in advance!
I am not quite clear exactly what you are after, but if you have designer access, check out the help item "Allowing users to set colors in a view".
Basically the view design can include a hidden column that interprets the result of a formula as a foreground &/or background colour for the rest of the row. It takes a bit of experimenting to get good results.

Dynamics AX - Color multiple grid cells in different colors

In Dynamics AX 2012, is there a way to change the background color of multiple cells to different colors?
Order Status Ship Status Order ID
[green] [red] SO-1234
[green] [green] SO-1235
[red] [red] SO-1236
I've written a displayOption override that can change the color of one cell, but it seems to apply all the changes at the end, so whatever the last color you specify is the one that gets applied to all cells.
_options.backColor(46080); //green
_options.affectedElementsByControl(OrderStatus.id());
//is there anyway to apply the first change, so I can make a second one?
_options.backColor(255); //red
_options.affectedElementsByControl(ShipStatus.id());
In the code listed above, both cell background colors would be red.
Any suggestions?
Thanks
I had a similar task to accomplish, and I did not find a way to do it in Ax (well, techinically you could try Table control, but I strongly encourage you NOT to do so - you will end up swearing out aloud).
What I did is implemented a WPF user control and used this post as a template.
This is a small tutorial (found in Answer #7) which shows how to implement a cell background converter in built-in WPF data grid control, to accomplish the task.
After you have it implemented you can populate your datagrid by using LINQ (if using AX 2012 R2), web services, or passing a temporary table - there are many ways to access AX data.
It may not be the ultimate solution, but it works.
I did it using a table control ( although Maciej advised you not to do ).
It works without problems.
You need to add a table control which gets your data and set the property
ColorScheme to RGB
Then, override the FormControl editControl(int column, int row)
You can access each value by value = data.cell(column, row).data(); whereby data is the name of the table control.
Beware, that you have to add a control with the correct datatype to the table control and give it a name. Also set the ColorScheme property to RGB.
If you got RGB values for your desired background color, setting this color can be done by
RealEdit.backgroundColor(WinAPI::RGB2int(real2int(R),real2int(G),real2int(B)));
RealEdit is the name of the added control.
I've done this to display a matrix filled with values between 0 and 1 and to display a color gradient overlay with a range from green to red. See this link, if you like more information about the color conversion.

Divide the content of a text document into categories, and view a partial text

When I go over a text document ,I divide the content into different categories by highlighting sentences with different colors.
I would like to have the ability to create a set of categories , and then go over the text and mark a sentence and assign it to one of the categories.
and then have the option to see a filtered text, that contains only the sentences of one or more categories.
I would like to find out ,whether open-office or microsoft office support this, and if not, if there are plugins for that, and if not, to have some directions for how to use the api of open office for that.
Using colors would make this difficult, but in Microsoft Office (for example) you can use styles as a starting point. Create multiple styles, each of which have a meaningful name (such as "Important", "Irrelevant" or "Miscategorized") and associated each style with a color.
You can then create a macro fairly easily which will hide the style you don't want to see. Or you can temporarily change the colors or the font sizes to be invisible.

Resources