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:

WebCat2b13MacPlugIn - more [date] problems (1997) Fields/Forms Processing (1998) Search results templates (1996) Swear words (2002) Urgent help needed (2003) 06/06/2000 bug warning ... (2000) WebTen and WebCat (1997) multi-paragraph fields (1997) Mail Server Needed. (1998) emailer (1997) Couple of questions (1999) emailer (1997) WebCat2b13MacPlugIn - [include] (1997) form data submission gets truncated (1997) Some Questions (1997) SIMS setup (1998) referrer and no caches (1997) RAM variables (1997) RE: CloseDatabase (1997) WebCat2 - [format thousands] (1997)