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:

WCS Newbie question (1997) HTTP upload (2000) WebCat & Backoffice Solution? (2000) Post arguments problem mac? (1997) Another OS 10.3 Upgrade issue (2003) [WebDNA] Cicada - WebDNA_CICADA_6.1.b02 - gratz and request...! (2009) Interfacing WC with mail server (1998) WebCat2 Append problem (B14Macacgi) (1997) Sku numbers (1997) Re2: Calculating multiple shipping... (1997) Searching an Email database (1997) WebCat2.0 acgi vs plugin (1997) [WebDNA] Bug in [thisurlplusget] on v7 (2011) Document Contains No Data! (1997) NT Setup (1998) Security Issues and WebCommerce Solution (1997) 2.0Beta Command Ref (can't find this instruction) (1997) Re(9): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) Math (1997) F3 crashing server (1997)