Announcement

Collapse
No announcement yet.

Email Including Product Info

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Email Including Product Info

    I want to add an "ask a question about this product button" by each product on a site. In its most simple sense I want this to open an email form which the customer fills out and sends to me. This seems simple enough. Catch is I want to edit the Actinic Templates, maybe ActProductLine for example so that when the button is pressed and the email page opens it populates the blank email with information from the product concerned. For example the subject box might contain the product name.
    Alternatively, rather than just opening a blank email maybe a dialogue box could open allowing the user to type something and press a send button. This would come to me as an email with what the user typed and other information about the product they were asking about, like product name, already populated in the email I receive.
    I can work out how to hard code this on a product by product basis but can anyone suggest a way I can get this set up in the Actinic Templates to pull information about each product in automatically.
    Actinic templates are not my strong point!
    Any suggestions would be gratefully received.

    Mark
    Mark Ebrey
    Swimming Pool Test Strips
    Aquarium Test Strips
    Pond Test Strips
    Home Allergy Testing. Diagnose your allergy symptoms

    #2
    The following in your Product Template will make a link that will send an email with the subject field set to the product name and reference. Note that this will fail if you have product names containing the single or double quote characters ( ' or " ).
    Code:
    <a href="#" onfocus="this.href='mail' + 'to:me' + '@myserver.' + 'com?subject=' + escape('NETQUOTEVAR:PRODUCTNAME Ref: NETQUOTEVAR:PRODUCTREFERENCE')"> Ask us about this product</a>
    The email address me@myserver.com has been obfuscated and you'll have to put the bits of your own address in as appropriate.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman. Just what I needed. Works a treat.
      Mark Ebrey
      Swimming Pool Test Strips
      Aquarium Test Strips
      Pond Test Strips
      Home Allergy Testing. Diagnose your allergy symptoms

      Comment

      Working...
      X