Announcement

Collapse
No announcement yet.

Making a 'Dummy' Section Button...

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

    Making a 'Dummy' Section Button...

    Hi,

    I wondered if it was possible to make a dummy section button which would take the user back to the parent section.

    As an example look here:

    http://www.spunky.co.uk/catalog.html

    Click on 'Womens Summer Sale', in this section I need to make the top left icon (which is currently 'Classic Muscle Back') a 'BACK' button, which would bring the user back to the main products page.

    Javascript:History.go(-1) won't do, because if the user has just been inside a product they will be taken back up. Would I have to hard-code a button for each child section (Mens Sale, Womens Sale, Womens Summer Sale, etc...), any ideas how I should go about this?

    Thanks in advance.

    #2
    *bump*

    Was it something I said?

    Any ideas?

    Comment


      #3
      Try placing the link in your overall layout template and using code similar to the following...

      <a href="NETQUOTEVAR:NAVBUPLINK"><img src="..."></a>

      Comment


        #4
        Thanks for replying.

        I need the link to be part of the table along with all the other products, so it will sit perfectly in place along with the other icons.

        Your soloution would just add a button to the page above the product list table wouldn't it?

        Is it possible to make a button within the actinic-generated product list that will link to a specific web-page rather than another actinic generated page?

        If I went in via FTP and edited the actinic generated page, I could do this easily. But the page would be overwritten everytime the site was updated.
        We are a clothing label, and things go out of stock on a daily basis, I usually do about 2-3 uploads per day, so this would be a pain in the arse.

        Any ideas?

        Comment


          #5
          It's easy enough to do.

          You need to firstly go to 'Advanced | Custom Properties' and create a new custom property called 'ParentSectionLink' or something.

          Then add code similar to the following within your product layout template (normally Act_ProductLine.html)

          <a href="CUSTOMVAR:PARENTSECTIONLINK"><img src="..."></a>

          Then you need to set a value for CUSTOMVAR:PARENTSECTIONLINK for all the products in a section.

          To do this, go to the 'Properties' tab of the section which contains the products and add a new row to the grid. Select 'ParentSectionLink' from the drop-down and in the 'Value' field enter the URL that you would like the products in this section to link to for their 'Up a section' buttons.

          Comment

          Working...
          X