-
AuthorPosts
-
john6555 Friend
john6555
- Join date:
- November -0001
- Posts:
- 88
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 26, 2007 at 7:12 pm #122346Hello, what could be the reason that there are duplicate product images in the slider?
I’ve uploaded a picture for you to see.
john6555 Friendjohn6555
- Join date:
- November -0001
- Posts:
- 88
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 28, 2007 at 6:42 am #228255I realize now why it is doing this – these items are placed in multiple categories in VirtueMart. Is there a way show that only each product (in all categories) is shown? i.e. NOT each product from each category.
Say I have a product named Apples in categories Fruit and Food. The way the slider is configured now, Apples will show up twice in the slider. Is there a way to make Apples only show once, by referencing only the product list and not each category separately?
lehoai Friendlehoai
- Join date:
- January 2007
- Posts:
- 158
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 13
- Thanked:
- 7 times in 7 posts
August 30, 2007 at 4:41 am #228389hi john6555,
You should hack the code in file modules/mod_ja_vmproductslide/applicaiton line #59<blockquote> $query = ‘ SELECT p.product_sku FROM `#__’.VM_TABLEPREFIX.’_product` p’; </blockquote>
to
<blockquote> $query = ‘ SELECT DISTINCT p.product_sku FROM `#__’.VM_TABLEPREFIX.’_product` p’; </blockquote>it’s will help you fix this bug.
Thanks for reading and goodluck
1 user says Thank You to lehoai for this useful post
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 20, 2008 at 8:37 am #246092with version 1.5.x we must hack the code in file modulesmod_ja_vmproductslideja_vmproductslideapplication.php at about line 56.
1 user says Thank You to Sherlock for this useful post
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 3 voices, and was last updated by Sherlock 16 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Duplicate items showing up in slider
Viewing 4 posts - 1 through 4 (of 4 total)