I am about to set up an online store and I am kinda "testing" if magento fits my needs. I think I got the idea behind categorizing and attributing products. But I have a question to the attributes concerning products - or in detail: for configurable products.
Is it possible to "inherit" attribute values (options) from another existing attribute?
I'll give you an example to visualize my question:
Let's say we sell boxes. We would have three different types of boxes:
uni-color boxes ("box-color")
boxes with a seperate "top-color"
boxes with a special printing on it, which has its own color ("highlight color")
To assign colors to box type #1, I would have the possible values
black,
white,
orange.
Box type #2 might come as
black box / black top (it might seem redundant, but there is a difference to uni-colored boxes),
black box / white top,
black box / orange top,
white box / black top,
white box / white top,
white box / orange top,
and so on.
And finally, box type #3 might come as
black box / black top / black highlight,
black / white / orange,
black / black / white,
etc.
I think you get the idea.
I would like to have one attribute of color-options which I would maintain (like add new colors, delete old ones, etc.) - and use it as all three different types of configurable color sets.
To be able to create configurable products I would add the color-attribute to my special "boxes" attribute set(s). But when it comes to the two-colored-boxes, I am not able to add the color attribute a second time.
Is there any other (simple) way to achieve this? Since I am new to Magento I would not like to dig too deep into the code or even want to develop a module (?).
Thanks in advance, I appreciate your answers :-)
Related
I am using the STRING app in Cytoscape and find most node labels difficult to read. I want to have white text with a black border/ stroke so that it will stand out against the white background and the color nodes, but I can't figure out how to do this. Is there a way to add labels with white text and a black border? 'STRING style labels' are black with white borders, but are too small and seem to not be customizable.
The STRING style labels actually are customizable, but they use the enhancedGraphics plugin, so the information is stored in a column -- stringdb::enhancedLabel Passthrough. If you look in that column, you'll see how the defaults are set, but you can certainly change those defaults, for example, by changing the "labelsize" from 12 to 16. You can similarly change the font color, outline color, etc.
-- scooter
I have a PowerPoint template with a number of custom layouts. The template has a custom color palette, and layouts are organized under multiple Slide Masters that each use one of the color in the palette. So layouts are the same for each Slide Master, but feature a different color. All Slide Master use the same custom color palette, which has Black set for the Dark 1 color, and White set for Light 1.
The problem I have is when I create slides from these layouts, some end up with White as the first (Dark 1) color, and Black as the second (Light 1) color on the palette, while others have it the other way around (Black then White for Dark 1 and Light 1), as I would expect. This means that if I change the layout of a slide, any object that was white becomes black, and vice-versa.
Why does that happen?
I have tried re-selecting the color palette for the problematic slides, but it didn't help. I don't know what else I can try.
Any help is very much appreciated :)
Vincent
I have an OpenCart store where each product has multiple sizes, they also have different colors but each color is a different product.
Now I want to be able to filter the products by size and color too using Brainy Filter.
However that would mean that I have to add Color option to products. The problem is that this color option will have only one item (white for example, or blue, or green, etc.), so it is not necessary to show this option to the customer [see image].
I'm guessing that I can count how many items an option has and if it's less than 2, then apply a class to hide the it, however the option is still visible in cart/checkout/order history and other pages.
My question is - is there any better way to do color filtering than to create a Color option (not using Tags)? If not, is there a clever way (except hiding it with CSS on every page that it's visible) to hide this option from the customer since they don't really need to see it.
IN SSRS:
I can only add Solid color fills to the data cells inside a matrix.
How do I add Stripes or Patterns as background fill instead of a solid color.
Is there a particular color code like '#xxxx' for stripes?
There are certain rows in my report that need to have stripes or patterns as backgrou fill.
Thanks
I have found some methods around this:
1- You can use image gradients to fill text boxes by right-clicking the cell and selecting text box properties. You can use the Fill tab to select a small image or item that has a gradient or pattern and apply it within your cell(s)/report.
2 - Another approach is to use a combination of Font/Color/Bold/Italic/Underline and Boarder colors/weight to achieve your desired result.
3 - Apply a gradient-style scheme to your report by using one or more colors and dynamically changing the hue as you go up or down the report. That way, the top could be darker than the bottom, or vis-versa.
I hope this helps.
Numerous fonts can be used.
Open the Character Map
Select Arial in the Font drop down
Scroll to near the bottom, select the cross character
Hit the Select button a number of times, grab as many characters as the SSRS textbox may require to fill its width
Click copy
In SSRS select the textbox then Ctrl-P to paste
Experiment with font size and font color to get the desired effect
Setting padding to zero may help
Setting row CanGrow to False may help
I find there is a little gap between cells vertically but it is close to perfect for me. There is likely to be a character in Arial or another font that works even better.
My goal is to draw a Group Box that is not rectangular but instead has the corners cut away. I do not mean just clipping the corners, but rather have a continuous closed path where the corners are "indented." I want this to match the colors/style of the current theme.
I noticed on Windows XP that the Group Box has 1-pixel gray lines, but on Windows 7 there is a 3D effect created by having a gray line next to a white line (the white line on the interior except on the bottom where it's below the gray line).
You can get the color of the text label of a Group Box using something like this:
COLORREF cref;
GetThemeColor(hTheme, BP_GROUPBOX, GBS_NORMAL, TMT_TEXTCOLOR, &cref);
So, I'm trying to figure out how to get the color(s) and/or properties of the lines used in a Group Box, then (I hope to) be able to draw the lines I want matching the Group Box style by separately drawing each piece of the shape I want. I'm not sure what properties are used to describe the lines or if functions line DrawRect will draw the 3D effect with a suitable Pen. Is there a way to set a Pen to draw these 3D effects (2-shade parallel lines)?
Thanks.
The thing I always find unexpected about groupboxes is that they are really a style of buttons. (BS_GROUPBOX).
Themed groupboxes (XP and later with classic mode off) use theme part BP_GROUPBOX in VSCLASS_BUTTON. You can use the usual theme APIs to get and draw. If your Group box needs text you can use DrawThemeText.
There are APIs for drawing non-themed group boxes too (e.g. DrawEdge), but I don't remember the details and it's unlikely that you need them.
As usual, I will point out that reproducing the behaviour of controls is always harder than you think it is going to be.
Martyn