Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

TOPIC: Snapshot Pro - Display products from manufacturer

Snapshot Pro - Display products from manufacturer 2 months 3 weeks ago #3108

  • merseyman
  • merseyman's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
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
The administrator has disabled public write access.

Snapshot Pro - Display products from manufacturer 2 months 3 weeks ago #3110

  • boggler
  • boggler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 816
  • Thank you received: 77
  • Karma: 14
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: 2 months 3 weeks ago by boggler.
The administrator has disabled public write access.

Snapshot Pro - Display products from manufacturer 2 months 3 weeks ago #3111

  • merseyman
  • merseyman's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
Yes, that's sorted it ... Thanks ;-)
The administrator has disabled public write access.

Snapshot Pro - Display products from manufacturer 1 month 4 weeks ago #3137

  • majidfaizz
  • majidfaizz's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Is there a different way to do this, or do I need to tinker with the code????
raza
The administrator has disabled public write access.

Snapshot Pro - Display products from manufacturer 1 month 4 weeks ago #3138

  • boggler
  • boggler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 816
  • Thank you received: 77
  • Karma: 14
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.
The administrator has disabled public write access.
Moderators: boggler
Time to create page: 0.364 seconds