Re: Addlineitems SKU peramiter

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43476
interpreted = N
texte = On Tuesday, September 17, 2002, at 12:32 PM, Clint Davis wrote:> Can't you just specify in your [addlineitem] what to use as the SKU? > > [AddLineItem cart=[cart]&db=products.db&SKU=[PRODUCTID][/AddLineItem] > > I hope this works, because I'm building my current store around it... >No Clint, that code would have the effect of looking for the [productid] in the sku field. Remember that wcat replaces any [variable] with its value before processing the command, so if [productid]=tshirt the above command would be ready for processing as :> [AddLineItem cart=3223532&db=products.db&SKU=tshirt[/AddLineItem]which is definitely what you don't want. ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Addlineitems SKU peramiter (Clayton Randall 2002)
  2. Re: Addlineitems SKU peramiter (John Hill 2002)
  3. Re: Addlineitems SKU peramiter (Clint Davis 2002)
  4. Re: Addlineitems SKU peramiter (Donovan 2002)
  5. Re: Addlineitems SKU peramiter (Nitai @ ComputerOil 2002)
  6. Addlineitems SKU peramiter (Donovan 2002)
On Tuesday, September 17, 2002, at 12:32 PM, Clint Davis wrote:> Can't you just specify in your [addlineitem] what to use as the SKU? > > [AddLineItem cart=[cart]&db=products.db&SKU=[PRODUCTID][/AddLineItem] > > I hope this works, because I'm building my current store around it... >No Clint, that code would have the effect of looking for the [productid] in the sku field. Remember that wcat replaces any [variable] with its value before processing the command, so if [productid]=tshirt the above command would be ready for processing as :> [AddLineItem cart=3223532&db=products.db&SKU=tshirt[/AddLineItem]which is definitely what you don't want. ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Clayton Randall

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:

Roundup function? (1997) NT installation (2000) Migrating to NT -Reply (1997) Date search bug (1997) WebCatalog can't find database (1997) Examples of cross-selling with WebCatalog? (1998) Location of Browser Info.txt file (1997) Linux ODBC and the ODBC Bridge (2000) WebCommerce: Folder organization ? (1997) WebCat2b13 Command Reference Doc error (1997) Sun doesn't have an emailer app? (2000) Removing [showif] makes a big difference in speed (1997) Help with Shipping Costs (1997) Product Comparison (2000) Change 2.0 to 2.1: Carts files not written to disk automatically (1998) banner ad redirection page (1999) Sku numbers (1997) textarea inputs and returns (1999) WebCat editing, SiteGuard & SiteEdit (1997) Plugin or CGI or both (1997)