Forums / Setting Up Categories, Products, Attributes / Last copies view on start page

Last copies view on start page

Locked

Views: 452

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
3 Oct 2010, 1:37 PM
#1
nordenfor avatar

nordenfor

New Zenner

Join Date:
Jul 2010
Posts:
85
Plugin Contributions:
0

Last copies view on start page

I would like to ask your help if it is possible to customize a product that has a low stock. What I want to be show is a 'last copies' or 'last 3 copies' on the start page when an item reach that quantity.

Thanks in advance!

6 Oct 2010, 9:23 AM
#2
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Last copies view on start page

You would need to take a look at the Featured Products module files, and then copy these over, and edit the SQL statement, so that it pulls products in order of stock levels. Take a look at

includes/modules/featured_products.php

and

includes/templates/template_default/templates/tpl_modules_featured_products.php

These should point you in the right direction.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

6 Oct 2010, 9:35 AM
#3
nordenfor avatar

nordenfor

New Zenner

Join Date:
Jul 2010
Posts:
85
Plugin Contributions:
0

Re: Last copies view on start page

Absolute:

You would need to take a look at the Featured Products module files, and then copy these over, and edit the SQL statement, so that it pulls products in order of stock levels. Take a look at

includes/modules/featured_products.php

and

includes/templates/template_default/templates/tpl_modules_featured_products.php

These should point you in the right direction.

Absolute

Thank you, but I am afraid I cannot edit SQL...