Announcement

Collapse
No announcement yet.

Identifying the logged in buyer

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

  • Identifying the logged in buyer

    I want to be able to identify who the buyer is when they are logged in so I can offer bespoke pages to them.

    I can see that the buyer table has a couple of fields - sUsername and nID - and I'm assuming that they are used in the Perl scripts... but I can't figure out how to access that information dynamically when the customer is logged into their account. I presume that it will be some JavaScript but I've no idea where it would pull that information from.

    Has anyone done anything similar before?
    Elysium:Online - Official Accredited SellerDeck Partner
    SellerDeck Design, Build, Hosting & Promotion
    Based in rural Northants

  • #2
    It looks like itís stored in the cookies as a digest.

    https://community.sellerdeck.com/for...-eu-cookie-law

    converting back from the digest to identify the logged in user might not be an easy thing to do.

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


    • #3
      https://community.sellerdeck.com/for...-visit-my-site

      Comment


      • #4
        That's useful.

        It looks as if it's already setting the buyer and account info into the cookie for checkout. I can't remember which cookie it is but once you find it you can use the contents of that to display specific content / pages.

        -----------------------------------------

        First Tackle - Fly Fishing and Game Angling

        -----------------------------------------

        Comment

        Working...
        X