If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Bug Reports / possible 2.0 bug in new products

possible 2.0 bug in new products

Started by mprough on 13 Apr 2024, 9:52 AM · Views: 762

Results 1 to 3 of 3
13 Apr 2024, 9:52 AM
#1
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,336
Plugin Contributions:
41

possible 2.0 bug in new products

ZC 2.0
PHP 8.3
Boot 3.6.4

No new products were displaying anywhere, even though the time setting in New Product Listing - Limited to ... is 0

Upon searching I found

// $display_limit = zen_get_products_new_timelimit();
  $display_limit = zen_get_new_date_range();

Switching to the commented out code brings all the new products to their parts (sidebox, centerbox, page, etc)

~Melanie

13 Apr 2024, 11:10 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: possible 2.0 bug in new products

Yep, something's wrong. And it looks like we should really remove zen_get_products_new_timelimit(), since we aren't using it anymore.
Would you please create an issue in Github? Thanks.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.