Re: [WebDNA] Two stores one db

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107424
interpreted = N
texte = Not sure if this has been answered, but if your cart files are not in the Sh= oppingCarts directory of the same root as the template that is calling them,= you will have to use the 'file=3D' param in all the shopping cart tags and c= ontexts that you use. Look for that param in the docs. Donovan =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D d.brooke - mobile www.euca.us =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On Sep 24, 2011, at 5:46 PM, "C. Frank Wolfe" wrote: > I having a problem getting two stores to work from one product db. Both ar= e under the same domain, but in different directories. But, they share one p= roducts.db >=20 > main store=20 > domain/shoppingcart.tpl etc > domain/shoppingcarts/ > domain/data/products.db >=20 > substore/ > domain/substore/shoppingcart.tpl etc > domain/substore/shoppingcarts/ > products.db=3Ddomain/data/products.db >=20 > In other words, both stores share one product db. >=20 > A Cart IS being created in the substore/shoppingcarts folder, but products= will not add to it. > Is that because of the directory structure do you think? Am I confusing W= ebDNA somehow? >=20 > How does WebDNA know which shopping cart folder to use? > Is there a relationship between the template with the add command and the s= hoppingcarts folder? >=20 > Any info would help. >=20 > Thank you, >=20 > Frank > 6.2 >=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Two stores one db (frank@cwolfe.com 2011)
  2. Re: [WebDNA] Two stores one db (Donovan Brooke 2011)
  3. Re: [WebDNA] Two stores one db (Govinda 2011)
  4. Re: [WebDNA] Two stores one db (frank@cwolfe.com 2011)
  5. [WebDNA] Two stores one db (frank@cwolfe.com 2011)
Not sure if this has been answered, but if your cart files are not in the Sh= oppingCarts directory of the same root as the template that is calling them,= you will have to use the 'file=3D' param in all the shopping cart tags and c= ontexts that you use. Look for that param in the docs. Donovan =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D d.brooke - mobile www.euca.us =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On Sep 24, 2011, at 5:46 PM, "C. Frank Wolfe" wrote: > I having a problem getting two stores to work from one product db. Both ar= e under the same domain, but in different directories. But, they share one p= roducts.db >=20 > main store=20 > domain/shoppingcart.tpl etc > domain/shoppingcarts/ > domain/data/products.db >=20 > substore/ > domain/substore/shoppingcart.tpl etc > domain/substore/shoppingcarts/ > products.db=3Ddomain/data/products.db >=20 > In other words, both stores share one product db. >=20 > A Cart IS being created in the substore/shoppingcarts folder, but products= will not add to it. > Is that because of the directory structure do you think? Am I confusing W= ebDNA somehow? >=20 > How does WebDNA know which shopping cart folder to use? > Is there a relationship between the template with the add command and the s= hoppingcarts folder? >=20 > Any info would help. >=20 > Thank you, >=20 > Frank > 6.2 >=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Donovan Brooke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

RE: Cart Template (1997) Date search - yes or no (1997) Search with Special Chars (1997) Upcoming 2.1 Release and PCS Committment (1997) Happy New Year (2002) refreshing IE with posted .tmpl (1997) OS X Problem... (2000) WebSite vs. IIS (1997) [PROTECT] Problem (2003) How do I get WebCatalog to interpret WebDNA tags in .html files? (1997) Include a big block of text (1997) Still having math problems (1997) Problem (1997) Problems passing [SKU] with $Replace in 2.0 (1997) Database Updates (1997) Generating Report Totals (1997) OK to delete records while finding them? (2000) Nested vs conditional (1997) cybercash on OSX - was Executing remote AppleScript (2000) Google MAP URLs (2006)