Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword

Snapshot Pro - Display products from manufacturer

  • merseyman
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 5 months ago #3108 by merseyman
Hi,

I'm using J3.4 and VM3.0.6.2 and wanting to display just a selection of products (x6) from a manufacturer, so I've tried:
{product mid=30;group=random;limit=6;orderBy=product_price}
The 'limit' doesn't seem to be taking effect, as I'm getting all the manufacturer's products displayed.

Is there a different way to do this, or do I need to tinker with the code?

Your help with this would be greatly appreciated.

Thanks,
Rob

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago - 4 years 5 months ago #3110 by boggler
Sorry, you are right, it is an error in the code, line 370 of vm2productsnapshotpro.php:-
$db->setQuery($query);

should be
$db->setQuery($query,0,$limit);
Last edit: 4 years 5 months ago by boggler.

Please Log in or Create an account to join the conversation.

  • merseyman
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 5 months ago #3111 by merseyman
Yes, that's sorted it ... Thanks ;-)

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #3137 by majidfaizz
Replied by majidfaizz on topic Snapshot Pro - Display products from manufacturer
Is there a different way to do this, or do I need to tinker with the code????

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #3138 by boggler
This is the way to do it. It is very easy, just open up the file in a text editor or Dreamweaver or similar, make the change, then upload to the site.

When we make the next release it will have this fix included.

Please Log in or Create an account to join the conversation.

Moderators: boggler
Time to create page: 0.301 seconds

Donate to Us

If you like our extensions, consider making a donation to say thanks.