Author Topic: Related Products: canonical category id for each?  (Read 209 times)

EvanGR

  • Jr. Member
  • **
  • Posts: 428
Related Products: canonical category id for each?
« on: April 12, 2021, 13:23:35 pm »
Hello,

In the related products section (product details page), I want the following information for each product: canonical category id

And it would be nice to have: product id, canonical category name

I probably need to customize VM core file to include this data in each related. Anyone can point me to which file/code to look for?

Thanks

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1125
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Related Products: canonical category id for each?
« Reply #1 on: April 12, 2021, 14:05:34 pm »
Why?

JSitemap is not enough with standard core VM canonical category id?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

EvanGR

  • Jr. Member
  • **
  • Posts: 428
Re: Related Products: canonical category id for each?
« Reply #2 on: April 12, 2021, 14:37:13 pm »
You misunderstood me :)

I want to customize the Related Products section (the section below the main product).

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1125
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Related Products: canonical category id for each?
« Reply #3 on: April 12, 2021, 15:15:11 pm »
product id, canonical category name

you can add in model related products (models is basic file for mysql select).
Of course, maybe this only load next basic model product, I don't know exactly now, because for related product we don't use core code, but we use modul VM product extended.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates