Announcement

Collapse
No announcement yet.

Recently viewed list delete item

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

    Recently viewed list delete item

    Hi,
    I am looking at the 'recently viewed' list on a unedited install online. There are 'x' s under the items ( I presume for removing them) but pressing the 'x's doesnt seem to do anything?
    Should this remove the item from the 'recently viewed' list?
    Arka Tribal Jewellery

    #2
    Yes it should remove the item, but it's a bug SD-4525.
    Peblaco

    Comment


      #3
      I see... thanks for the reply.
      Arka Tribal Jewellery

      Comment


        #4
        I imagine this could be confusing to customers..
        and its horrible to have elements on a website that dont work. So I have commented out the button until such time as Sellerdeck decide to fix it!

        Layout code- regular Recent Products list

        line 26

        <p><a href="javascript:deleteRecent('_PID_');"><img src="xit.jpg" border="0" /></a></p>
        Arka Tribal Jewellery

        Comment


          #5
          This seems to be a problem if you use the Regular Recent Products List. The items were being deleted but the refresh of the recently viewed list was failing due to a wrong ID attribute on the containing DIV. If you reloaded the page after deleting items they disappeared as expected.

          Try this fix. Edit (in your Site folder) file recentproductssupport.js.
          Look near the bottom for the line:
          Code:
          		document.getElementById('recentstlist').innerHTML = RecentProductsListHTML();		// redisplay simple list
          Replace with:
          Code:
          		document.getElementById('recenthtlist').innerHTML = RecentProductsListHTML();		// redisplay simple list
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Thanks Norman. That's sorted it!
            Arka Tribal Jewellery

            Comment


              #7
              Originally posted by NormanRouxel View Post
              This seems to be a problem if you use the Regular Recent Products List. The items were being deleted but the refresh of the recently viewed list was failing due to a wrong ID attribute on the containing DIV. If you reloaded the page after deleting items they disappeared as expected.

              Try this fix. Edit (in your Site folder) file recentproductssupport.js.
              Look near the bottom for the line:
              Code:
              		document.getElementById('recentstlist').innerHTML = RecentProductsListHTML();		// redisplay simple list
              Replace with:
              Code:
              		document.getElementById('recenthtlist').innerHTML = RecentProductsListHTML();		// redisplay simple list

              I will confirm 100% that this fixes it as I had the same thing yesterday having just gone over to SD14.1 for "responsive"

              Norman, you're a legend and dead clever

              Comment


                #8
                So swapping an 's' for an 'h' fixes it. You have to wonder why Sellerdeck hasn't got round to fixing it yet.

                Can Sellerdeck confirm they've got this and made the fix to their code. It would be one less thing we have to do manually after each upgrade.
                -----------------------------------------

                First Tackle - Fly Fishing and Game Angling

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

                Comment


                  #9
                  Originally posted by Mike Hughes View Post
                  So swapping an 's' for an 'h' fixes it. You have to wonder why Sellerdeck hasn't got round to fixing it yet.

                  Can Sellerdeck confirm they've got this and made the fix to their code. It would be one less thing we have to do manually after each upgrade.
                  Agree Mike, there are a few "Glitches" in SD14, such as the above and it really does work

                  It's why I've flagged up a thread about the Dynamic Pricing as I can't suss it out at all, but that's another story

                  Comment

                  Working...
                  X