I'm working on a custom report in the admin to list in a table links to products that have no pictures or have "no_image.jpg" as the image name...
basically every time I try something like:
Code:
require(DIR_WS_FUNCTIONS . 'general.php'); //for zen_get_products_name
include DIR_FS_CATALOG . 'includes/functions/functions_lookups.php'; //for zen_get_products_name
i get... PHP Fatal error: Cannot redeclare ... some function
I do start my php file with...
require('includes/application_top.php');
aside from the ol' copy n' paste how can I include/require this function?
I should probably just spend some time reading through wiki developers api, but haven't yet, if anyone has an advised reading in that feel free to suggest it.
Thanks,
b
Bookmarks