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:
[WebDNA] shopping sites and the "old commerce tags" (2012)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
WebCatalog for guestbook ? (1997)
Assigning new CART number (1997)
WebCat2 beta FTP site (1997)
[SHOWIF AND/OR] (1997)
Major problem (1999)
Ampersand Character (&) (1997)
WebCat2final1 crashes (1997)
problems with 2 tags shakur (1997)
Spiders (1998)
Exclamation point (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
combining strings (1997)
[WebDNA] Add to cart (2014)
searchable list archive (1997)
Upgrade to WebCat2 from Commerce Lite (1997)
WebCat B13 Mac CGI -- Frames question (1997)
NT 4.0/IIS WebCat Installation (1998)
[Sum] function? (1997)