VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: EvanGR on July 29, 2019, 15:54:12 PM

Title: Automatic related products, based on custom field.
Post by: EvanGR on July 29, 2019, 15:54:12 PM
Hello,

I know it is possible to use a VM Products module, to sort of show related products from the same category of the current product.

We want a variation, where the related products are decided based on a custom field.

For example... if the customer is viewing an Intel motherboard, in category Motherboards, we want to show him other products for/by Intel, not just a bunch of different motherboards.

If "Intel" and "AMD" were the custom field values, this would produce more desirable results.

Is it possible to tweak the Products module to output results in the manner described above?

Thanks

Title: Re: Automatic related products, based on custom field.
Post by: PRO on July 29, 2019, 19:51:44 PM
are you using them as manufacturer as well? or are you using "Intel" as a compatible part?


yes this is possible.

Title: Re: Automatic related products, based on custom field.
Post by: EvanGR on July 30, 2019, 09:31:45 AM
No Manufacturer. Just a "compatible" part.
Title: Re: Automatic related products, based on custom field.
Post by: PRO on July 30, 2019, 21:08:20 PM
do you have an Intel category?
Title: Re: Automatic related products, based on custom field.
Post by: EvanGR on July 31, 2019, 09:25:35 AM
Quote from: PRO on July 30, 2019, 21:08:20 PM
do you have an Intel category?

Yes.
Title: Re: Automatic related products, based on custom field.
Post by: StefanSTS on July 31, 2019, 09:41:01 AM
Actually you might want to have a look at breakdesigns' product builder where you can set up very complicated dependencies.

Just an idea.
Stefan
Title: Re: Automatic related products, based on custom field.
Post by: Studio 42 on July 31, 2019, 10:51:48 AM
I can perhaps modify my plugin https://shop.st42.fr/en/products/extra-product.htm to add filters or do a new one.