Search the Community
Showing results for tags 'getCategories getProducts'.
Today Iǜe been in Barcelona prestashop meeting and I was asking them them about how to insert categories and products using the object PRESTASHOP model, The staff there told me that admin folder autoload atomatically PRESTASHOP classes. I coud see how they a similar code in a blanka file $cats = getCategories); print_r ($cats); and I could watch the results of print_r showing a array with all categories. Now I've tryed the same code in my server in a blank file the the following result: Call to undefined function getcategories() in xxxx on line 365 Also I've tryed with: $cats = Category::getCategories); print_r ($cats); etc... My target is to load all the categories to check some issues, but by the moment is impossible as you can see. dr7tbien from Madrid