![]() |
Re: Random Image or Random Products - Category Specific
is there a mod to randomize the featured products? also to only randomize it every 24 hours or so? I hacked my featured products to sort by RAND but each page refresh causes the featured products to randomize. I keep it only b/c it keeps the main page changing.... however, i'd like a more user friendly randomizer for the featured products
|
Re: Random Image or Random Products - Category Specific
Hey you say in the forum that you hacked the random function for the featured products.
How and where is that possible? I want to show random products on the featured products list limited by an number. It may change every time that's no problem tnx |
Re: Random Image or Random Products - Category Specific
There's a problem with this mod. The quantity field is not filled with a number, by default. The user is unable to put the item in the shopping cart from the buy now button.
Any ideas to fix??? |
Re: Random Image or Random Products - Category Specific
I see by your sig that you are using X-Cart version 4.1.x - if you look at the date of the original post, it was in 2005. This was intended for version 4.0.x - not 4.1.x....
Quote:
|
Re: Random Image or Random Products - Category Specific
OK. Sorry. So this mod is unsupported in 4.1.x
It seems to be a simple fix. Since it works in your ver 4.0.x. How hard is it to give the quantity field a number to add the item to the cart from the buy now button. Just exactly how the x-cart team did for the featured products - it should be the same for the random products. |
Re: Random Image or Random Products - Category Specific
Well - I agree but I have not had the time to look through this code again to make it work for 4.1.x.
In giving it a quick look the first thing that you need to look at is the product array that is being built and make sure that the "min_amount" has a value. The buy_now template uses this to determine what to do with qty. If "min_amount" is empty then you will need to look at the function used to do the search. Quote:
|
Re: Random Image or Random Products - Category Specific
The value is already assigned at 1. The featured products uses the same buy now template as the random products.
|
Re: Random Image or Random Products - Category Specific
|
Re: Random Image or Random Products - Category Specific
Hello:
Has anyone gotten this great mod to work in version 4.1x? |
Re: Random Image or Random Products - Category Specific
anyone got this for 4.4.x??? working
oh man i would drool... |
All times are GMT -8. The time now is 12:19 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.