Announcement

Collapse
No announcement yet.

Search Results Hack

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

    #76
    If you're updating to 10.0.3 onwards, you only need to go to post 8 at the beginning of this thread and do the bit marked:

    Double-click 'Full Search Result' and replace all code there with the following:

    And re-patch the Perl changes as they invariably get clobbered by an Actinic update. I.e. do post 9, marked:

    The final patch is to edit SearchScript.pl.....
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #77
      Anyone had any success enabling Real Time Stock Levels on these fragments?

      I've added Realtime Stock display on the section and extended info pages succesfully, and thought this would still work on the search page as long as the javascript was added to the header.

      Have put this in but it doesn't seem to be working.

      Have examined the html for the products on the search page and the section page and they are the same, and have checked that the javascript code is appearing there okay, and it does, but I think the issue is that since product stock is looked up by section, on the search page the javascript shows

      getSectionStock with the section field set to '1' always, where it might be '135' when looking at an actual section page.

      Maybe someone has spotted a way of bypassing the lookup to be specific to one section only? I don't think putting all of my products in one section and then using duplicates would be ideal, as there's about 3000 of them so I expect that's a bit too many for one section...
      www.kustompcs.co.uk

      Comment


        #78
        Originally posted by GraemeKustom View Post
        Anyone had any success enabling Real Time Stock Levels on these fragments?

        I've added Realtime Stock display on the section and extended info pages succesfully, and thought this would still work on the search page as long as the javascript was added to the header.

        Have put this in but it doesn't seem to be working.

        Have examined the html for the products on the search page and the section page and they are the same, and have checked that the javascript code is appearing there okay, and it does, but I think the issue is that since product stock is looked up by section, on the search page the javascript shows

        getSectionStock with the section field set to '1' always, where it might be '135' when looking at an actual section page.

        Maybe someone has spotted a way of bypassing the lookup to be specific to one section only? I don't think putting all of my products in one section and then using duplicates would be ideal, as there's about 3000 of them so I expect that's a bit too many for one section...
        I did some work on making Stock Levels available on section pages which are parents to other section pages rather than parents to products which is available as a plug-in, not sure if it would work with searches but I will have a look.

        Malcolm

        SellerDeck Accredited Partner,
        SellerDeck 2016 Extensions, and
        Custom Packages

        Comment


          #79
          Originally posted by GraemeKustom View Post
          Anyone had any success enabling Real Time Stock Levels on these fragments?

          I've added Realtime Stock display on the section and extended info pages succesfully, and thought this would still work on the search page as long as the javascript was added to the header.
          In order to display the stock on a search page, the javascript needs to have access to the product references and the sections in which they are held. If you search for 'Camera' on this web site http://stockplugin.toddesigns.co.uk/ you can see stock control on the search page. The stock plugin will be updated with this new feature later this week.

          Malcolm

          SellerDeck Accredited Partner,
          SellerDeck 2016 Extensions, and
          Custom Packages

          Comment


            #80
            Ah, ideal - the component stock level display would be handy as well, so that's a bonus

            I'll happily purchase the plugin now if you provide the updated version later with support for the search facility?

            [Edit : I think I'm sold on that Ajax cart plugin now as well, that's wonderfully slick looking]
            www.kustompcs.co.uk

            Comment


              #81
              Originally posted by GraemeKustom View Post
              Ah, ideal - the component stock level display would be handy as well, so that's a bonus

              I'll happily purchase the plugin now if you provide the updated version later with support for the search facility?

              [Edit : I think I'm sold on that Ajax cart plugin now as well, that's wonderfully slick looking]
              Hi

              Getting the components onto the search list is next task then its ready to issue, happy to update free of charge.

              Malcolm

              SellerDeck Accredited Partner,
              SellerDeck 2016 Extensions, and
              Custom Packages

              Comment


                #82
                Includes Add to Cart Button Layout

                I have read through these threads and you say at the start that this won't work with 'Single Add To Cart pages'. I'm running Enterprise V10.0.3 LAFA and in under Site Options|General|Section it is written 'Single Add to Cart Layout' and 'Single Add to Cart Button' is selected. Does this mean the patch won't work on my site?
                In Design|Design Options|Shopping Mode, I have 'Quantity in Shopping Cart' selected and not 'Quantity on Product Page'.
                Just wanted to get an idea of whether this patch will work for me and how the changes may affect my site www.jadetechnology.co.uk
                Thanks a lot.

                Comment


                  #83
                  That's a selector where you specify the layout to use if you are using SATC. If you are not, the selector would still be there, so unless you have selected to set your site up for SATC (multiple products per page), then no you are not using SATC. If unsure, add 3 products into a section, and count how many add to cart buttons you have, if more than 1 then you are not SATC.

                  Comment


                    #84
                    Originally posted by RHibberd View Post
                    Hi Norman

                    I'm getting the same result, just the horizontal rules but my code does show <Actinic:S_FULLRESULTS/>

                    site : http://domain501676.sites.fasthosts.com

                    I've been through your instructions twice and can't find what's preventing it working... any ideas please?

                    Regards

                    Ruth
                    Same, I've been through it numerous times and I'm still getting horizontal lines. could it be trying to make the v10 patch work in v9?

                    Comment


                      #85
                      Mathew. You also have to patch SearchSript.pl. If that's not done I'd expect the <Actinic:S_FULLRESULTS/> to display instead of the actual products.

                      Also, this probably won't work if you're on Actinic Trial Hosting. You need the patched SearchScript.pl to be uploaded to the server and I've a feeling that Trial hosting uses a standard set of scripts for everyone.

                      Can't see why it won't work on V9. Search scripts are very similar.
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment


                        #86
                        Did anyone get this patch to work with Fragment Brochure Pages?

                        I'd like to see applicable Fragment Brochure Pages appear properly in the search results with a link to the actual fragment Page, and without the "add to cart" button.

                        Any info useful.
                        Machinery Parts Specialist
                        www.magic-parts.co.uk

                        Comment


                          #87
                          Reread post eight. That was updated recently to allow for Fragments.

                          N.B. Search doesn't include Brochure Fragments. Only Section ones.
                          Norman - www.drillpine.biz
                          Edinburgh, U K / Bitez, Turkey

                          Comment


                            #88
                            Implementing in v12 (Sellerdeck 2013)

                            Although this is referenced from the V12 AUG, does it need any modification to work in V12?
                            Jonathan Chappell
                            Website Designer
                            SellerDeck Website Designer
                            Actinic to SellerDeck upgrades
                            Graphicz Limited - www.graphicz.co.uk

                            Comment


                              #89
                              I have tried it in a generic v12 with the sections created by filtering. It is not the search bulk area that needs editing as the filtering is displayed by the 'FilterResults' code in the Section Page Body (line 106). Filter results is already outside the search form.

                              I tried the hack making Full Search Results an option in the Filter Results Layout and selecting it but was unable to produce the add to cart buttons on te filtered results. Please can anyone point me in the right direction?
                              http://www.graphicz.gb.com/generic/index.html Click on 'Mens'.

                              Thank you
                              Jonathan Chappell
                              Website Designer
                              SellerDeck Website Designer
                              Actinic to SellerDeck upgrades
                              Graphicz Limited - www.graphicz.co.uk

                              Comment


                                #90
                                Hi Norman,

                                I am interested in apply this patch to the search results from Organicplants, in post 8, you say:
                                It's designed for sites using Quantity on Product Page.
                                It probably won't work with Single Add To Cart pages.
                                With regards to the second bit, do you mean you can't have a search results with a single add to cart button or pages which use single add to cart button won't generate the correct text file?

                                The second question, will this work with Advance Filter section results?

                                In our case we have sub section for collections which are available in a particular month which is generated currently by Advance Filter (in the past I have used duplicated products) - May Collection.

                                Your patch generates a list similar to the new product layout which is more useful.

                                Any thoughts would be gratefully received.

                                Thanks Mash
                                Mash

                                Comment

                                Working...
                                X