Re: Prepaid monthly subscription order fulfillment question

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59971
interpreted = N
texte = It seems to me that you would have two field values to use. the Date that the subscription was made: "SUB_DATE" and the Subscription term: "SUB_TERM" Maybe one more field to show the last date sent: "LAST_SENT" From those two values I think a fulfillment sendmail tpl could calculate the dates that the email gets sent out.. maybe hit by a trigger every so often. something like (abridged): [text]sub_date=[lookup returnfield=SUB_DATE][/text] [text]sub_months=[lookup returnfield=SUB_TERM][/text] [text]last_sent=[lookup returnfield=LAST_SENT][/text] [text]dates=[!] [/!][loop start=1&end=[sub_months]][!] [/!][math date]{[sub_date]}+{0[index]/00/0000}[/math],[!] [/!][/loop][!] [/!][/text] [showif ,[listwords words=[dates]&delimiters=,][url][word][/url][delimiter][/listwords]^[url][date][/url]] [hideif [url][last_sent][/url]=[url][date][/url]] [sendmail ...] [/sendmail] [replace db=blay&eqIDdatarq=ID]last_sent=[date][/replace] [committdatabase db=] [/hideif] [/showif] ....would be one way to do it ;-) Donovan Sal D'Anna wrote: > Hello, > > I have a client that sells three, six, and 1 year subscriptions. Their > customers receive a monthly package until their subscription expires. > > For example, the customer buys a 6 month subscription which gets paid in > full, including shipping. The new order gets sent to the fulfillment > company to ship the first month. The question is, how should I set up the > system to send the fulfillment email the other 5 months? Should I add an > expiration date field, or a number_left field that reduces the subscription > by one whenever a new shipment is sent? > > > Any ideas? > > > Sal D’Anna -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Prepaid monthly subscription order fulfillment question ( "Sal D'Anna" 2004)
  2. Re: Prepaid monthly subscription order fulfillment question ( devaulw@onebox.com 2004)
  3. Re: Prepaid monthly subscription order fulfillment question ( "Sal D'Anna" 2004)
  4. Re: Prepaid monthly subscription order fulfillment question ( devaulw@onebox.com 2004)
  5. Re: Prepaid monthly subscription order fulfillment question ( Donovan Brooke 2004)
  6. Re: Prepaid monthly subscription order fulfillment question ( Donovan Brooke 2004)
  7. Prepaid monthly subscription order fulfillment question ( "Sal D'Anna" 2004)
It seems to me that you would have two field values to use. the Date that the subscription was made: "SUB_DATE" and the Subscription term: "SUB_TERM" Maybe one more field to show the last date sent: "LAST_SENT" From those two values I think a fulfillment sendmail tpl could calculate the dates that the email gets sent out.. maybe hit by a trigger every so often. something like (abridged): [text]sub_date=[lookup returnfield=SUB_DATE][/text] [text]sub_months=[lookup returnfield=SUB_TERM][/text] [text]last_sent=[lookup returnfield=LAST_SENT][/text] [text]dates=[!] [/!][loop start=1&end=[sub_months]][!] [/!][math date]{[sub_date]}+{0[index]/00/0000}[/math],[!] [/!][/loop][!] [/!][/text] [showif ,[listwords words=[dates]&delimiters=,][url][word][/url][delimiter][/listwords]^[url][date][/url]] [hideif [url][last_sent][/url]=[url][date][/url]] [sendmail ...] [/sendmail] [replace db=blay&eqIDdatarq=ID]last_sent=[date][/replace] [committdatabase db=] [/hideif] [/showif] ....would be one way to do it ;-) Donovan Sal D'Anna wrote: > Hello, > > I have a client that sells three, six, and 1 year subscriptions. Their > customers receive a monthly package until their subscription expires. > > For example, the customer buys a 6 month subscription which gets paid in > full, including shipping. The new order gets sent to the fulfillment > company to ship the first month. The question is, how should I set up the > system to send the fulfillment email the other 5 months? Should I add an > expiration date field, or a number_left field that reduces the subscription > by one whenever a new shipment is sent? > > > Any ideas? > > > Sal D’Anna -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <- Graphic Design, Custom Tags and Labels -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Donovan Brooke

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:

[numfound] in nested [search] (2000) info (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) How To question on setting up downloads (1997) WebMerchant 1.6 and https (1997) [isfile] ? (1997) Ampersand (1997) Error Page? (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Separate SSL Server (1997) Doing VALIDCARD right? (1998) Can this be done? (2004) [CART] (1997) 'RequiredField' Question (1998) Template Cache problem (2000) stripping extra spaces from form fields (2000) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Searching for words equal to A or equal to B (1999) Summ=T Problem (1997) ShowNext truncating passed variable?? (1997)