Announcement

Collapse
No announcement yet.

Go directly to single product in section

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

    Go directly to single product in section

    Hi, just wondering if there's a way to link directly to a product without going through the section where there is only a single product in a section?

    For example if you click on he home page link on my sitehttps://www.satellite.ie/index.html for "changing from sky kit" it brings you to https://www.satellite.ie/acatalog/Sa...t-Diy-Kit.html section whereas I'd like it to go directly to the product page https://www.satellite.ie/acatalog/Ch...y-Diy-kit.html

    Hope this makes sense, thanks for any help

    www.satellite.ie

    #2
    I don't think there's a setting for this.

    I'm sure it can be done in the navigation php for your section links. It's a while since I looked at them but in essence all you have to do is write a conditional statement for:

    If just 1 product in section
    => Show the link to the product
    Else
    => Show the section link
    Endif

    I'm not able to write the code for you at the moment but someone else might have the time to help you.

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

    First Tackle - Fly Fishing and Game Angling

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

    Comment


      #3
      If you do not want to ever show the section page then you can do a redirect in your htaccess file from section page name to product page name.

      We do this on a few of our sites and it works well.
      Regards

      Jason

      Titan Jewellery (Swift Design)
      Zirconium Rings
      Damascus Steel Rings

      Comment


        #4
        Thanks for the help guys, I'll try the ht access route
        www.satellite.ie

        Comment

        Working...
        X