Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2008
    Location
    London
    Posts
    596
    Plugin Contributions
    0

    Default including group discount in welcome email

    It's really not my day today.
    For some reason I am just not 'getting zenned'

    In the welcome email, I understand that if you set up a gift voucher this would be announced in the welcome email.

    I need to set up around 20 group discounts.
    More will be added, and will be selectable when setting up new customers through 'add customers viz admin'.

    What I need is to be able to say something like:
    "Welcome XXX, You are in XXX group which means you will get a XXX% discount"
    in the welcome email.

    For the GV block you can use $GV_BLOCK in email_template_welcome but what would the equivalent be for group discounts?

    Once again, many thanks!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: including group discount in welcome email

    You would have to add custom code for that into your 'add customers viz admin' mod, and perhaps alter your email template to handle another similar placeholder for your new data.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2008
    Location
    London
    Posts
    596
    Plugin Contributions
    0

    Default Re: including group discount in welcome email

    Correct me if I am wrong but if I search site wide for anything beginning with $GV_ (gift voucher), I can then create a custom tag $GR_ (group).
    As well as add this to the database, is there anything else I would need to do?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: including group discount in welcome email

    I don't understand what good a site-wide search would do. You're customizing an addon module to add functionality, right? You're adding new stuff.

    If you want a replacable parameter in your email template, just add one ... call it anything you like ... $THIS_IS_MY_PARAMETER would likely work just fine. Then make sure you set a value for it when you prepare your html-formatted email content.

    Additionally, I don't see anything you need to add to the database in order to generate extra content for an outgoing email message.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Email to exclude discount group, etc
    By elishama3 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 4 Mar 2008, 06:09 AM
  2. Tax not including in Group Discount
    By dilate in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 6
    Last Post: 1 Mar 2007, 12:17 PM
  3. Welcome discount in Email.
    By Erica in forum General Questions
    Replies: 2
    Last Post: 21 Aug 2006, 04:33 PM
  4. Email Welcome Discount
    By bci7 in forum General Questions
    Replies: 2
    Last Post: 1 Aug 2006, 03:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg