![]() |
Hard coded search links...
Can you not use hard coded search links with X-Cart 4.0.9? I would like to add a "Quick Links" section to our site where a customer can click on a link and get search results based on the options established via the link.
Such as: All products less that $10.00 sorted by price. Is this possible? Or is there a MOD available somewhere that would let me do this? |
Re: Hard coded search links...
Quote:
Dave, is this what you looking for? http://www.cart-lab.com/lab/customer/pages.php?pageid=3 download a file named: Shop By Price Menu I hope this will help Kind regards Ricky Calle |
Re: Hard coded search links...
Quote:
Hello Ricky, Thanks for the link! Yeah, that's what I am looking for but that doesn't appear to work with version 4.0.9. I had already figured out how to make the links, I just couldn't get them to work. That file appears to have been written for 3.5.x, so I guess it used to work... maybe they have changed something in version 4.x.x. But thank you for your help! |
Dave,
Yes they have changed search method in 4.x. Instead of GET method they implement POST method so I guess it's not possible to get serach result my clicking on link. |
Okay... I finally came up with something that will work. But now after spending two days on this I find that an X-Cart user with the username TeleFirma had already done something very similar in this post:
http://forum.x-cart.com/viewtopic.php?t=8969 Sure wish I had found that sooner! But here is what I did for anyone that wants to know: I put this code into a file called quick_links.tpl Quote:
And then I put this into customer/home.tpl where I wanted it to show up. Quote:
That's it.... |
All times are GMT -8. The time now is 09:24 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.