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 productdetail page where ProductID=Base SKU for the product. If the product has NOOPTIONS available, then the base SKU (ProductID) is used when the product isadded 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 DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 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:
|
- 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 productdetail page where ProductID=Base SKU for the product. If the product has NOOPTIONS available, then the base SKU (ProductID) is used when the product isadded 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 DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 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:
WebCat2: Items xx to xx shown, etc. (1997)
Here's how to kill a Butler Database. (1997)
Re2: frames & carts (1997)
Problems with [Search] param - Mac Plugin b15 (1997)
Grouping Fields in Context (1999)
Logical and or in [hideif] (1997)
Email notification to one of multiple vendors ? (1997)
Setting up WebCatalog with Retail Pro data (1996)
Image Upload? (2002)
Extended [ConvertChars] (1997)
Sending E-mail (1997)
WebCat2.0 [format thousands .0f] no go (1997)
Solve the Problem, get the code! (2001)
Not accepting Zero (2000)
Anybody host WebDNA & ImageMagick? (2004)
[Shownext] (1997)
using WebCat for Associate Programs? (1998)
Permissions / Restart WebDNA? (2005)
emailer (1997)
[OT] HTML, HTML docs (2001)