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

TOPIC: category preload

category preload 3 years, 9 months ago #41473

Hi,
is there any way to select top category to have displayed products from all categories?

Re: category preload 3 years, 9 months ago #41481

Use category=0 to show all products

Re: category preload 3 years, 9 months ago #41485

How to do this?
Last Edit: 3 years, 9 months ago by clibert. Reason: added photo

Re: category preload 3 years, 9 months ago #41487

you should use version 3.4.2 virtuemart. mod for virtuemart not support for version 3.6.2.

Re: category preload 3 years, 9 months ago #41490

Hmm,
I remember you help me to upgrade all components from SJ BeeStore to 3.6 version and said it can works with VirtueMart 3.8.4, so I have now VirtueMart 3.8.4 and it works.
But I can't set category=0 or leave it empty od set to "0".

Re: category preload 3 years, 9 months ago #41496

Hello,
All above modules has is a file in path : core\fields\sjvmcategories.php
So you need to simply change (near line 46 ):
VmConfig::loadConfig();

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;
}
}
and find
protected function getCategories()
comment code
//VmConfig::loadJLang('com_virtuemart', true);
VmConfig::loadConfig();

Thanks
  • Page:
  • 1
  • 2
Time to create page: 0.24 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