Is it possible to use more than one database on a single site as I am building a site with some items for sale and some for information only and I would like to keep them in separate databases.
Is it possible to use more than one database on a single site as I am building a site with some items for sale and some for information only and I would like to keep them in separate databases.
I'm not sure I fully understand what you're envisioning. Why are you wanting to "keep them in separate databases"?
Are you wanting 2 different stores?
Or do you just want 1 store but the ability to present certain products *one way* and other products *another way*?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I want to present certain products without prices as reference material and other products for sale which are much the same as the reference material.
There are perhaps over 4000 items for the reference with about 1000 for sale.
I thought to manage the database effectively then the 'for sale items' could be held separately as these will be changing but the reference database will only be added too.
If you wanted to stick with just the Zen Cart system itself, the simplest way would be to create your reference material as "Document-General" products instead of regular products. When creating a product, there is a pulldown beside the New Product button, which lets you choose the type of item you're creating.
The documents will show in a separate category sidebox, and when displaying those items, there will be no pricing or add-to-cart facility for them.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
It's probably that the effort involved in changing and maintaining Zen Cart's core code to support this would far outweight any possible database efficiencies.
Could you tell us something more abiout the nature of the reference products and what information you want to display about them. There may be other solutions available if we know what we're dealing with.
(Wow I must be typing slow today. The good Doc beat me by a whole five mins!)
Last edited by kuroi; 17 Jul 2008 at 09:02 AM. Reason: Saw DrByte's response
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Yes it is going to be a stamp cover catalogue with items also for sale.
I did look at the document options today and I think that this may well serve my purpose. Thanks
But better solutions are always welcome!
Thanks again
Pete
You can also add lots of pages using the EZ-Pages feature ... which can even be used to group linked pages into chapters with a clickable index/table-of-contents etc.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.