PHP Classes

CafePress Random Product: Display a random product from your CafePress store

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 37%Total: 463 All time: 6,051 This week: 794Up
Version License Categories
cafepressbox 1.0Free for non-comm...Web services
Description 

Author

This class will display a random product from your CafePress store

You can supply a simple template to control style, and have the output link directly to the shown product or simply to your main account.

You can cache the results so you don't have to connect to the CafePress website all the time.

Images can also be cached locally, and can be resized before caching.

Picture of Andrew Collington
  Performance   Level  
Name: Andrew Collington <contact>
Classes: 16 packages by
Country: United Kingdom
Age: 49
All time rank: 563 in United Kingdom
Week rank: 312 Down8 in United Kingdom Down
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file class.cafepressbox.php Class The main class file. The regular expression pattern used to parse the output from CafePress will need to be changed any time CP update their output.
Accessible without login Plain text file test.cafepressbox.php Example A simple example file.

 Version Control Unique User Downloads Download Rankings  
 0%
Total:463
This week:0
All time:6,051
This week:794Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:37%StarStar
Rank:3932