| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Show Membership level in profile email - DONE | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Show Membership level in profile email - DONE
Howdy!
I've done some searching and I'm not quite sure how to integrate the user's membership level in the profile modified email tpl. Any help would really really be appreciated. I have moderated memberships on, but all the User receives is an email with their contact info when I "approve" their membership. From the client side this is a little clunky. ************************************* SOLUTION ************************************* 1. Create new label. Admin, Languages, Pull Down Lang (English in my case), create new label "lbl_your_membership" with text "Your current membership level is: ". 2. Edit template skin1/mail/profile_modified.tpl. Insert User Membership information from database by calling "userinfo.membership". My adds are in bold. {$lng.lbl_first_name}: {$userinfo.firstname} {$lng.lbl_last_name}: {$userinfo.lastname} {$lng.lbl_your_membership}{$userinfo.membership} {$lng.lbl_billing_address}: {$lng.lbl_address}: {$userinfo.b_address} {$lng.lbl_city}: {$userinfo.b_city} ******************************* RESULT ******************************* First Name: Jerry Last Name: Seinfeld Your current membership level is: Sponsored by ADP Billing Address: Address: 123 Sesame Street City: Somewhere Easy. Figured it out myself but I thought I would leave this tiny mod for anyone else interested in doing the same, but unsure of where to start. |
|||||||||
#2
|
|||||||
|
|||||||
A very useful and quick mod for people to do.
__________________
ex x-cart guru |
|||||||
#3
|
|||||||
|
|||||||
I like it!
__________________
Following the signature guidelines : xcart pro 3.5.8 - [RedHat] |
|||||||
|
|||
X-Cart forums © 2001-2020
|