ZC Inventory Report Module
Zen Cart Inventory Report Module v 1.6
https://www.zen-cart.com/downloads.php?do=file&id=1365
This Zen Cart Report module allows for you to check stock levels of the products
in your Zen Cart store. Values included in the table style report are:
Product ID
Quantity in Stock
Product title
Master category
Product Price
Extended Retail value of stock on hand
Included in this report is the ability to sort all of the values above
ascending/descending as well as viewing all or paginating the stock and drop
down filter to show this report by category instead of all products
Re: ZC Inventory Report Module
Hi,
I'm getting the following error on v1.5:
"Parse error: syntax error, unexpected '}' in ..\my_admin\stats_inventory_report.php on line 160"
And the following error on 1.3.9h:
"Parse error: syntax error, unexpected '}' in ..\my_admin_zen\stats_inventory_report.php on line 191"
:blink:
Re: ZC Inventory Report Module
PHP version?
This module is currently running w/o the error you reported on an array of 1.3.7 to 1.5.0 carts numbering in the 50 to 60ish.
So please answer the following:
PHP version?
Modules installed?
The statement, the same in both below is properly closed. I would suspect an error related specifically to your own hosted environment, cart, mods etc.
Quote:
<? if(is_object($products_split)) {?>
<tr>
<td colspan="3"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="smallText" valign="top"><?php echo $products_split->display_count($products_query_numrows, MAX_DISPLAY_SEARCH_RESULTS_REPORTS, $_GET['page'], TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td>
<td class="smallText" align="right"><?php echo $products_split->display_links($products_query_numrows, MAX_DISPLAY_SEARCH_RESULTS_REPORTS, MAX_DISPLAY_PAGE_LINKS, $_GET['page'], "sort=$sort&dir=$dir&cat=$cat"); ?></td>
</tr>
</table></td>
</tr>
<?php } ?>
Re: ZC Inventory Report Module
Weird.
PHP version: 5.3.10
Addons: 0
Looks like a very handle little addon, I really want to get it working on my store.
Re: ZC Inventory Report Module
It is not PHP 5.3 compatible, sorry
Re: ZC Inventory Report Module
Ah, I see.
Thanks for getting back to me.
Re: ZC Inventory Report Module
I installed this module per the directions and even after refreshing my Admin panel I am not seeing this option in my Reports menu.
Re: ZC Inventory Report Module
Please disregard my post. I resolved the issue.
Re: ZC Inventory Report Module
Quote:
Originally Posted by
gaffettape
Hi,
I'm getting the following error on v1.5:
"Parse error: syntax error, unexpected '}' in ..\my_admin\stats_inventory_report.php on line 160"
And the following error on 1.3.9h:
"Parse error: syntax error, unexpected '}' in ..\my_admin_zen\stats_inventory_report.php on line 191"
:blink:
I got the same error.
To fix it go to line 151 where it says
Quote:
<? if(is_object($products_split)) {?>
and replace it with
Quote:
<?php if(is_object($products_split)) {?>
Using zen 1.5
php 5.39
There is also another error which cause the following bug down the bottom of the page where the totals are
format($total); ?>
line 147
Quote:
<td class="dataTableHeadingContent" align="right"><?echo $currencies->format($total); ?></td>
replace with
Quote:
<td class="dataTableHeadingContent" align="right"><?php echo $currencies->format($total); ?></td>
Re: ZC Inventory Report Module
I recently installed the MOD into a ZC v150 installation. Everything works fine except that I and am having trouble with Admin Security Functionality. Despite the fact that I selected the add-on in several profiles, I receive a 'Sorry, your security clearance does not allow you to access this resource' message using any account other than SuperUser.
Any guidance is greatly appreciated!