VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: andyprosser10 on April 12, 2019, 17:07:30 PM

Title: Product Category issues [solved]
Post by: andyprosser10 on April 12, 2019, 17:07:30 PM
This is driving me mad and I need to resolve this urgently as I'm supposed to be migrating a huge Mijoshop / Opencart e-commerce shop to VM next week!
When editing a product the category is not displaying so I can't set the category for any products.

Console is reporting this error:
TypeError: n.fancybox.defaults is undefined



site: http://77.104.181.235/~firespar/index.php/store

Joomla version: 3.9.5
VirtueMart 3.4.5 10040
PHP Version  7.1.27

Happy to send you a login

Thanks in advance!


Andy
Title: Re: Product Category issues
Post by: hellorain on April 12, 2019, 17:42:52 PM
Hello,

Happy to help you!!

Best Regards,
hellorain.
Title: Re: Product Category issues
Post by: jenkinhill on April 12, 2019, 23:47:26 PM
Looking at your image there is something wrong. You should only have one category set for canonical (it is not logical to have more than one) - in current versions only one cat can be set there as it is a drop down select, and you have scroll arrows for manufacturer/producer, they should not be there (see pic below).

I have never seen that error before, but js errors are usually due to not loading jQuery before it is needed by other scripts or loading an incorrect version.

(https://i.ibb.co/PtVcwmp/latest.png)
Title: Re: Product Category issues
Post by: GJC Web Design on April 13, 2019, 12:21:56 PM
The cat dropdown is fetched by ajax so if u have a JS error in the admin there is every chance the select will not be populated.
So 1st you need to fix the JS error u quote
Title: Re: Product Category issues
Post by: andyprosser10 on April 15, 2019, 11:09:41 AM
Quote from: hellorain on April 12, 2019, 17:42:52 PM
Hello,

Happy to help you!!

Best Regards,
hellorain.

Thank you Hellorain. I've sent you a Skype.
Andy
Title: Re: Product Category issues
Post by: Studio 42 on April 16, 2019, 00:08:01 AM
If you really dont find a fix, my component Vm Be pro can help you to import products and category, or mass add categories to product.
See https://shop.st42.fr/en/products/vm-be-pro-batch-product-edit.htm
Note that in new release you can mass copy & move from one category to another
Title: Re: Product Category issues
Post by: AH on April 16, 2019, 10:39:31 AM
You have a JS error in the admin page - it needs sorting out - try using ISIS template in admin - if you are not already doing so
Title: Re: Product Category issues
Post by: andyprosser10 on April 16, 2019, 12:01:11 PM
RESOLVED THANKS ALL
It was Simple Image Gallery Pro in the end that was causing the clash / JS errors.

Andy
Title: Re: Product Category issues
Post by: AH on April 16, 2019, 12:57:45 PM
Thanks for the update
Title: Re: Product Category issues [solved]
Post by: jenkinhill on April 16, 2019, 13:27:59 PM
SIG Pro issues have been mentioned on this forum quite a few times!  http://forum.virtuemart.net/index.php?topic=141736.msg499837#msg499837