CafePress random product update

A small update is required to the CafePress box class – the one that shows a random product from your CafePress store. This is needed because there have been some additional updates to the HTML on the CafePress side, so the regular expression in the class needs updating. It’s very easy; just change line 174 for the following:

$this->cpPattern = '.*?(.*?)
\$([^< ]*)';
Did you like this? Share it:

Leave a Reply