Announcement

Collapse
No announcement yet.

create link from product code?

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

    create link from product code?

    Is it possible, given only the 'product number' to construct an URL to point to the product page?
    John

    #2
    Yes using something like

    Code:
    http://www.site.co.uk/cgi-bin/ss000001.pl?PRODREF=123456&ACTINIC_REFERRER=http://www.site.co.uk/acatalog/&NOLOGIN=1
    to return the page containing 123456

    HTH


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      wow, nice one! I thought the answer would be no for sure...

      If I try it with the NOLOGIN then it seems logs the user out...

      As this will only be used for logged in users, I assume that if I remove the "&ACTINIC_REFERRER=http://www.site.co.uk/acatalog/&NOLOGIN=1" bit it will work quite happily without logging them out?

      I tried it and it seems to but it would be nice to know that it should work this way, rather than it just happens to work that way...
      John

      Comment


        #4
        I assume that if I remove the "&ACTINIC_REFERRER=http://www.site.co.uk/acatalog/&NOLOGIN=1" bit it will work quite happily without logging them out?
        Just remove the

        &NOLOGIN=1

        bit.

        The ACTINIC_REFERRER is needed to make sure the Perl knows where to kind all the images etc in your 'acatalog' folder.

        Comment


          #5
          Originally posted by jont View Post
          Yes using something like

          Code:
          http://www.site.co.uk/cgi-bin/ss000001.pl?PRODREF=123456&ACTINIC_REFERRER=http://www.site.co.uk/acatalog/&NOLOGIN=1
          to return the page containing 123456

          HTH
          Hi - can this code be added to in order to have certain components selected?

          thanks
          duncan

          Comment

          Working...
          X