English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Limit Virtuemart Search Per Site?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Limit Virtuemart Search Per Site?
#7912
Limit Virtuemart Search Per Site? 12 Years, 8 Months ago Karma: 0
Hi

We have several sites setup in multisites using virtuemart, basically each site displays 1 manufacturer.

eg. site1 = nokia site2 = samsung etc etc

Using the virtuemart search module searches all products in the database across all manufacturers. Is there a way to limit the search to just 1 manufacturer or this could even be a category and its sub cats??

Thanks

Tony
axyswebs
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7923
Re: Limit Virtuemart Search Per Site? 12 Years, 8 Months ago Karma: 54
I don't know if VM provide such search module or plugin to do that.
You have to search in the VirtueMart website to see if you can restrict the search to a specific category.
Otherwise, you have to develop a specific module and perhaps also plugin to do that.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7929
Re: Limit Virtuemart Search Per Site? 12 Years, 8 Months ago Karma: 0
Hi Edwin

Ok, I'm not a programmer but I have managed to tweak mod_virtuemart_advsearch.php to do what I want for 1 site. For each site I need to change 1 word in the mod_virtuemart_advsearch.php, however multisites duplicates the module across all sites

Is there a way (can you help or develop) to get each site to have its own unique version of the same module??

Regards

Tony
axyswebs
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7933
Re: Limit Virtuemart Search Per Site? 12 Years, 8 Months ago Karma: 54
Tony normally the module is not duplicated but is shared between the websites except if you selected that you want to "copy" the "/modules" directory (that is not recommended).

I don't know what you did to filter the search in this module but for your information, it is alway possible to know inside PHP if you are runing under a slave site or the master and also to know the JMS site ID.
So perhaps you could have a specific setting in your specific module that would use different values depending on the slave site ID.

If you want that we help you develop such module, this is also possible with our billable support that you can order at
www.jms2win.com/en/joomla-multisite?page...35&category_id=1
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7935
Re: Limit Virtuemart Search Per Site? 12 Years, 8 Months ago Karma: 0
Edwin, thanks for your help. I am going to have a go at using the jms site ids to achieve my goals. I will come back to you if I get stuck!

Regards

Tony
axyswebs
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla