| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Random Products - 2 Products Per Row - In Place of Featured | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
you would need to remove some code from the products.tpl this is covered in another post....http://forum.x-cart.com/viewtopic.php?t=1024&highlight=
thanks
__________________
ex x-cart guru |
|||||||
#12
|
|||||||
|
|||||||
I'm the new person here-abouts, but why couldn't you achieve the rotating/random product selection by defining a whole list of "featured products" and then display only a set number of them? (at random, of course)
Hmmm, now how would I do this? deb |
|||||||
#13
|
|||||||
|
|||||||
This could be done but the idea for this was to provide a random product from the complete catalogue without having to specify them as a featured product.
__________________
ex x-cart guru |
|||||||
#14
|
|||||||
|
|||||||
If you have a large db, do you think this could slow down the page generation pretty badly? I mean, what if you have like 50,000 items and each time a rand-type page is called, the script has to crank through the whole 50K. Perhaps there might be a way to define a group (as mentioned by deb) from which to select rand items. I'm just thinking of the time it's going to take to create the pages.
|
|||||||
#15
|
|||||||
|
|||||||
DogTags
On a big db you are right , this would take some processing to do this. Another option would be (if you still wanted it sort of random) to set up some kind of rule that selected a range of products depending on the day of the week etc. The file to amend would be the randoms.php file that I created.
__________________
ex x-cart guru |
|||||||
#16
|
|||||||
|
|||||||
Thanks, funkydunk.
Yeah, I figured as much. Maybe some items could be designated as "random" and then the rand.php file could select from that group. I dunno... |
|||||||
#17
|
|||||||
|
|||||||
Any one tried this on the 3.3.x yet?
|
|||||||
#18
|
|||||||
|
|||||||
I haven't tried this on 3.3. yet but looking at it, there is no reason why it shouldn't work as the elements that I was using for this are not altered in 3.3
__________________
ex x-cart guru |
|||||||
#19
|
|||||||
|
|||||||
Hi All
I managed to do this on our front page, but cheated and used PHP inside the template.. (needed to get it running quickly ) http://www.overclock.co.uk/xcart Please dont do any test orders, it isnt live yet but the emails are a pain Any comments would be good aswell. |
|||||||
#20
|
|||||||
|
|||||||
Now I find a place to get a wifi card from !! Let me know when you are live cos I could do with a pcmia wifi card on the cheap.
Nice looking site and good mods. I often 'cheat' by using pure php - if it is what you know it works very well indeed. Xcart is great for running out of the box but some great mods can be put in by adding some special bits yourself. Cheers
__________________
ex x-cart guru |
|||||||
|
|||
X-Cart forums © 2001-2020
|