Sending emails to customer or vendors

Category: Phoca Cart Component
 
 
If you want to inform your customer or vendor/administrator/manager every time the order status changes, just set following parameters in selected order status.
 
Joomla! Administration - Extensions - Phoca Cart - Order Statuses - select and edit status:
  • Email Subject (Customer) - Set email subject. Subject of email sent to customer.
  • Email (Customer) - Set if an email will be sent to the customer (in case this status will be set).
  • Email Text (Customer) - Set email text. Message sent to customers when the status is changed.

 

  • Email Subject (Others) - Set email subject. Subject of email sent to users set in field 'Email (Others)'.
  • Email (Others) - Enter email address(es) where the message will be sent (in case this status will be set). Separate each email address with comma(,).
  • Email Text (Others) - Set email text. Message sent to users set in field 'Email (Others)' when the status is changed.

 

Every time the status changes, the email is sent to customer or selected users (vendors, administrators/managers). When vendor or administrator changes the status manually in administration, then he/she can set if an email will be sent or not (so even the status is set to not sending emails, this setting can be overridden manually).

 
Subject and body (email text) of an email can be customized - following variables can be used there:
 
{name}
{email}
{emailothers}
{downloadlink}
{orderlink}
{trackinglink}
{shippingtitle}
{dateshipped}
{trackingdescription}
{customercomment}
{websitename}
{websiteurl}
{orderid}
{ordernumber}
{invoicenumber}
{receiptnumber}
{paymentreferencenumber}
{invoiceduedate}
{invoicedate}
{totaltopay}
{orderyear}
{ordermonth}
{orderday}
{ordernumbertxt}
{bankaccountnumber}
{iban}
{bicswift}
{totaltopaynoformat}
{currencycode}
 
 
Body (email text) of an email can be extended through following variables.
 
Items from Billing Address:
 
{b_name_first}
{b_name_middle}
{b_name_last}
{b_name_degree}
{b_company}
{b_vat_1}
{b_vat_2}
{b_address_1}
{b_address_2}
{b_city}
{b_zip}
{b_country}
{b_region}
{b_email}
{b_email_contact}
{b_phone_1}
{b_phone_2}
{b_phone_mobile}
{b_fax}
{b_test}
{b_countrytitle}
{b_regiontitle}
{b_countrycode}
 
 
Items from Shipping Address:

{s_name_first}
{s_name_middle}
{s_name_last}
{s_name_degree}
{s_company}
{s_vat_1}
{s_vat_2}
{s_address_1}
{s_address_2}
{s_city}
{s_zip}
{s_country}
{s_region}
{s_email}
{s_email_contact}
{s_phone_1}
{s_phone_2}
{s_phone_mobile}
{s_fax}
{s_test}
{s_countrytitle}
{s_regiontitle}
{s_countrycode}
 
Custom Items from Billing and Shipping Address:
 
If you create own form field, for example: my_custom_form_field, such can be transformed in email through following variables:
 
{b_my_custom_form_field} ... field stored in Billing Address
{s_my_custom_form_field} ... field stored in Shipping Address
 
 
 
Phoca Cart - email variables
 
 
Such variables will be transformed to data stored in current order.