Author Topic: Multiple instances of "related categories" customfield: is this possible?  (Read 1592 times)

SteP[IT]

  • Jr. Member
  • **
  • Posts: 198
  • Independent Websites Builder
    • MMC Edizioni - Italian Publisher (First Class PaperBooks)
  • VirtueMart Version: 3.2.6
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
J 3.8.5 - VM 3.2.6

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9607
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Multiple instances of "related categories" customfield: is this possible?
« Reply #1 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

SteP[IT]

  • Jr. Member
  • **
  • Posts: 198
  • Independent Websites Builder
    • MMC Edizioni - Italian Publisher (First Class PaperBooks)
  • VirtueMart Version: 3.2.6
Re: Multiple instances of "related categories" customfield: is this possible?
« Reply #2 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 :)
J 3.8.5 - VM 3.2.6

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9607
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Multiple instances of "related categories" customfield: is this possible?
« Reply #3 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

d0ublezer0

  • Jr. Member
  • **
  • Posts: 155
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."

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9607
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
We have to change the JS quite a lot. It is not really trivial
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

d0ublezer0

  • Jr. Member
  • **
  • Posts: 155
I understand it.
Importantly, that work is being done and it gives hope.

d0ublezer0

  • Jr. Member
  • **
  • Posts: 155
Still waiting related products and categories
Any news?

d0ublezer0

  • Jr. Member
  • **
  • Posts: 155
Can this ever be realized?
How to fill the product customfield with related items for another positions?
Maybe, some commercial plugins can help?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9607
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
As far as I know, you can already do it. Just create first a new prototype and try to use it.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

d0ublezer0

  • Jr. Member
  • **
  • Posts: 155
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?

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3241
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
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.

d0ublezer0

  • Jr. Member
  • **
  • Posts: 155
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..

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3241
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
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

d0ublezer0

  • Jr. Member
  • **
  • Posts: 155
You can set unlimited related poducts list and can use related product as add to cart Option
For Child Products supported?