Software

Feedback from users prompted me to add an extra column to the report display… the master category. The master_category_id is listed in the products table and is generally the category the product was originally created in (unless changed later). The report won’t show every category a product is listed in if the product has been linked to multiple categories.

Download ZenCart Inventory Report

Thanks to Ron for the donation to help out with these feature additions.

Popularity: 1%

{ 3 comments }

WordPress Revision History Plugin

by damonp on March 12, 2007

in Sites,Software

Editing a post is a necessity from time to time, especially with any type of coding related blog. I particularly like to keep older posts up to date with revised download links as new versions are released. This prevents a user following a link off of a search engine to an old post and downloading an old version of one of my pieces of code. Surprisingly, I could not find a WordPress plugin to do just this. This tiny plugin allows you to attach timestamped revision tags to a post using the WordPress metadata system.

For an example in action see the Post History heading after this post.

Installation

  1. Download and unzip wp_revision_history.zip
  2. Upload revision_history.php to your WordPress wp-content/plugins/ directory.
  3. Add the following CSS to your stylesheet. Change CSS to match your site layout.
    #revision-date  {
        padding: 3px 5px 3px 12px;
        font-weight: bold;
        color: #333;
    }

    #revision   {
        padding: 2px 5px 8px 18px;
        color: #555;

    }
  4. Add the following snippet to your template where you want a post’s revision
    history to display

    <?php if(function_exists('wp_has_history') && wp_has_history()) {   ?>
    <h3>Post History</h3>
    <div class="cmeta" style="bottom-margin: 20px;" id="history">
    <?php wp_history(); ?>  
    </div>
    <?  } ?>

Usage

To add a revision tag to a post, add a new custom field named ‘history’ to the post. Set the custom field’s value to the revision note text. Multiple revision tags may be made to the same post by adding more custom fields with the key ‘history’. Each note will be automatically timestamped. The history listing will be sorted by the timestamp value.

Download WordPress Revision History

Popularity: 3%

{ 7 comments }

ZenCart Inventory Report

29 November 2006

Here’s a simple admin report for ZenCart that will generate an inventory report with per product totals and a report total. The report may be paginated or generated over the whole catalog. The report was created by modifying the ZenCart default Products Viewed report. It was created from the ZenCart v1.2x source but has been [...]

Read the full article →

ZenCart Reports Search Function

9 November 2006

The ZenCart default reports are sufficient for most uses, but with many products pages of results are a pain to look through. Adding a search is pretty simple. The example below adds a search to the products purchased report: Add the search box and form: admin/stats_products_purchased.php Line ~#64 BEFORE: </table></td> </tr> <tr> <td><table border="0" width="100%" [...]

Read the full article →

ZenCart Simple Attributes Stock Tracking

12 June 2006

I developed a quantity by attribute modification for ZenCart for a client about six months ago. It has been working very well for them, but it only supports simple attributes. Size OR color OR fabric not size AND color or size AND fabric. The complexity and time involved with maintaining such a detailed inventory of [...]

Read the full article →

ZenCart Sales Report State Filter

5 June 2006

The ZenCart Sales Report contribution allows a site owner to easily and quickly generate sales reports with many different filters. The one missing filter was a state or local zone filter. This filter would be useful for figuring out total local sales for state sales tax purposes. I have updated the contribution to include this [...]

Read the full article →

Mint Pepper DLoads v0.74

6 March 2006

DLoads v0.74 is released. This is a minor bugfix release. Upgrade is only necessary if you are having problems with variables being appended to your download links (like PHPSESSID=…). This problem was reported by some users who were using session.use_trans_sid to support cookie-less sessions. Changelog: Added routine to break apart request URI to remove any [...]

Read the full article →

Mint Pepper DLoads v0.72

22 February 2006

DLoads v0.72 is released. This is a minor bugfix release. Changelog: Moved mint->record below file delivery routine, corrects a header error on some servers Added ini_set() to turn off output compression, if on Added configuration var to set Abbr chars for long file name chopping in mint display Download: DLoads v0.72 Full DLoads Pepper infomation: [...]

Read the full article →

Mint Pepper DLoads v0.70

16 January 2006

DLoads v0.70 Final is released. Changelog: Add compatibilty for Mint v1.2 Clean up filenames in DLoads pane Run filenames through abbr() to shorten long file names Add checks for additional _SERVER variables for downloaded file name Download: DLoads v0.7 Final Full DLoads Pepper infomation: DLoads Pepper DLoads versions greater than the last release (v0.5) will [...]

Read the full article →

Mint Pepper DLoads 0.70 Beta

6 January 2006

I finally found the time to work out the issues in my DLoads Pepper for Mint. This release has only been tested on a couple of Mint v1.25 releases so, YMMV. The documentation still needs update a bit too, but the install should be straightforward on a v1.2x install. DLoads v0.7 Beta DLoads versions greater [...]

Read the full article →