-
AuthorPosts
-
September 5, 2007 at 3:27 pm #122561
I’m looking for a way to randomize the products shown in the Slider, so whenever a person clicks to go to a new page, other items will show, as currently showing the same first 4 products everytime a person goes onto the website…..
is there anyway of doing this?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
September 5, 2007 at 6:23 pm #228905How many products to you have checked as “on special” within your VirtueMart Administration?
Perhaps the more “on special” products you have, the more options the Slider will have to pull from.Just a thought.
😎
September 6, 2007 at 8:01 am #228961Well the top JA Slider shows all the products i have, putting them on special wouldn’t make much of a difference and i dont have any products on special…. Thanks for your thoughts anyway. 🙂
September 6, 2007 at 10:39 am #228967id like to do that too, i have quite a few products on there and it starts with the same every time and every page
September 7, 2007 at 1:37 pm #229042somebody must have a solution to do this in a random sort of way :-*
mfcphil Friendmfcphil
- Join date:
- September 2007
- Posts:
- 2866
- Downloads:
- 3
- Uploads:
- 218
- Thanks:
- 211
- Thanked:
- 388 times in 133 posts
September 7, 2007 at 1:51 pm #229044Cant you copy the mod create a different folders with different images and assign each mod to a different page
September 7, 2007 at 2:34 pm #229047I wouldn’t even mind an option so i could show either the VM Products or the VM Categories in the JA Slider…. I think that if the categories were shown in the slider it would be like a quicklink to the VM Category…. I really hope someone could help us out!
September 10, 2007 at 9:25 pm #229218Do any of the Joomlart developers even read these posts as we haven’t heard anything from them, i even email an admin and still no reply…..
I think the service SUX! Not 1 reply from any Joomlart Employee!
I think Joomlart should re-think their ways of helping PAID MEMBERS out, as all we needed was a response….
I have to say that i am dissapointed!
:((
lehoai Friendlehoai
- Join date:
- January 2007
- Posts:
- 158
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 13
- Thanked:
- 7 times in 7 posts
September 20, 2007 at 3:13 am #229693Please tell me your live site to take a look man.
and how many products you had? because the slide will display all product but they won’t slide if there total of your products is smaller than the number element in you back end configthanks for reading and goodluck
September 20, 2007 at 5:15 pm #229733Random images in the slider would indeed be great. I have now +160 products and growing.
The effect of the slider is much less when only the same small percentage is shown due to the renewel of the page. Hope you guys can figure out how to set it random.Greetz, Maestronumous.
sea dog Friendsea dog
- Join date:
- July 2007
- Posts:
- 32
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 6 times in 1 posts
September 26, 2007 at 4:23 pm #230062I agree! Random images would be fantastic. I’ll be adding about 300 products to my clients site soon and if it shows the same few every time someone opens the home page it will really spoil the effect!
Cheers,
SDone7media Friendone7media
- Join date:
- June 2007
- Posts:
- 59
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
November 3, 2007 at 10:26 pm #232119Has anyone figured this out yet?
Also, there is an option to display certain categories, but where do you find the category ID? I tried using the number on the left that lists them out but that didn’t seem to work.
Any ideas?
Robert Bollen FriendRobert Bollen
- Join date:
- September 2014
- Posts:
- 66
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 3 times in 1 posts
November 7, 2007 at 8:34 am #232393<em>@one7media 31141 wrote:</em><blockquote>Has anyone figured this out yet?
Also, there is an option to display certain categories, but where do you find the category ID? I tried using the number on the left that lists them out but that didn’t seem to work.
Any ideas?</blockquote>
Go to VM categorylist and hover over a category.
At the bottom of your browser You’ll see:
…/administrator/index2.php?option=com_virtuemart&page=product.product_category_form&category_id=11&category_parent_id=1VM doesn’t do this properly, but this is one way of finding out categories.
Good luck,
ImagineDecember 17, 2007 at 10:35 am #234723yeah this is very easy, go to
modules/mod_ja_vmproductslide/application.php
look for this on line 67
[PHP]$query .= ($this->_typeproduct) ? (($this->_typeproduct == 1 ) ? ‘ AND p.product_special =”Y” ORDER BY p.product_name DESC ‘ : ‘ORDER BY p.cdate DESC ‘) : ‘ORDER BY p.product_name DESC ‘;
[/PHP]and change it to this
[PHP]//$query .= ($this->_typeproduct) ? (($this->_typeproduct == 1 ) ? ‘ AND p.product_special =”Y” ORDER BY p.product_name DESC ‘ : ‘ORDER BY p.cdate DESC ‘) : ‘ORDER BY p.product_name DESC ‘;
$query .= ‘ORDER BY rand() ‘;[/PHP]this will comment out the rurrent ordering and add the random code.
Save yur file and upload.
Kind Regards
Derek Buntin
john6555 Friendjohn6555
- Join date:
- November -0001
- Posts:
- 88
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 22, 2008 at 4:10 am #236891<em>@derekbu 34663 wrote:</em><blockquote>yeah this is very easy, go to
modules/mod_ja_vmproductslide/application.php
look for this on line 67
[PHP]$query .= ($this->_typeproduct) ? (($this->_typeproduct == 1 ) ? ‘ AND p.product_special =”Y” ORDER BY p.product_name DESC ‘ : ‘ORDER BY p.cdate DESC ‘) : ‘ORDER BY p.product_name DESC ‘;
[/PHP]and change it to this
[PHP]//$query .= ($this->_typeproduct) ? (($this->_typeproduct == 1 ) ? ‘ AND p.product_special =”Y” ORDER BY p.product_name DESC ‘ : ‘ORDER BY p.cdate DESC ‘) : ‘ORDER BY p.product_name DESC ‘;
$query .= ‘ORDER BY rand() ‘;[/PHP]this will comment out the rurrent ordering and add the random code.
Save yur file and upload.
Kind Regards
Derek Buntin</blockquote>
Derek, I am sure many people are thinking it but no one has said it yet —– THANK YOU!!!!!!!! 😀
-
AuthorPosts
This topic contains 18 replies, has 12 voices, and was last updated by Derek Buntin 16 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum