Announcement

Collapse
No announcement yet.

s.HTTP_REFERRER in custom basket field

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

    s.HTTP_REFERRER in custom basket field

    I am trying to put the http_referrer in a custom basket field and cannot figure out what I am doing wrong. My code is below. If I replace HTTP_REFERRER with HTTP_HOST the code works fine, but I am not able to get the referrer.

    Code:
    <mvt:item name="customfields" param="Write_Basket( 'customer_referrer', s.HTTP_REFERRER )" />
    <mvt:item name="customfields" param="Read_Basket( 'customer_referrer', g.customer_referrer )" />
     
    Test: &mvt:global:customer_referrer;

    #2
    Re: s.HTTP_REFERRER in custom basket field

    I guess you need to spell referer without a double r and then it works.

    s.http_referer

    Comment


      #3
      Re: s.HTTP_REFERRER in custom basket field

      yea, that's what happens when you misspell a variable 20 years before...and can never correct it.
      Bruce Golub
      Phosphor Media - "Your Success is our Business"

      Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
      phosphormedia.com

      Comment

      Working...
      X