Page 1 of 1
Product Attribute connection
Posted: 11 Apr 2017, 10:58
by stefetrucki
I would love if you can connect 2 or more attributes to one stock item
for example you have a shirt in the color red, blue, orange and the size L, M, S
than I would like to have 9 different variations of stock, which means you can have the combination of
orange, L
orange, M
Orange, S
Blue, L
blue, M
...
now it's hard to manage stock if one product is sold out in one size, or color
thank you very much
Re: Product Attribute connection
Posted: 12 Apr 2017, 22:51
by Jan
Hi, I fully understand what you mean, because I am now working on new version and I have thought about it. For now, I need to finish the core of the cart and I will try to take a look at it in the future.
This is very problematic feature as there is unlimited count of attributes so there can be unlimited count of combinations of these attributes:
It can be: Size: XL + Color: Red + Material: Cotton, etc.
For now the stock handling will work this way:
https://www.phoca.cz/documents/116-phoca ... k-handling
Jan
Re: Product Attribute connection
Posted: 13 Apr 2017, 08:06
by stefetrucki
the best concept I found on ecommerce systems is, a way to define the products attributes like:
you add the attributes of the product like Size + Color and have a dropdown of the attribes
than you creat a "new" total attribute like Color: Red + Size: L
so you can stil use the filter in the frontend for size and color and you will have stock for each attribute combination
Re: Product Attribute connection
Posted: 13 Apr 2017, 13:25
by Jan
Hi, but what about a combination of 5 attributes together for example.
The problem is how you store the combination into database and how to set the simple form to connect attributes:
Color: red, blue, white
Size: L, XL, XXL
Type: A, B, C
Form: 1,2,3
Combinations:
red - L - A - 1
red - L - A - 2
red - L - A - 3
red - L - B - 1
red - L - B - 2
red - L - B - 3
red - L - C - 1
red - L - C - 2
red - L - C - 3
red - XL - A - 1
red - XL - A - 2
red - XL - A - 3
red - XL - B - 1
...
Jan
Re: Product Attribute connection
Posted: 13 Apr 2017, 14:26
by stefetrucki
is it possible to merge them to a new product and handle only one stock
Produckt: Shirt X
Attribute: red - A - 1 Stock: 2
Attribute blue - B - 1 Stock: 10
I hope my posting helps, because you are doing a great job with your components :)
Re: Product Attribute connection
Posted: 13 Apr 2017, 17:35
by Jan
Hi, it needs to be solved systematically. Which means, it is possible to use checkboxes - One attribute can have e.g. 3 options and all three can be selected. You can add e.g. 5 different attributes to the product.
And there are more complications like the product can be sold without attributes, so even product itself is one variation.
I am doing tests for now and the question is if a) the combinations should be added manually and the stock quantity will be assigned to them or if b) in advanced stock the combination of all possible variations should be automatically created.
Screenshot of a)
But in case product itself can be variation, there can be different combinations, I think, the combinations should be created automatically and administrator of the e-shop only adds the stock quantity
Jan
Re: Product Attribute connection
Posted: 14 Apr 2017, 07:11
by stefetrucki
if you look at prestashop, there you have the option to have it created manually or automatically, that is what I suggest
because if you have eg Shirts in Color and Size and you have all variations you would prefer it being done by the system
If you have only a vew options of the possible combinations than you will struggle with a big list and even your customers have to brows through a lot of options.
I would like to have the main Product to have no stock, if there are options, because that is only work and if you forget, the product is not in stock
I would separate the optional options, because they are no direct attributes, so these are not filterable and you can configure them in another tab.
I would use this option to modify the product to the customers' needs.
Like shirts with personal printing on.
Re: Product Attribute connection
Posted: 15 Apr 2017, 20:54
by Jan
Hi, yes, the combinations should be rendered by system as they can change when:
a) select box is used (one option possible) and required (the attribute must be always selected)
b) check box is used (attribute can have more values) and required
c) select box is used but not required (attribute option can be empty)
d) checkbox is used and not required
See differences (t-shirts are only examples and in practice some combinations will be of course not used for the t-shirts but can be used for another items):
a)
b)
c)
d)
Re: Product Attribute connection
Posted: 05 May 2017, 10:52
by stefetrucki
thwat looks good, butccustomer should not see all options, caus it will tak ages to browses through 50 options if there are ony two stock
Re: Product Attribute connection
Posted: 07 May 2017, 21:29
by Jan
Hi, these screenshots are administration screenshots where administrator can set all possible combinations.
For example, if you have select box in frontend of some option and combination of some items is not on stock, you even need to display this select box because of other combinations.
Jan