Overiding the sku

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38808
interpreted = N
texte = Hello,I am trying to get a site to overide the sku if I have more then one of the same product. (eg. Blue shirt is sku 3479-1, red shirt is sku 3479-2, etc.) In the store builder there is an option where you can overide price and sku but it does not overide sku only price. Has anybody ran into this problem. The code for overiding the price is posted below but where is the code for overiding the sku??Any help would be greatly appreciated. [/!] [formvariables name=__&exact=f] [if ([NAME]^textA | [NAME]^textB | [NAME]^textC | [NAME]^textD | [NAME]^textE)] [then] [search db=admin/related.db&eqR_IDdatarq=[value]] [founditems] [showif [lookup db=admin/categories.db&lookInField=C_ID&value=[R_CATEGORY]&returnfield=C_OVE RRIDE]=Y] [showIf ![r_ovr_price]] [setheader cart=[cart]]Price[GetChars start=8&end=9][NAME][/GetChars]=[r_ovr_price]&password=[lookup db=WebCatalog Prefs&lookinfield=preference&value=LineItemChangePassword&returnfield=value] [/setheader] [/showIf] [/showif] [/founditems] [/search] [/then] [/if] [/formvariables] Thank you,-- Craig ForestMMIProServ Inc. http://www.mmiproserv.com ------------------------------------------------------------- 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: Overiding the sku (John Peacock 2001)
  2. Overiding the sku (Craig Forest 2001)
Hello,I am trying to get a site to overide the sku if I have more then one of the same product. (eg. Blue shirt is sku 3479-1, red shirt is sku 3479-2, etc.) In the store builder there is an option where you can overide price and sku but it does not overide sku only price. Has anybody ran into this problem. The code for overiding the price is posted below but where is the code for overiding the sku??Any help would be greatly appreciated. [/!] [formvariables name=__&exact=f] [if ([NAME]^textA | [NAME]^textB | [NAME]^textC | [NAME]^textD | [NAME]^textE)] [then] [search db=admin/related.db&eqR_IDdatarq=[value]] [founditems] [showif [lookup db=admin/categories.db&lookInField=C_ID&value=[R_CATEGORY]&returnfield=C_OVE RRIDE]=Y] [showIf ![r_ovr_price]] [setheader cart=[cart]]Price[GetChars start=8&end=9][NAME][/GetChars]=[r_ovr_price]&password=[lookup db=WebCatalog Prefs&lookinfield=preference&value=LineItemChangePassword&returnfield=value] [/setheader] [/showIf] [/showif] [/founditems] [/search] [/then] [/if] [/formvariables] Thank you,-- Craig ForestMMIProServ Inc. http://www.mmiproserv.com ------------------------------------------------------------- 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/ Craig Forest

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:

How about this? (1998) Searching Dates (2000) Navigator 4.0 & tables (1997) ShowNext truncating passed variable?? (1997) [SearchString] problem with [search] context (1997) Setting up the server (1997) .tmp files (2000) Changing user submitted data (2000) WebCat2: Items xx to xx shown, etc. (1997) autosensing lanague selection (1997) can WC render sites out? (1997) help needed w/ search params (1998) Database Options (1997) Downloading templates -- PDF problem (2004) Default admin bug and how tech support reacted to it. (2000) virus alert; Jdbgmgr.exe (2003) Re:multiple digests, please stop (1997) RE: IIS4b2 and WebCatalog b19 (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) WCS Newbie question (1997)