Announcement

Collapse
No announcement yet.

email product id

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

    #16
    I need to set up the email subject line to capture the product reference number and description. I want the email to automatically be sent to the merchant.
    I don't think this is the way to go in your case. This thread is about the customer voluntarily sending an e-mail to someone via his own E-mail program. I don't think that it would be suitable for what you need. Sure you could automate it so that your suppliers address and product reference is inserted but you'd still have to persuade the customer to send the e-mail.

    Actinic has a built-in function that allows the customer confirmation e-mail to be automatically copied to another address. This may be closer to what you want.

    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #17
      Norman,

      I guess I should explain. My merchant cleint sells used equipment. Often the buyer will have specific questions about a particular item in the catalog and how the item may be used or applied in an application. The ideal situation would be for the consumer to have the capability to quickly email a question to the merchant directly from the product. Infact if possiable populate the email with the Merchant email in the To: feild populate the subject line with the product reference number and short description and capture the email address of the sender.

      This would make it very easy for the customer to ask the question and very easy for the merchant to reply on a specific item request.

      I attempted to modify the script to insert the mailto: to the merchant email and copy the buyer email as the sender. I also attempted to use the netquotvar for the product ref. Unfortunatly my hack did not work well so I was looking for suggestions.

      FYI, I am quite aware of the email copy feture. This feature only works when ordering and the goal of my email application is to receive email questions from prospective buyers about a specific product. there is a simalar feature when using Ebay.

      thanks for your help either way norman as always you are a valable resource of knowledge.

      thanks
      Brian Johnson
      :::Sure Solutions Inc:::Professional Actinic templates from Buythisdesign.com:::
      1-732-528-7635 x203

      Comment


        #18
        Brian

        Take a look at http://www.spk-equip.co.uk/acatalog/...ackhoes_1.html

        this is used plant, is this closer to what you want "Click here to enquire about this product "

        Comment


          #19
          Yes,
          This is exactly what I am hoping to acheive. Would you be kind enough to share the snipet of code you interjected there?
          Brian Johnson
          :::Sure Solutions Inc:::Professional Actinic templates from Buythisdesign.com:::
          1-732-528-7635 x203

          Comment


            #20
            there it is.......

            <a href="mailto:x@abc.com?subject=NETQUOTEVAR:PRODUCTNAME NETQUOTEVAR:PRODUCTREF">Click
            here to enquire about this product</a>

            Comment


              #21
              Assuming you have more than one supplier you can automate this a bit more by creating a CUSTOMVAR called (say) SUPPLIEREMAIL and setting it to the address of the supplier in the Product Details. Thus the code would be:-

              Code:
              <a href="mailto:CUSTOMVAR:SUPPLIEREMAIL?subject=NETQUOTEVAR:PRODUCTNAME NETQUOTEVAR:PRODUCTREF">Click 
              here to enquire about this product</a>
              Also if most products have the same supplier you can set SUPPLIEREMAIL in Catalog / Options and it will appear on every page. If a few products have different suppliers then you can override the global value by setting it on the Product Details.

              Finally. You could also have the snippet of code above generated by JavaScript so that it would only appear on products with CUSTOMVAR:SUPPLIEREMAIL defined.

              Code:
              <script language=JavaScript>
              if ( CUSTOMVAR:SUPPLIEREMAIL )
                {
                document.write('<a href="mailto:CUSTOMVAR:SUPPLIEREMAIL? subject=NETQUOTEVAR:PRODUCTNAME NETQUOTEVAR:PRODUCTREF">');
                document.write('Click here to enquire about this product</a>');
                }
              </script>
              Norman
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment


                #22
                A slight modification...

                Hi, I know this is a old thread but can somebody tell me how to use the email ID script with a image instead of having box to enter the email address. I have trying to change the script now for a few hours but with no luck. I want to replace the box with an email a friend gif which when a customer clicks on the image it carries out the same function as norman's script.

                Thanks.

                Comment


                  #23
                  You'll still need somewhere to enter the friends e-mail address so why lose the box?

                  if you use
                  Code:
                  Enter e-mail address to tell a friend <input type=text value="" size=40 onchange="var thisloc=location.href + '#NETQUOTEVAR:PRODUCTANCHOR';if(this.value != ''){location.href='mailto:' + this.value +'?subject=Take a look at '+thisloc+'&body=I saw '+thisloc+' and thought you would be interested.'}"><input type=button value="OK">
                  Just replace the

                  <input type=button value="OK">

                  with <input type=image src="myimage.gif">

                  This image and the button don't actually do anything (filling in the e-mail field aactually does the work) but it just gives the user something to click on.


                  Norman
                  Norman - www.drillpine.biz
                  Edinburgh, U K / Bitez, Turkey

                  Comment


                    #24
                    Hi thanks for the reply! I've seen the example at http://www.tiggypig.com/acatalog/THETUBE.html The bottom right hand corner has the image. You have to then enter the email address in the outlook express. How do you this?

                    Thank you for your help.

                    Comment


                      #25
                      You could try this - it should do what you want:

                      Code:
                      <img src="myimage.jpg" onclick="var thisloc=location.href + '#NETQUOTEVAR:PRODUCTANCHOR';location.href='mailto:' + '?subject=Take a look at '+thisloc+'&body=I saw '+thisloc+' and thought you would be interested.'">
                      I've not tested this but perhaps you get the isea,
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment


                        #26
                        Norman, your a genius!

                        It worked, thanks for your help.

                        Comment


                          #27
                          hi, we done that one for tiggypig

                          and the code is below, one thing though Norman, this one captures all the <BR> and <P> tags etc from the product description, can you make that not happen please....if its possible..im being lazy i know...

                          <A HREF="mailto:?Subject=I%20saw%20this%20NETQUOTEVAR:PRODUCTNAME%20at%20YOURCOMPANYNAME%20and%20thought%20of%20you!&bcc=YOURBCCADDRESS&Body=I%20saw%20this%20NETQUOTEVAR:PRODUCTNAME%20at%20YOURCOMPANYNAME%20and%20thought%20of%20you!NETQUOTEVAR:PRODUCTDESCRIPTION%20CUSTOMVAR:CGIBINURLss000001.pl?PRODREF=NETQUOTEVAR:PRODUCTREF"><IMG SRC="yourmailafriendimage.jpg" border=0 width="IMAGEWIDTH" height="IMAGEHEIGHT"></A>

                          In that code, you need to replace YOURCOMPANYNAME with your company name, replace yourmailafriendimage.jpg with the image you want to use, and replace IMAGEWIDTH and IMAGEHEIGHT with the width and height of the image.

                          Change YOURBCCADDRESS to an email address if you want a copy of the email to be sent to an address you specify.

                          You will also need to go to View>Business Settings>Options and tick the show product reference in catalog.

                          the only problem with this method is if there is a space in your product reference, the link to the product in the email is broken.

                          if you do not want product references to appear in your catalog, you would then need to comment out the NETQUOTEVAR:PRODUCTREF from each of your product templates.

                          when it works its neat because you get a hyperlink in the email to the friend...

                          if you do try this type and run into trouble, post back and i should be able to help.....

                          as i say, the only other issue with this method is the ugly html tags that get brought into the body of the email from the product description.

                          however, you could actually remove the NETQUOTEVAR:PRODUCTDESCRIPTION from the line above and this would just leave product name and a link to the product in the body of the email..

                          steve quinn
                          harlequin domains

                          Comment


                            #28
                            This might work-

                            In one of the JavaScipt versions (not your <a ...> one I'm afraid) replace NETQUOTEVAR:PRODUCTDESCRIPTION

                            with

                            Code:
                            ' + 'NETQUOTEVAR:PRODUCTDESCRIPTION'.replace(/<br>|<p>/ig,"%0a") + '
                            This should replace all those <br> and <p> with a new line.

                            Norman
                            Norman - www.drillpine.biz
                            Edinburgh, U K / Bitez, Turkey

                            Comment


                              #29
                              Javascript in href link

                              hi everyone, slightly off subject, I am trying to put a bit of javascript in a link to tell it the current page location, like this,

                              <a href="/scripts/ss000001.pl?SECTIONID='+this.location.href+'">Click here to Login</a>

                              can anyone help.

                              thanks

                              Steve Quinn
                              Harlequin Domains
                              www.harlequindomains.com
                              Actinic Design, Hosting and Marketing

                              Comment


                                #30
                                Try something like

                                <a href="javascript:location.href='/scripts/ss000001.pl?SECTIONID='+location.href">Click here to Login</a>

                                Norman
                                Norman - www.drillpine.biz
                                Edinburgh, U K / Bitez, Turkey

                                Comment

                                Working...
                                X