News:

Support the VirtueMart project and become a member

Main Menu

Duplicate custom field related products

Started by gpessoa, December 23, 2021, 20:56:20 PM

Previous topic - Next topic

gpessoa

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 4.4.4; VM 4.2.6; PHP 8.3.6

pinochico

QuoteIs 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

Hi Pinochio
Can you be more specific?
File names on folder names, please!
Like edit:
custom on administrator/components/com_virtuemart/models
J 4.4.4; VM 4.2.6; PHP 8.3.6

Studio 42

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

QuoteYou 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 4.4.4; VM 4.2.6; PHP 8.3.6

Studio 42

QuoteCan 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

having to use the product ID doesn't work for me... :'(
J 4.4.4; VM 4.2.6; PHP 8.3.6

Milbo

#7
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

J 4.4.4; VM 4.2.6; PHP 8.3.6