Announcement

Collapse
No announcement yet.

Link from product to another section

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

    Link from product to another section

    I am trying to put a link within a product to another section / sub section of my site but cannot work it out. I have actinic business.

    #2
    Hi there,

    You could try embedding a link within your product's full description.

    Something like this:

    !!<
    <a href="http://www.yourwebaddress.com/sectionname.html">
    Click here to go to my special section</a>
    >!!
    Regards,

    Toby Blanchard

    Comment


      #3
      If you have customer accounts, then the link needs to be of the following form:

      http://your.URL/cgi-bin/ss00000x.pl?PRODREF=12345&NOLOGIN=1

      Where:
      · http://your.URL/cgi-bin is the URL of your CGI-BIN
      · ss00000x.pl is the name of your search script with the 'x' replaced with your CGI ID number
      · 12345 is the product reference of your desired product.
      · &NOLOGIN=1 is an essential thing to add to the end of the URL to order to bypass the login page

      If you want to link to section pages rather than products, then you will simply need to use SECTIONID= followed by the filename of the section page, rather than PRODREF= . e.g.

      http://your.URL/cgi-bin/ss00000x.pl?SECTIONID=Section%5fPage%2ehtml&NOLOGIN=1

      Note that you have to encode any non-alphanumeric characters so an underscore '_' becomes '%5f' and a full stop '.' becomes '%2e'.

      Comment


        #4
        This seems to be working which is great thank you. I am trying to link to a section which I don't want to be viewed elsewhere on my site. If I "hide" the section the link does not work. Any suggestions?

        Comment


          #5
          You could use a section link template that does not include any variables.

          Create a template with all the variables in it commented out. Use this as the section link layout template for the section. Also, give the section a name of ' ' so it does not appear in the sitemap clearly.

          Comment

          Working...
          X