Announcement

Collapse
No announcement yet.

Wrong link on related products

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

    Wrong link on related products

    When a related product is added to an item, with a link for more information which it picks up from its own description, then this link takes you to the main product page link.
    where is it picking up this link?

    The link in the related product description itself works fine and does refer to the related product.
    But as a related product to a main product it carries the link to the main product - is it being carried over from the main product instead and how do we get around it?
    [EDIT] - We seem to have worked out why this is happening, but look to the end of the thread to see the progress of the query, required result not yet resolved
    [EDIT] - I think this is now resolved by hardcoding <a=href> instead of using [LINK] in the product description.
    May be useful to others though as I have seen similar queries.
    Sam
    http://www.originaltouch.co.uk
    http://www.spcb.co.uk

    If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

    Failure is the tuition you pay for success.


    #2
    TOOOOOO much for my brain to understand

    Comment


      #3
      we need a link to an affected page online, please

      I follow what you mean but it's difficult to say why it's happening without seeing it.
      Tracey

      Comment


        #4
        Im confused here, related products are manually created, so if you have a link back then was this not created manually aswell?

        As Tracey said , a link to whats happening would be good

        D

        Comment


          #5
          It does seem strange as some of the products do not have this link - but this one does and I am looking for the difference in layout.

          www.spcb.co.uk/acatalog/

          First, you need to log in as Guest (Password = Guest)
          (I would also like to find an answer to the question, can the customer find a product and then log in and be taken to the last product he was viewing rather than having to navigate all over again)

          Product is under :
          (from left section link or main product page)
          - Descale and Derust
          - Derusting
          - Derust SP100
          - Buy Derust SP100

          Related Product is Solvapro PMD
          "More information" links to the more information of the main product Derust SP100
          Sam
          http://www.originaltouch.co.uk
          http://www.spcb.co.uk

          If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

          Failure is the tuition you pay for success.

          Comment


            #6
            I would like a "more info" tab here for the related product to take to the relevant product section

            SAME ON ANOTHER PRODUCT:
            OK, when there is no 'More information' link on the main product, then it does not show on the related item.
            As soon as a 'More information' link is added to the main product, then it also appears in the related product description and links to the main item.

            It has also happened to this product:

            http://www.spcb.co.uk/acatalog/Buy_E...AQ_online.html

            This product does not require a login.
            Sam
            http://www.originaltouch.co.uk
            http://www.spcb.co.uk

            If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

            Failure is the tuition you pay for success.

            Comment


              #7
              Bounce

              Originally posted by OriginalTouch
              I would like a "more info" tab here for the related product to take to the relevant product section

              SAME ON ANOTHER PRODUCT:
              OK, when there is no 'More information' link on the main product, then it does not show on the related item.
              As soon as a 'More information' link is added to the main product, then it also appears in the related product description and links to the main item.

              It has also happened to this product:

              http://www.spcb.co.uk/acatalog/Buy_E...AQ_online.html

              This product does not require a login.
              Bounce
              IF there is anyone else who has had the same problem or who knows of an answer
              Sam
              http://www.originaltouch.co.uk
              http://www.spcb.co.uk

              If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

              Failure is the tuition you pay for success.

              Comment


                #8
                Originally posted by OriginalTouch
                Bounce
                IF there is anyone else who has had the same problem or who knows of an answer
                ok firstly, bumping your own thread, especially after only a few hours, is a surefire way to prevent people from wanting to help..just a friendly word of warning..

                Secondly, the "more info" link in the related product.. how have you generated that? I have a feeling you've done something wrong when you've been trying to put that code in (for starters)

                can you post, in [ CODE ] code here [ /CODE ] tags (without the spaces..or, click on the # sign at the top and add your code), your product layout and, separately, your related products layout (which is, presumably, inside your product layout)
                Tracey

                Comment


                  #9
                  As a newcomer, it is very hard to understand protocol until making a few errors - guess this is one of them - hence the word in my last thread 'bounce' instead of 'bump' - another word to learn. Also the 'bump' was because I have often found that there are very receptive people around at this time at night - the old thread went a bit dead.

                  (Your signature quote about learning through doing?)

                  I have not set a 'more info' link manually - try not to change anything if at all possible.
                  The main product has a [LINK] for more info.
                  The related product also has a [LINK] for more info.
                  Both independently and through the usual product tab 'Links' options.

                  When you add the related product to the marketing tab on the main product (both with their own [LINK]), this problem occurs.

                  Here is the code behind the related products layout on the main product page:
                  <div class="product_image_cost">
                  <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductImageFileName%22%20%2f%3e%20%21%3d%20%22%22" >
                  <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable name="ProductID" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e" >&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>">
                  <img style="border: 0;" src="<actinic:variable name="ProductImageFileName" />" width="75" alt="<actinic:variable encoding="strip" name="ProductName" />" />
                  </a>
                  </actinic:block><p class="text_product_small_info_heading"><actinic:variable formatting="underline,font(Name|Verdana|Size|12)" name="ProductName" /><br><actinic:variable formatting="font(Name|Verdana|Size|12)" name="ProductDescription" /><br><br>
                  <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable name="ProductID" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e" >&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>"><font size="2">Buy online</font></a></p>

                  </div>


                  I have not changed any layout here - using my (amateur) knowledge, it appears that when you add a product with a [LINK] and then add a related product (via the usual marketing tab) with a [LINK] also, that this [LINK] uses the same <a href>??
                  I have written html and so was wondering if the page picks up the [LINK] code and applies both scenarios to the same <a href> if on the same page - or am I getting to embroiled into the html?

                  I think this because:
                  -When I highlight the 'more info' link, the layout is just Product description (of the related product).
                  - this does not happen to one product but to each that I add a product and related product, both with a [LINK]

                  Maybe I am wrong? Could you give it a test go?

                  Note:
                  I saw on another thread that you had children? Are yours in bed yet as that is why I keep delaying my replies but ok now, seems all settled.
                  (Hope this is not another faux pas - mentioning the kids!)
                  Sam
                  http://www.originaltouch.co.uk
                  http://www.spcb.co.uk

                  If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

                  Failure is the tuition you pay for success.

                  Comment


                    #10
                    ok, I think I know why it's bringing in a "more info" link.
                    I thought you had added it but it's picking it up form the product description of the related product, although it's generating it from the page it's on currently.

                    Is the "more info" link on a product page (the one for the product) generated from the [LINK] tab, is that what you mean?

                    I can see what's happening, I'm just trying to think of a better way round it apart from eliminating the related products description altogether, which would work.

                    EDIT..you answered some of my questions with your edit
                    OK, well clearly you can't bring another [LINK] into the same product layout which is effectively what this is doing by bringing it in in the related products description.
                    So, maybe the best solution would be to give your products more descriptive SHORT descriptions (ie, instead of just Elasticote..use Solvent Based White Elasticote or something) and eliminate the description part in the related products link altogether.

                    Does that make sense?
                    Tracey

                    Comment


                      #11
                      Exactly!!

                      The 'more info' links are all [LINK] tabs on both the main product and related product descriptions. I would like to keep these if possible as they are useful on the product pages when used alone.

                      However, when adding a related product to the main product page, it picks up the [LINK] of the related product description [LINK] and applies the same <a href>!!
                      Sam
                      http://www.originaltouch.co.uk
                      http://www.spcb.co.uk

                      If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

                      Failure is the tuition you pay for success.

                      Comment


                        #12
                        and kids...yep..in bed.
                        I've been out (operatic society rehearsal night) so they were all tucked up in bed and fast asleep when I got home


                        best way!
                        Tracey

                        Comment


                          #13
                          Originally posted by OriginalTouch
                          Exactly!!

                          The 'more info' links are all [LINK] tabs on both the main product and related product descriptions. I would like to keep these if possible as they are useful on the product pages when used alone.

                          However, when adding a related product to the main product page, it picks up the [LINK] of the related product description [LINK] and applies the same <a href>!!
                          ok..well you could add a "more info" link into the related products layout if you remove the description.

                          I'd be inclined to change the "Buy online" text to read "More info"...make the short product description more descriptive, and remove the
                          Code:
                          <actinic:variable formatting="font(Name|Verdana|Size|12)" name="ProductDescription" /><br><br>
                          line from your related products altogether if you can't lose the link in the product.
                          Tracey

                          Comment


                            #14
                            We seem to be editing at the same time!

                            Yes I think that you have grasped the problem now.

                            The same [LINK] is being used for both products as they are on the same page.

                            What I would like is for a related product to have a [LINK], not to the section of 'buy Elasticote now' (this is the product purchase for registered customers only) but to the description of the product which is a section.

                            In other words, is it possible for the related product to have a [LINK] to its descriptive page? When looking at the main product, the customer can then read about the related product - a necessity before purchasing.

                            I can not see any other area in which to put such a link as it depends which product is being viewed.
                            Sam
                            http://www.originaltouch.co.uk
                            http://www.spcb.co.uk

                            If you spend your whole life waiting for the storm, you’ll never enjoy the sunshine.

                            Failure is the tuition you pay for success.

                            Comment


                              #15
                              yes, I can see why you want to link to that page..but, across your site, there is no relation between the descriptive page and the buy now page, is there?
                              One isn't an extended info of the other, for example, so I don't see how you could do this as a site-wide option, tbh.

                              I don't know if you could maybe create a custom variable for the link to the main description page, instead of using the [LINK] tab. Maybe that would retain the value for the related product instead if you inserted that into the related products layout.?

                              Maybe someone else can confirm or deny!??
                              Tracey

                              Comment

                              Working...
                              X