I am new to magento. Magento default have only email id for newsletter subscrption. How add the first name and last name in the newsletter subscription? I saw many tutorials. But they are not much clear. Help me to find out this?
There is a free extension, that adds fields for gender, firstname and lastname and makes it available in the backend grid for export via xml/csv: http://www.magentocommerce.com/magento-connect/extended-newsletter-subscription-for-guests.html
You can use both function variables {{var subscriber.getSubscriberFirstname()}} and {{var subscriber.getSubscriberLastname()}} in your email templates.
It will use the guests name entered in the extended subscription form or the customers name, if the user is logged in. The only thing is that if the user is logged in and fills out the extended subscription form with another email address than the one he has registered with, those two variables will return nothing.
Go to System > Transactional Email > Choose one layout to edit. Use this var:
{{var customer.lastname}}
See more at: http://www.mesmerlab.com/create-new-email-template-magento/
The problem is that in the newsletter_subscriber table there are no columns for first name or last name.
This has been addressed in the answer to this question:
Adding a custom field to Magento's subscription module
Related
We see on most of the smm panels a payment method which is called the auto modules... in which the view contains some information about the account i.e account holder name and account number.. on which the user pay the desired amount manually and then add he got two form fields on the same page ... first to enter amount and second to enter trx id... than the wallet balance of an smm panel added automatically.... How this works i just wanted to know.....
Important note: they use a message forwarder which forward the message comes from the easypaisa or jazzcash to the an email address....
Here is the image of the view
i did not try anything
I need first name in email new account template [woocommerce]
my code -> https://pastebin.com/iTfM6Nmz
WooCommerce doesn't have this functionality built in. The new account email can be sent before an order is placed, which would mean it's before any user information has been captured like first name.
After an order has been placed and you have billing information, then you could pull it in with something like
"Hi" . $order->billing_first_name . "Your recent order on"
But that would be on order confirmation emails, or anything after account creation.
You could also check out this thread: https://wordpress.org/support/topic/how-to-add-customer-name-to-new-customer-admin-order-email/
It's essentially recommending the Follow Up Emails extension to help customize emails. Again it will struggle if the user hasn't added their account information when they register, though, so you might want to look for a way to require filling in WooCommerce user information during registration, assuming it's separate from the purchase flow.
Ok guys, wasted half a day on this and am giving up now.
Under my Your Account Has Been Activated email, I want to add to the email the Customer Unique Id code which is nothing more than the customer's initial + the Customer Id which I dynamically create using php.
Now I have the customer id {{var customer.getId()}} coming to the email and I have
{{block type='core/template' area='frontend' template='email/customer_uniq_id.phtml' customer_id_var='{{var customer.getId()}}' }}
which I am trying to pass customer_id_var with the Id to my customer_uniq_id.phtml
But it is not working and I have tried this:
echo Mage::getModel('core/variable')->loadByCode('customer.ID')->getValue('plain');
and other codes but nothing.
Any clues on how to get the customer id when sending the email?
Cheers guys
Try $this->getData('order') as mentioned here: http://www.webspeaks.in/2011/06/customize-new-order-email-template-in-magento.html
I have found a problem under this extension:
If the user is not logged he can see all input field (name, email...), but if he is logged all inputs disappears and he can only see the subscription button which only subscribe his account e-mail.
I need guest users and logged users seeing the same form! Both need to be able to choose any email they want to subscribe.
Does anyone know how to fix it?
Thank You.
Enable Magento Template Path Hints - to find the path to the form template
Comment out the code that check if customer is login (i.e $this->helper('customer')->isLoggedIn())
I am new to sugar and need to have each Account tied to one Contact, the same way that each Lead is linked to a Contact and Account. I have already changed the metadata file to make Account:Contact a 1:1 relationship but past that I am not sure what to do. I would like to ultimately be able to view the contact name for each account when I go to view Accounts as well as be able to import Accounts from a file with a contact field.
I am using Sugar Community Edition 5.2
Instead of using the existing contacts module, a suggestion would be to add a new field (e.g. called account_contact) to the accounts module. That way it would be easy to change the account list view to include the new field, and also include it in the account search options.
I don't think I fully understand you import requirement, but it is possible to set all account fields during the import. So the newly added field is also available in the import.
If you don't want the default Sugar contacts module, you can disable this in the adminstration.
Have you looked into sub-panels at all? Your contact information is always associated with the Account in the detail view--> contacts sub-panel. You want to keep only one contact per account? Create a relate field in the studio FROM CONTACTS to accounts. A one to one account field will appear in contacts and account will have a one to one sub-panel. you can reverse this just by creating this relate field in ACCOUNTS instead. A word of advice - don't start messing with the metadata until you fully understand the relationships built into sugar.