Thanks its all working again now!
Announcement
Collapse
No announcement yet.
Search Results Hack
Collapse
X
-
eshopbrokers
-
This is an excellent patch btw. However, I just noticed something whilst testing which may be noteworthy.
If you have a discount group setup with the original products in a hidden section and the store populated by duplicates an appropriate sr_*****.html helper file isn't created for the discount products when you click GROUPLINK to see a list of the offer products.
Comment
-
just a quick note, and a site using it.
Ive just implemented this on Legendgames and am currently doing it on RPGMiniatures, if you want to see it in action.
I have learn a few things just doing this, for example I had trouble changing the ProductLayout to one of my own:
Originally posted by NormanRouxel View PostNow you need to put some layout code into this layout.
In the Edit Layout Code window paste the following (this will use the layout defined for each product):
Code:<actinic:variable name="ProductLayout" />
You know when you edit a layout, you can just start typing and pre-defined Layouts, Variables etc pop up in a list matching what you are typing... Well, I made a new Layout and it DIDNT pop up in the list...
Then I realised that if I want to be able to add a single NEW layout by typing it in (eg one as follows<actinic:variable name="AndysProductLayoutForSearchResults" /> ) then I needed to create both the new layout, and a new selector for it, then add the layout to the selector.
Yeah, kind of obvious when you consider many Layouts have names like 'Product Layout for CSS V8' and they NEVER pop up - its the selector that holds them that pops up when you type! oh yeah!!
To all involved, cool hack. brilliant.Andy Warner
www.legendgames.co.uk - rpgs, boardgames, dice and other geeky stuff
www.RPGMiniatures.com D&D and Star Wars Miniatures
Both running the Cart from Search Page hack
Also www.mainlymurder.co.uk www.thegamesplace.co.uk and www.thediceplace.co.uk
All running V8.5.2 Multisite on a windows 7 quad PC, augmented by Mole End automation, from a single shared database, using actinic specific hosting from Host-IT.
Comment
-
FTP errors on big sites using this hack?
Ive implemented as I said, but I noticed that I get an odd FTP error when uploading (5k + products)
The Site Update runs smoothly, the sr_xx.html files are generated, then just before the physical upload via FTP, a popup appears, something like: "FTP:cannot change directories > Retry or Ignore?"
So I press Retry, and it all works perfectly.
Odd.
Anyway... I run Mole End batch processing (you DONT??? you SHOULD!!!) and that has a settign to ignore or retry that kind of dialog, which I always set to IGNORE because thats whats best if you get those passive errors or image duplication messages...
Anyway 2... because that IGNORES rather than RETRIES, the ftp upload fails.
It looks like the processing is taking so long with that many files, the FTP connection goes to sleep. A 'retry' wakes it.
I've asked Mole End about it, and Pinbrook (my hosts) so I hope there is a work around. It might be that it only occurs when a whole load of new sr_xx.html files are produced or changed (eg layout changes are made) as that takes so much time on a big site... It might just be a glitch in my system - i'll keep thee informed.Andy Warner
www.legendgames.co.uk - rpgs, boardgames, dice and other geeky stuff
www.RPGMiniatures.com D&D and Star Wars Miniatures
Both running the Cart from Search Page hack
Also www.mainlymurder.co.uk www.thegamesplace.co.uk and www.thediceplace.co.uk
All running V8.5.2 Multisite on a windows 7 quad PC, augmented by Mole End automation, from a single shared database, using actinic specific hosting from Host-IT.
Comment
-
Add to cart from Search WITH original search results
Hi all,
Ive got the 'add to cart' working from the search page.
However, I need the original links to section / page as well - I want people to be able to look at the page the item comes from, not JUST be able to add it.
Ive looked at the Pearl script.... but I cant figure out how I can implement BOTH the file output AND the original output.
>>EDIT
OK OK - I think need to change the Search Results layout in actinic, not hte seach script.
<<EDIT
If anyone has done this, please share...!
I'm willing to pay/donate for the updated hack - V8 by the way.Andy Warner
www.legendgames.co.uk - rpgs, boardgames, dice and other geeky stuff
www.RPGMiniatures.com D&D and Star Wars Miniatures
Both running the Cart from Search Page hack
Also www.mainlymurder.co.uk www.thegamesplace.co.uk and www.thediceplace.co.uk
All running V8.5.2 Multisite on a windows 7 quad PC, augmented by Mole End automation, from a single shared database, using actinic specific hosting from Host-IT.
Comment
-
Andy,
I presume you want something like a "See more details" button or link that will take you to the usual product page.
This can probably be done but would require intensive investigation. It would need more time than I can provide here.
If no one else can help email me for a quote.Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Comment
-
hey Norman, thanks for the reply.
I was thinking as a quick fix I'd like to see the 'new' search results (ive got image, name, quantity, price, add to cart, etc) from the hack, plus on the next line, the OLD seach results minus the image really.
in the longer term, the 'hack' output plus a 'goto section' and 'goto product' link. If people search for a specific item, it just adds to cart, so currently they dont see other related items in the same cateory.
Don't go to town on this onE UNLESS you really are bored, eh?Andy Warner
www.legendgames.co.uk - rpgs, boardgames, dice and other geeky stuff
www.RPGMiniatures.com D&D and Star Wars Miniatures
Both running the Cart from Search Page hack
Also www.mainlymurder.co.uk www.thegamesplace.co.uk and www.thediceplace.co.uk
All running V8.5.2 Multisite on a windows 7 quad PC, augmented by Mole End automation, from a single shared database, using actinic specific hosting from Host-IT.
Comment
-
It may not be as difficult as I thought. All the Actinic replacement tags work in the Full Search Results layout. So just copy / paste in the bits you want some from the Standard Search Results lasyout and see what happens.
E.g.Code:<br/><Actinic:Variable Name="SearchResultLink"/><b>See more details</b></a>
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Comment
-
It Works.
you confirm my thoughts - doing the post at present, may play tonight if 2 year olds, wife and TV allow me to......
**
thanks to X factor, I had time to update the search page, and yes, it does work fine. Customers can now navigate to the section the item is in from the search page, or buy it directly from the search.
**
thanks muchly Norman.
AndyAndy Warner
www.legendgames.co.uk - rpgs, boardgames, dice and other geeky stuff
www.RPGMiniatures.com D&D and Star Wars Miniatures
Both running the Cart from Search Page hack
Also www.mainlymurder.co.uk www.thegamesplace.co.uk and www.thediceplace.co.uk
All running V8.5.2 Multisite on a windows 7 quad PC, augmented by Mole End automation, from a single shared database, using actinic specific hosting from Host-IT.
Comment
-
Originally posted by HowardW View PostHi
is it possible that anyone ordering from the search page, do not go back to the page they searched from, but stay on the search page?
Is this how the mod is supposed to work?
many thanks,
Paul
Comment
-
Per chance, does anyone have this working in 10.0.3 or 10.0.4 ? I found that it was fine in 10.0.2 but upgrading to either of the above results in the search results coming up blank.
Have tested on our own site and also with the default example Actinic site just in case there was something else causing it.
Obviously realise the patch has to be reapplied in SearchScript to make it work after an upgrade.
For ref, I've left the example site with the script applied here test [dot] kustompcs.co.uk - if you run a search here it just comes up with a blank space
[Edit - I've asked Norman directly to look into this now]
Comment
-
Hello,
Did anyone find a fix for this in v10.0.4 please? I've just got back and needed to upgrade to V10.0.4 to get the flatfile converter to work but now the results are blank as described in the above post.
I have applied the patch to searchscript.pl after the upgrade.
10.0.3 changed the way files are stored for the site upload, but looking through the searchscript patch I cant really see where it would make a difference?
Many thanks,
Paul.
Comment
Comment