Author Topic: Duplicate custom field related products  (Read 1351 times)

gpessoa

  • Jr. Member
  • **
  • Posts: 164
Duplicate custom field related products
« on: December 23, 2021, 20:56:20 pm »
Hi ppl
Is there a possibility to duplicate the entire custom field "related products" section (both on front and in the admin / backend)
The idea is having another "related" set of items!
I already duplicate the original custom field “related product” but I see nothing  on beckEnd!
Thank in Advanced
J 3.10.5; VM 3.4.2; PHP 7.2.34

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1599
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Duplicate custom field related products
« Reply #1 on: December 23, 2021, 21:04:43 pm »
Quote
Is there a possibility?

Yes, of course, our developers created duplicated functions from related products to new function == related accessories.
You need create custom new function in model product, update view product in administration and next, next....
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

gpessoa

  • Jr. Member
  • **
  • Posts: 164
Re: Duplicate custom field related products
« Reply #2 on: December 24, 2021, 14:02:34 pm »
Hi Pinochio
Can you be more specific?
File names on folder names, please!
Like edit:
custom on administrator/components/com_virtuemart/models
J 3.10.5; VM 3.4.2; PHP 7.2.34

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4663
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Duplicate custom field related products
« Reply #3 on: December 28, 2021, 15:40:28 pm »
Simply use this customfield plugin https://shop.st42.fr/en/products/extra-product.htm
You can show the plugin at any valid Virtuemart customfield position and are not limited to 1 related list

gpessoa

  • Jr. Member
  • **
  • Posts: 164
Re: Duplicate custom field related products
« Reply #4 on: January 04, 2022, 18:43:25 pm »
Quote
You can show the plugin at any valid Virtuemart customfield position and are not limited to 1 related list

Hi,
Can this be easily handle with Rollandd CSVi?
Like related_products are!
J 3.10.5; VM 3.4.2; PHP 7.2.34

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4663
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Duplicate custom field related products
« Reply #5 on: January 05, 2022, 14:31:38 pm »
Quote
Can this be easily handle with Rollandd CSVi?
I do not know, but the related products are only an array of product IDS in the customfields param
HEre a sample of the params

subtitle="Compatible with"|ids={
    "2374": "1",
    "1884": "1",
    "2373": "1",
    "1831": "1",
    "2129": "1",
    "1859": "1",
    "1926": "1",
    "2375": "1",
    "1925": "1"
}|

gpessoa

  • Jr. Member
  • **
  • Posts: 164
Re: Duplicate custom field related products
« Reply #6 on: January 11, 2022, 01:34:15 am »
having to use the product ID doesn't work for me... :'(
J 3.10.5; VM 3.4.2; PHP 7.2.34

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10451
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Duplicate custom field related products
« Reply #7 on: January 12, 2022, 12:45:50 pm »
Just use the new core. The new core HAS this feature. Without ids! just the same as we already have. Just as extra customfield. https://dev.virtuemart.net/attachments/1297/com_virtuemart.3.8.9.10578_package_or_extract.zip (reupped)
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

gpessoa

  • Jr. Member
  • **
  • Posts: 164
Re: Duplicate custom field related products
« Reply #8 on: January 12, 2022, 20:19:53 pm »
Thank you Max
This is great News  8)
J 3.10.5; VM 3.4.2; PHP 7.2.34