Announcement

Collapse
No announcement yet.

Referencing the Page URL of a product

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

    Referencing the Page URL of a product

    Does Actinic have a condition that we can use to pull the filename of the product page out?

    At the moment, if we try and grab the whole URL, there are many different ways that Actinic can display this i.e.

    1) Standard Page -->
    Code:
    www.mysite.com/acatalog/filename.html
    2) Searched page -->
    Code:
    http://www.mysite.com/cgi-bin/sh000005.pl?REFPAGE=http://www.mysite.com/home.html&WD=test&SHOP= &PN=filename.html#aTEST#aTEST
    3) Logged in Page -->
    Code:
    http://www.mysite.com/cgi-bin/bb000005.pl?ACTINIC_REFERRER=http://www.mysite.com/cgi-bin/bb000005.pl&PRODUCTPAGE=filename.html
    4) Logged in and searched for page -->
    Code:
    http://www.mysite.com/cgi-bin/bb000005.pl?REFPAGE=http://www.mysite.com/cgi-bin/bb000005.pl?PRODUCTPAGE=filename.html&WD=test&SHOP= &PRODUCTPAGE=filename.html#aTEST#aTEST
    This means that pulling the URL out using something like a 'PHP_SELF' command isn't always applicable.

    Would I be able to use 'SectionURL' to pull a 'flat' URL (i.e. not via a cgi script) of any page I was on?

    Thanks
    Thanks

    Jos Medinger

    Tel : 01978 843 962
    www.internetology.co.uk
    Actinic / E-Commerce Hosting, Design & SEO
    ______________________________________

    #2
    Jos,

    SectionURL should do the job for you producing a URL based on the catalog URL in Network settings + the section page name.

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      Bruce

      SectionURL seems to pull out a correct page but it does it via the search script.

      Are there any other variables that I could try (I've tried EncodedProductAnchor but that gives a link via the search page too) which would give me *just* the filename of that page?

      Regards

      Jos
      Thanks

      Jos Medinger

      Tel : 01978 843 962
      www.internetology.co.uk
      Actinic / E-Commerce Hosting, Design & SEO
      ______________________________________

      Comment


        #4
        this is torturing me too.

        actinic uses 50 year old perl to push its cart.

        who uses the perl nowadays anyhow?

        *rolls eyes*

        # hello? the 80's called. they want their cgi back.

        Comment


          #5
          Originally posted by gabrielcrowe
          *rolls eyes*

          # hello? the 80's called. they want their cgi back.
          LOL, he's back with a bang.

          Comment

          Working...
          X