Announcement

Collapse
No announcement yet.

Placing Customised Contact Us Buttons

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

    Placing Customised Contact Us Buttons

    I need to place a "Question?" button against each product which will link to the Contact Us perl email script. Ideally, I would like to pass the Product Reference or Short Description to the email script so that it can be entered into the Subject field of the email. The purpose of doing this is to make it easier for visitors to ask questions about a specific product.

    I have created a new product layout including the button but have not been able to work out how to create the html code to make the call to the perl script and pass the product id information.

    I would be very grateful for any suggestions?
    John Legg
    The Debug Store

    sigpic
    http://www.TheDebugStore.com

    #2
    maybe use some javascript in the contact form to show the referring page.
    Code:
    <script type="text/javascript">
    <!--
    
    if (!document.referrer) {
    document.write("No Specific Product")
    }
    else {
    document.write(document.referrer);
    }
    -->
    </script>
    -- This would also be good as you could click the link to go straight to the product, although possibly not so good if you don't have spps... Do you?
    Last edited by mattc; 11-May-2008, 03:37 PM. Reason: idea
    http://www.itwiz.co.uk

    http://www.AntiV.net - The Discount Antivirus Store

    Comment


      #3
      Thank you for the suggestion Matt. What is spps?

      I was thinking I would be able to pass the product ref as a parameter to the perl script, in a similar fashion to the Add to Cart button. If I could fathom out how the Add to Cart process works then I could work out how to do this.

      Can anybody explain how this works?
      John Legg
      The Debug Store

      sigpic
      http://www.TheDebugStore.com

      Comment


        #4
        single product page
        http://www.itwiz.co.uk

        http://www.AntiV.net - The Discount Antivirus Store

        Comment


          #5
          Another option is to use a simple mailto link which places the product name in the subject line - eg http://www.the-old-smokehouse.co.uk/...ni_Smoker.html

          Not a perfect solution but it does work

          Comment


            #6
            Thanks guys. Both solutions would work. If I am unable to get the "parameter" version to work, at least I now have a solution.
            John Legg
            The Debug Store

            sigpic
            http://www.TheDebugStore.com

            Comment

            Working...
            X