Re: [WebDNA] Two stores one db

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107425
interpreted = N
texte = Thanks Donovan. On Sep 25, 2011, at 5:18 PM, Donovan Brooke wrote: > Not sure if this has been answered, but if your cart files are not in = the ShoppingCarts 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 contexts that you use. >=20 > Look for that param in the docs. >=20 > Donovan >=20 > =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 >=20 > On Sep 24, 2011, at 5:46 PM, "C. Frank Wolfe" = wrote: >=20 >> I having a problem getting two stores to work from one product db. = Both are under the same domain, but in different directories. But, they = share one products.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 WebDNA 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 shoppingcarts 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 > --------------------------------------------------------- > 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 >=20 >=20 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)
Thanks Donovan. On Sep 25, 2011, at 5:18 PM, Donovan Brooke wrote: > Not sure if this has been answered, but if your cart files are not in = the ShoppingCarts 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 contexts that you use. >=20 > Look for that param in the docs. >=20 > Donovan >=20 > =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 >=20 > On Sep 24, 2011, at 5:46 PM, "C. Frank Wolfe" = wrote: >=20 >> I having a problem getting two stores to work from one product db. = Both are under the same domain, but in different directories. But, they = share one products.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 WebDNA 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 shoppingcarts 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 > --------------------------------------------------------- > 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 >=20 >=20 frank@cwolfe.com

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:

WebCat2 - [format thousands] (1997) Keep away (1997) Generating Options for a Form. (1997) problems with 2 tags (1997) replacing founditems ... (2002) WebCat2 - [include] tags (1997) purchase plugin (1996) WebDNA and FreeBSD 6.1 with Apache (2007) Re-Shipping using Book/Ship Method (2004) Improper naming convections? (2004) [isfile] ? (1997) Has anything been fixed in 4.0.1 since the beta? (2000) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) HTML Editors (1997) redirect from the errorsMessages.db entry (1997) WebCat2b12 - nesting [tags] (1997) Jimmy (1998) Globals Permissions (2003) WebCat2 - Getting to the browser's username/password data (1997) RE: OK, here goes... (1997)