Hi
I like the setting added in VM3 "Show uncategorised child products in search results and modules". This gives the opportunity to search into the child products as well.
Though it would be good to go 1 step further. What if we want to get the child products based on category or manufacturer?
I though that it would be great for the child products, to get (as a db record) also the category and the manufacturer from their parent.
Then it would be up to the shop admin to display them in the categories and the results by a setting.
So the child products will be displayed or not based on the product_parent_id field of a product.
If you agree on that i can prepare a patch
You can already do this. Just give your child a category.
child products get the category and manufacturer of their parent already!
But i have to visit each child to assign a category and manuf manually.
Also if i assign a category it is always displayed in the category page. No?
Bulk associate? The command is there.
Yes it is always displayed in the category page. I am sorry, I think I dont get your idea.
Thanks for the info
The idea is that some people may want the child products displayed in category pages other don't.
But having category and manufacturer can help tracking them both the front-end and back-end, many times.
I am thinking the child product as a clone of the parent by having some differences i.e name, price, stock and inheriting all the other attributes (description, image, category, manufacturer)
just an idea:
add option "Show child products in category/manufacturer views" next to
"Show ('uncategorised' - this will not be needed then) child products in search results and modules"
so child products can have one or more categories...
(and/or add this option per category and/or per parent product as override...)
No the setting for that is to add a category to the product.
yes. and my idea would change this. no more need to 'uncategorise' in the first place. more like real world (little green shoe is still a shoe).
control view by aditional checkbox and not by category/no category. problem is backwards compatibility?
Hi, Max. What about this idea? It's very important...
The problem is the performance and that it is from my point of view redundant.
Max can we set a setting to return the products based on being parents/children or both after selecting a category/manufacturer?
There is a high demand from some shop owners to return both the parent and the child products based on the selected criteria after a search but display only parent products in the category pages.
The only way i can think to figure this out, is to set categories/manufacturers to all the products but i am missing how to display only parent products to the category pages.
Hi,
I think the new solution you think is bad because you have 2 choice for childrens :
- using parent as model
- as variant.
If you need as variant then you don't want that the categories are copied from parent, or at end you see all variants in shop, and you have to remove the categories in each child. Exactly the opposite
This change completly the current logic.
Thank you Patrick
Quote from: balai on November 12, 2014, 13:31:42 PM
But i have to visit each child to assign a category and manuf manually.
Also if i assign a category it is always displayed in the category page. No?
I think there is the misunderstanding. If you edit a child, you do not see a category, because it gets the category of the parent. If you use for example the multivariant or dynamich child variant, then you will notice that your child products have the categories, for the canonical link and calc rules.
If you set the categories to the child addtionally, then you have the child in the browse view. It becomes browseable.
Thanks for the reply
Actually what needed is not related with the use of the categories. I can handle that.
The most important thing is how to display only parent products, in the category page when both parent and child products have categories assigned.
I suppose that this can be done with a simple setting which will add an additional where clause concerning the product_parent_id of the displayed products
Hi,
I don't understand your problem.
If you add categories on child, then you see child in this categories only, or not ?
just remove the manual setting of the category to the children, it HAS already the category of the parent.
Quotejust remove the manual setting of the category to the children, it HAS already the category of the parent.
Thanks Max
What needed is a bit more complex than that.
In big shops, there is a need to filter products by several criteria (category/manufacturer/price/custom fields, etc)
For example somebody needs to find the red Nike t-shirt in Small size
Usually this is a child product, though the T-shirt is a category, Nike is a manufacturer and the size and colors are custom fields.
Missing those fields means that it cannot be tracked (at least not the easy way). This can be handled by assigning all those fields to the child products as you inidicated.
The problem if we assign all those fields to the child products, is that they are always being displayed after a selection of a category or a manufacturer from the menu and not when we want them after a filtering or search.
Hope to be more clear now, why this setting about the parent product is in need
Hi,
I think the simpliest solution is a setting in VM config : Never show children in standard search results.
When active, at the moment you have a parent, this get not displayed, having categories, manufacturer or not.
And a toggler in the model for programmers.
This mean if you set categorie tshirt, using Never show children in standard search results , a childs are not displayed in category view even if chidren have categories set.
But you can set manually (show children) in your search filters to look for children in this(your) case.
I don't know if anyone understand what i mean :)
Is there any chance for this to be implemented?
It is really important for big shops