Re: Addlineitems SKU parameter

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43479
interpreted = N
texte = Clayton,I should have been more specific with my reply...The current store that I'm building has a hidden input tag on the product detail page where ProductID=Base SKU for the product. If the product has NO OPTIONS available, then the base SKU (ProductID) is used when the product is added to the cart.Sorry for the confusion...On 9/17/02 12:05 PM, Clayton Randall wrote:> > 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. --------------------------------------------------------------------- Clint Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 --------------------------------------------------------------------- ------------------------------------------------------------- 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 parameter (Clint Davis 2002)
Clayton,I should have been more specific with my reply...The current store that I'm building has a hidden input tag on the product detail page where ProductID=Base SKU for the product. If the product has NO OPTIONS available, then the base SKU (ProductID) is used when the product is added to the cart.Sorry for the confusion...On 9/17/02 12:05 PM, Clayton Randall wrote:> > 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. --------------------------------------------------------------------- Clint Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 --------------------------------------------------------------------- ------------------------------------------------------------- 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/ Clint Davis

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:

Enhanced Master Counter? (1997) [WebDNA] [WSC] WebDNA Development Summit (2014) [thisurl] or another way (2000) 2nd WebCatalog2 Feature Request (1996) Sorting Numbers (1997) [subtotal] problems -- help? (1998) Help formatting search results w/ table (1997) HTTP upload (2000) Converting spaces to + in results list (SOLVED) (2000) Need Sample Template - just purchased (1997) Close Databases Crash? (1998) Deleting Orders (1997) [index] (1997) WebCat2b15MacPlugin - showing [math] (1997) Web Catalog 2 demo (1997) WebCatalog not running after upgrade (2000) Strange intermittent WebDNA problems (2008) Secure server question (1997) [OT] Redhat 6.1 (2003) shipCost (1998)