Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

SJ BizShop - Module mod_sj_vm_deals -> VM Category Preload not working
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: SJ BizShop - Module mod_sj_vm_deals -> VM Category Preload not working

Re: SJ BizShop - Module mod_sj_vm_deals -> VM Category Preload not working 4 years, 4 months ago #39973

i have same isseu with SJ Super Category for Virtuemart

i.vgy.me/ZMPvNR.png

Re: SJ BizShop - Module mod_sj_vm_deals -> VM Category Preload not working 4 years, 4 months ago #39974

Hello,

All above modules has is a file in path : core\fields\sjvmcategories.php
So you need to simply change (near line 46 ):
if (!class_exists('VmModel')) {
if (defined('JPATH_VM_ADMINISTRATOR') && file_exists(JPATH_VM_ADMINISTRATOR . '/helpers/vmmodel.php')) {
require JPATH_VM_ADMINISTRATOR . '/helpers/vmmodel.php';
} else {
$this->error = 'Could not find VmModel helper';
return false;
}
}​
with below codes :
if (!class_exists('VmModel')) {
$vmpath_admin = $rootPath.'/administrator/components/com_virtuemart';
JLoader::register('VmModel', $vmpath_admin.'/helpers/vmmodel.php');
}
and find
protected function getCategories()
comment code
//VmConfig::loadJLang('com_virtuemart', true);
VmConfig::loadConfig();

Thanks
  • Page:
  • 1
  • 2
Time to create page: 0.20 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes