If your zen cart online store gets new products on a regular basis, it is a good idea to promote these whenever possible. Zen cart natively had center boxes for New Products, Featured Products, and Specials. This Easy Help Zen Cart Tutorial will show you how to add some custom php code to show the newest products first in the center box modules.
This example is specifically for the New Products center box, but similar code could be used for the Featured Products and Specials center boxes as well.
In your favorite plain text editor open the includes/modules/override/new_products.php file. If there is not already an override for this file on your server, you can create one by copying the includes/modules/new_products.php to the includes/modules/override/new_products.php.
Near the top of the file find this code:
$display_limit = zen_get_new_date_range();
And change it to this:
$display_limit = ' order by p.products_date_added desc limit 1';
Save your changes and upload the files to your server making sure that you overwrite the file already on your server.
If you need help with your zen cart web siteplease contact us for a quote.
Picaflor Azul specializes in responsive e commerce web design. The trend toward customers increasingly shopping online using their mobile devices is not just a fad. Don’t lose out on sales because your site is not able to be navigated or rendered on modern mobile devices. Our responsive designs are optimized to look great and be easy to navigate on desktops, laptops, portrait and landscape tablets, and portrait and landscape phones. Just email us at firstname.lastname@example.org with your project requirements and we can offer you a quote for a new responsive custom design or for converting your current design to a responsive design.