Re: REPOST: Overwiting SKU in Cart
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 40952
interpreted = N
texte = I tried something similar to that but I could not force an index of 1.Why is it important - a long story but basically the client has requested some alterations to the architecture of the process for the cart and a particular type of product must be in index 1 to allow other items to be added.-- Stuart Tremainidfk web developments - AustraliaOn Wednesday, 26 June 2002, NovaDerm Skincare Science
wrote:>*This message was transferred with a trial version of CommuniGate(tm) Pro*>No can do muchacho ;)>>But, you could write some code that deletes all the lineitems after you've>recorded them, say in a temp lineitems.db, and then add them back in, with>the sku of interest first on the list, so it has an index of 1. Kind of a>colossal pain.>>BTW, why is it important that it have an index of 1???>-->>Will Starck>NovaDerm Skincare Science>http://www.novaderm.com>support@novaderm.com>>>>>----- Original Message ----->From: Stuart Tremain >To: WebCatalog Talk >Sent: Tuesday, June 25, 2002 9:06 PM>Subject: REPOST: Overwiting SKU in Cart>>>*This message was transferred with a trial version of CommuniGate(tm) Pro*>To change a line item in a visitor's shopping cart, put a SetLineItem>context into a template. Whenever WebCatalog encounters a SetLineItem>context, it opens the shopping cart file and changes values in a line item>(identified by its index). The item's quantity, textA-E, and cart header>fields are all>changeable.>>How can I change the SKU? It is important that the product that needs to be>changed remains index=1.>>>-->Stuart Tremain>idfk web developments - Australia>>>>------------------------------------------------------------->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/>>>>>------------------------------------------------------------->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/>-------------------------------------------------------------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:
I tried something similar to that but I could not force an index of 1.Why is it important - a long story but basically the client has requested some alterations to the architecture of the process for the cart and a particular type of product must be in index 1 to allow other items to be added.-- Stuart Tremainidfk web developments - AustraliaOn Wednesday, 26 June 2002, NovaDerm Skincare Science wrote:>*This message was transferred with a trial version of CommuniGate(tm) Pro*>No can do muchacho ;)>>But, you could write some code that deletes all the lineitems after you've>recorded them, say in a temp lineitems.db, and then add them back in, with>the sku of interest first on the list, so it has an index of 1. Kind of a>colossal pain.>>BTW, why is it important that it have an index of 1???>-->>Will Starck>NovaDerm Skincare Science>http://www.novaderm.com>support@novaderm.com>>>>>----- Original Message ----->From: Stuart Tremain >To: WebCatalog Talk >Sent: Tuesday, June 25, 2002 9:06 PM>Subject: REPOST: Overwiting SKU in Cart>>>*This message was transferred with a trial version of CommuniGate(tm) Pro*>To change a line item in a visitor's shopping cart, put a SetLineItem>context into a template. Whenever WebCatalog encounters a SetLineItem>context, it opens the shopping cart file and changes values in a line item>(identified by its index). The item's quantity, textA-E, and cart header>fields are all>changeable.>>How can I change the SKU? It is important that the product that needs to be>changed remains index=1.>>>-->Stuart Tremain>idfk web developments - Australia>>>>------------------------------------------------------------->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/>>>>>------------------------------------------------------------->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/>-------------------------------------------------------------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/
Stuart Tremain
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 true is this? (1999)
system crashes, event log (1997)
WCf2 and nested tags (1997)
Delete only one duplicate record? (2003)
Can someone help? (2000)
A multi-processor savvy WebCatalog? (1997)
[OT] - Javascript: Adding fields dynamically (2003)
Location of Browser Info.txt file (1997)
PCS Frames-Default page is solution! (1997)
RE: protect tag on NT (1997)
[shownext] and sort (1998)
Mozilla/4. and Browser Info.txt (1997)
Fun With [TCP Connect] (1998)
PIXO support (1997)
BUG in [showif] using ^ (contains) (1997)
[date format] w/in sendmail (1997)
Trouble starting WC under OSX (2001)
Using EIMS instead of Emailer (1998)
OR-searching (2000)
NY taxRates.db? (1997)