Author Topic: Related Categories and Products not working [SOLVED]  (Read 9771 times)

slammy

  • Jr. Member
  • **
  • Posts: 169
  • vm supporter member
  • VirtueMart Version: vm 3.0.x and jml 3.4.5
Re: Related Categories and Products not working
« Reply #15 on: August 26, 2014, 13:35:13 pm »
It is no problem if it´s nearly empty (it means only you do not have edited self-defined fields) but it needs the two lines I have marked you in my xls-export from the virtuemart_customs table/db - maybe it helps. Important are  two fields there, named "custom_title" and "field_type" (case sensitive!!!) ...

I remember I had the issue too. These two entries were missing in my table/installation. After I edited them manually, selecting of related products and categories and saving them did function properly again.

best regards
jens

[attachment cleanup by admin]

dsidir

  • Jr. Member
  • **
  • Posts: 56
Re: Related Categories and Products not working
« Reply #16 on: August 26, 2014, 16:18:19 pm »
Finally , after too many efforts, the related products worked. The problem was the 2 lines missing from the database. Adding actually the 2 lines that slammy marked on the file now I can add and save related products.
thank u all ;)

slammy

  • Jr. Member
  • **
  • Posts: 169
  • vm supporter member
  • VirtueMart Version: vm 3.0.x and jml 3.4.5
Re: Related Categories and Products not working
« Reply #17 on: August 26, 2014, 19:11:06 pm »
ah good to hear that it worked  :)
Pls could you mark your first post in this thread "solved" like the way you did it with your last post, then everybody can see the "solved-tick" in the thread-headline ...
regards jens

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10273
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Related Categories and Products not working
« Reply #18 on: August 27, 2014, 10:01:29 am »
In vm3, we show this customfields normally, so people can just readd it by using the GUI
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

slammy

  • Jr. Member
  • **
  • Posts: 169
  • vm supporter member
  • VirtueMart Version: vm 3.0.x and jml 3.4.5
Re: Related Categories and Products not working
« Reply #19 on: August 27, 2014, 20:29:09 pm »
In vm3, we show this customfields normally, so people can just readd it by using the GUI

hi max, hope you´re doing fine. Nice to hear that vm 3 handles this within the gui.
best regards jens

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10273
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Related Categories and Products not working [SOLVED]
« Reply #20 on: August 29, 2014, 10:01:15 am »
vm2 did it also
the problem was just that people often deleted this fields and claimed than that vm2 does not support it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

blackrat999

  • Jr. Member
  • **
  • Posts: 215
Re: Related Categories and Products not working [SOLVED]
« Reply #21 on: October 23, 2017, 10:56:41 am »
Hi guys.
i know this is an old post but i have the same issue in VM 3.2.4 which i cannot fix.
related products just shows title and no images and nothing saves when i add it.
I have the two lines mentioned above in my db have tried disabling mootools and plugins/components with no joy

Just wonder if you have any ideas as now desperate to get it working

https://easyhit.temp-gingerweb.com
many thanks

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10273
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Related Categories and Products not working [SOLVED]
« Reply #22 on: October 25, 2017, 17:42:13 pm »
Did you enter the customprototype one time, checked and stored it? Because you can enable/disable the images now.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

blackrat999

  • Jr. Member
  • **
  • Posts: 215
Re: Related Categories and Products not working [SOLVED]
« Reply #23 on: October 25, 2017, 23:46:52 pm »
I dont know what this is, i havent intentionally changed anything to do with this, where are the settings please?

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3866
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Related Categories and Products not working [SOLVED]
« Reply #24 on: October 26, 2017, 13:54:03 pm »
Hello

Check under Custom Fields. There You should find two fields that are a bit special.
Related Categories
and
Related Products

Check into these and see that they look correct. You can choose if title, image etc should be shown. In my site I seem to have a Related Products field that is used for Related categories. Maybe You have a similar  issue? If they look alright to You, then just save them once and see if that changes anything.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

blackrat999

  • Jr. Member
  • **
  • Posts: 215
Re: Related Categories and Products not working [SOLVED]
« Reply #25 on: October 26, 2017, 22:24:18 pm »
I am using 2 custom fields both Generic child variant and i cant see anything on either of them mentioning related products or categories.
I get the same issue in related products even on a product that doesnt have any custom fields applied.
thanks for trying to help but im not any further with this.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
Re: Related Categories and Products not working [SOLVED]
« Reply #26 on: October 27, 2017, 00:03:14 am »
If you look at the VM demo on http://demo.virtuemart.net/administrator/index.php?option=com_virtuemart&view=custom   you will see the setup for related categories and related products.  I think that is where Jörgen suggests you look.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

blackrat999

  • Jr. Member
  • **
  • Posts: 215
Re: Related Categories and Products not working [SOLVED]
« Reply #27 on: October 27, 2017, 07:44:03 am »
Wow progress thanks both of you i didnt realise that related products was in the custom fields too. that gives me the images and sets them in the product page but with only having "ontop" or "addtocart" as a layout position it isnt displayed very well. If i use "related_products" they dont show up. Is there a way of making them display in the correct way as before. ie line across below description and in the pop up add to cart which is the main place i want them ?
thanks for progress so far !

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3866
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Related Categories and Products not working [SOLVED]
« Reply #28 on: October 27, 2017, 10:01:06 am »
Hello

The layout positions related_category and related_products should work. They work for me. Have they been removed from Your template ?

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

blackrat999

  • Jr. Member
  • **
  • Posts: 215
Re: Related Categories and Products not working [SOLVED]
« Reply #29 on: October 27, 2017, 16:10:40 pm »
Mmm not sure possibly its a Yootheme template, i will investigate thanks for bringing this to my attention anyway