tmccaff:
I tried that solution, I downloaded from GitHub v1.60 and still get that non-numeric value error.
Another thing I am thinking to add admin config to this for SHOW_NEW_PRODUCTS, SHOW_FEATURED_PRODUCTS, SHOW_SPECIAL_PRODUCTS instead of editing those files maybe this will be in next update of this template?
Thanks for all the help
Versions 1.5.5, 1.5.6 and 1.6.0 are all different in their own way on github. There was not a suggestion to completely replace the file and when comparing the file from 1.6.0 to 1.5.6, 1.6.0 doesn't have the correction that 1.5.6 has so it is no surprise that the same issue was occurrung with the 1.6.0 version of the file. The posted solution was to just incorporate the single line of $level = (int)$level;
That establishes $level from that point on to be an integer, whether that is 0 or some other value. 1.5.6 is somewhat the next 1.5.5 where 1.6.0 has some significant differences in structure and operation and may or may not have the next best fix.
As to the above "controls" not sure I understand, there are a lot of settings in the configuration area to adjust display of each of those three "topics". As to an update to the template? Have you noticed the when this template was last updated? Have you noticed the repeat of posting of the same issue(s) and reference to the solution(s) since it was last updated?
It seems that out of respect for Anne, no one else has taken all of these fixes and packaged them up for submission. Afterall, this is all her work.
And generally speaking if have a solution to a problem then just post it. I mean look at how soxophoneplayer jumped in above.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...