Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trying to do something I don't know can be done


Guest

Recommended Posts

Hello,

 

I have been working with OS for quite some time now and I've got to grips with the bits an pieces and now I am taking on a much much bigger commerce solution for an entire road in the west midlands.

 

heres my question

 

for instance I have 40 stores, you can view each one of them separately, their products are held in different databases, NOW, i want a search on the front end of the umbrella company allowing you to search all of the stores simultaneously and when the result is clicked go to that store, is there anything out there that does that or similar or would I have to learn how and do it myself?? please don;t let it be the last one.

 

many thanks

-Dave Robilliard

Tired and stressed

Link to comment
Share on other sites

My initial thought is ..

 

the search includes a file via $_GET that has like ..

 

$refArray = array(
							   //requests for searches (ref=)
								 'site1' => array('thissite.com'),
								 'site2' => array('thissite2.com'),
								 'site3' => array('thissite3.com'),
																		 );

if (isset($_GET['ref']) && isset($refArray[$_GET['ref']])) {
Do this search
}

 

Just a quick thought, but may give some ideas.

Link to comment
Share on other sites

I am a little out of my depth with this one but, even if you managed to code for recursively connecting to, selecting, searching through and displaying the results of 40 databases, by the time your user had the results, it would have been quicker to nip down the high street and take a look.

 

I haven't used this but have you seen the Multi-Stores multiple shop system contribution? It maybe an easier solution, unless one of the Gurus on here know how it can be done. Which of course they will do. >_<

Link to comment
Share on other sites

I would run individual cron jobs to populate a products table in your umbrella db that is optimized for searches.

First thing to do is figure out what you want to be searched upon or what kind of filtering you want to offer.

 

If you click on the results you are then taken to the individual store.

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Cheers for the support, I didn't mention that just to be more specific, the websites name is http://www.smith-street.co.uk

 

after that each shop has a sub domain under that, the shops and admins are located in the admin page and the databases are all on the same DB server and I am wondering if there is anyway to link them all so one master DB sees them all, but I will look into those solutions.

 

the other question I had, does anyone know of a quick way to make OS commerce individual without me having to do too much leg work uploading files, so I almost go into a look and feel manager and I can quick upload the logo, change the basic colour and I'm done?

 

is there a way maybe to populate some sort of Java applet with the results giving visual feedback loading the info, a bit like the macromedia exchange site where it loads all of the downloads one at a time and sorts them, I'm just throwing ideas about.

Link to comment
Share on other sites

however, a small problem has arisen, whilst testing OSCMALL I can;t get passed the install. I get to it and then when I try and get into the admin it sais

 

 

Warning: main(includes/functions/mall_setup.php) [function.main]: failed to open stream: No such file or directory in /home/sites/smith-street.co.uk/public_html/_STORES/mall_admin/includes/application_top.php on line 96

 

Warning: main(includes/functions/mall_setup.php) [function.main]: failed to open stream: No such file or directory in /home/sites/smith-street.co.uk/public_html/_STORES/mall_admin/includes/application_top.php on line 96

 

Warning: main(includes/functions/mall_setup.php) [function.main]: failed to open stream: No such file or directory in /home/sites/smith-street.co.uk/public_html/_STORES/mall_admin/includes/application_top.php on line 96

 

Fatal error: main() [function.require]: Failed opening required 'includes/functions/mall_setup.php' (include_path='.:/usr/share/pear') in /home/sites/smith-street.co.uk/public_html/_STORES/mall_admin/includes/application_top.php on line 96

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...