Jump to content

Display number of products near category name in PS 8.0 - Category tree module


Dema7

Recommended Posts

Hi,

I'm trying to recreate in the latest version of Category Tree module this edit that was made from Ali Samie for Prestashop 1.7:

I tried to use the same code and insert it in the new module but I keep getting errors as:

2Notice: Undefined index: numberOfProducts in .../var/cache/dev/smarty/compile/tbitr/89/21/00/8921007f54626fc7fe42cbff53f1d70828d3393d_2.module.pscategorytreeviewstempla.php on line 39"

Anyone can help? I've attached the module I'm working on.

Thank you very much in advance!
Davide

ps_categorytree.zip

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...