Author Topic: Related products for parent product with variants  (Read 417 times)

jamesl-kemet

  • Beginner
  • *
  • Posts: 11
  • A beginner
Related products for parent product with variants
« on: October 22, 2020, 15:31:51 pm »
Hi, I'm having trouble regarding 'Related products'. I have added a related product to a parent product which has variations setup / child products, when viewing the product it is fine, but when choosing any variant from the dropdown, it then displays the related product instead of the product variant/child product. If I then refresh the page, the variant/child product then displays fine. I have tried the joomla protostar template, but has the same issue. Have also tried the tick box option next to each item within the 'related products', 'click here to prevent inhereting...'.

Page with 'related product' can be viewed here https://www.kemet.co.uk/testnew/cutting/diamond-cut-off-wheels-detail

VirtueMart 3.8.4 10335
Joomla! 3.9.21

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10029
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Related products for parent product with variants
« Reply #1 on: October 22, 2020, 17:14:54 pm »
and with "Load products by ajax" switched off? - in VM config->template
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jamesl-kemet

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: Related products for parent product with variants
« Reply #2 on: October 22, 2020, 17:25:25 pm »
thanks, seems to work when the ajax for products is switched off. I did like the Ajax feature on the main page though. Would the ajax feature be conflicting with a plugin then? or something else?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10029
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Related products for parent product with variants
« Reply #3 on: October 22, 2020, 19:23:19 pm »
possibly you have a clash of css classes that the ajax is looking for ( to fill the div) ?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation