VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: SteP[IT] on February 11, 2015, 10:33:03 AM

Title: Multiple instances of "related categories" customfield: is this possible?
Post by: SteP[IT] on February 11, 2015, 10:33:03 AM
I'm in the needing of listing in product view some product related categories, but once per field (each related category must have ist own label followed by the category link...).
I have simply tried to clone the "Custom prototype for related categories" field, renaming it as per my needing, but it does not show the field in product admin interface. Is there a way to get multiple instances of this field working in any product?
Thank you in advance
Regards
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: Milbo on February 13, 2015, 09:45:31 AM
Yes it is possible, and even already planned. That is the reason, that you can create the custom for related products more than one time now. In vm2.6 we hide it.
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: SteP[IT] on February 13, 2015, 10:09:48 AM
OK, thanks: I'll wait for that new feature, and in the meantime I'll look for a workaround by templating it as per my needing :)
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: Milbo on February 13, 2015, 10:48:35 AM
Just create a second custom for related products and give it another position, create an override using that postion. That works already. The problem is to fill the product customfield with related items.
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: d0ublezer0 on July 14, 2015, 12:27:45 PM
Quote from: Milbo on February 13, 2015, 10:48:35 AM
The problem is to fill the product customfield with related items.
But, how to avoid this problem? Really, it will be very helpful .
Otherwise it seems like: "Now there is a new pocket on your pants, it's very deep. But we sewed it."
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: Milbo on July 16, 2015, 14:44:35 PM
We have to change the JS quite a lot. It is not really trivial
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: d0ublezer0 on July 17, 2015, 05:34:59 AM
I understand it.
Importantly, that work is being done and it gives hope.
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: d0ublezer0 on August 14, 2017, 11:43:53 AM
Still waiting related products and categories
Any news?
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: d0ublezer0 on April 25, 2018, 16:50:04 PM
Can this ever be realized?
How to fill the product customfield with related items for another positions?
Maybe, some commercial plugins can help?
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: Milbo on April 27, 2018, 08:42:00 AM
As far as I know, you can already do it. Just create first a new prototype and try to use it.
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: d0ublezer0 on May 10, 2018, 14:09:35 PM
Quote from: Milbo on April 27, 2018, 08:42:00 AM
As far as I know, you can already do it. Just create first a new prototype and try to use it.
it is possible to get any instructions about this?
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: Studio 42 on May 10, 2018, 16:14:11 PM
d0ublezer0, the problem is to add the ID of related product, not to declare the custom related.
But what is your need. Simply display other products and categories in another position?

It's possible to do a plugin for this, i already have similar code to do the plugin.
pm me if you dont find a solution, i can write the plugin in 2 or 3 hours maximum.
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: d0ublezer0 on May 11, 2018, 09:59:05 AM
Quote from: Studio 42 on May 10, 2018, 16:14:11 PM
But what is your need.
Yes, i need more than one related products mapping, displayed in other position.
I want to be able to specify several product sets to the main product:
Similar products.
Complementary goods.
I know, how to display them, but there is no solution how to fill them and manage later..
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: Studio 42 on May 22, 2018, 09:25:43 AM
Quote from: d0ublezer0 on May 11, 2018, 09:59:05 AM
Quote from: Studio 42 on May 10, 2018, 16:14:11 PM
But what is your need.
Yes, i need more than one related products mapping, displayed in other position.
I want to be able to specify several product sets to the main product:
Similar products.
Complementary goods.
I know, how to display them, but there is no solution how to fill them and manage later..
See here : https://shop.st42.fr/en/products/extra-product.htm
You can set unlimited related poducts list and can use related product as add to cart Option
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: d0ublezer0 on May 22, 2018, 09:49:09 AM
Quote from: Studio 42 on May 22, 2018, 09:25:43 AM
You can set unlimited related poducts list and can use related product as add to cart Option
For Child Products supported?
Title: Re: Multiple instances of "related categories" customfield: is this possible?
Post by: Studio 42 on May 22, 2018, 10:49:33 AM
 
Quote from: d0ublezer0 on May 22, 2018, 09:49:09 AM
Quote from: Studio 42 on May 22, 2018, 09:25:43 AM
You can set unlimited related poducts list and can use related product as add to cart Option
For Child Products supported?
Hi, it work for any product details and javascript and CSS is dynamic loaded, so it support ajax loading.