Topic: New ZSB case store
tbidness Posted: Friday, November 26, 2010 1:17:57 AM
Thanks Paul,

I totally didn't think of setting up categories in your zstore for each of the 3g, 4 and iPad varieties, and then on your external website, simply calling a category to select just a particular type of case!

To answer your question, you do not need to use multiple instances of the zsb files to pull product from different categories onto your external website.

All you need to do is call the following line of code before you 'include' the zstore.p.h.p file:

$_GET['productLineId'] = 'your category ID number here';

Hope I wasn't stating the obvious Smile

As for the location based stuff, thanks for the thread link guys, it is just what I need.

Topic: New ZSB case store
tbidness Posted: Tuesday, November 23, 2010 6:00:53 PM
Hi Paul..

Thats some nice work. Clean presentation and simple organisation into the ipad, iphone 3g and iphone4 varieties; great job Smile)

Question: How have you managed to separate the cases into ipad, iphone3g and iphone4 groupings. Are there separate merch codes for each (i believe there is only 176 for all speck cases), or have you applied tags to differentiate them or?...

Would love to know, if you don't mind sharing..

thanks, damian
Topic: ZSB Wish List
tbidness Posted: Monday, October 04, 2010 3:31:38 AM
Hi guys..

Great thread.. I would like the zoom feature, but not at an expensive bandwidth or time cost..

In my implementation of the zsb, I have noticed that the function: split is deprecated in p_hp 5.3. To avoid pesky deprecation notices in your local dev environments and to improve compatibility with future versions of p_hp, I recommend the changes listed below..

Replace all instances of split with preg_split, which per the p_hp docs is often faster. That said, zsb's use of split is trivial and I expect any time gains would be unnoticeable.. Here's what to change:

line 215, change
$gridPages = split( ',' , $_GET['gridPage'] );
$gridPages = preg_split( '(,)' , $_GET['gridPage'] );

line 221, change
$gridNumberParts = split( '_', $gridPage );
$gridNumberParts = preg_split( '(_)', $gridPage );

line 243, change
$gridSort = split(',', $_GET['gridSort'] );
$gridSort = preg_split('(,)', $_GET['gridSort'] );

line 248, change
$gridSortValueParts = split('_', $gridSortVal );
$gridSortValueParts = preg_split('(_)', $gridSortVal );

line 302, change
$gridNumberParts = split( '_', $pg );
$gridNumberParts = preg_split( '(_)', $pg );

line 311, change
$gridSortNumberParts = split( '_', $sort );
$gridSortNumberParts = preg_split( '(_)', $sort );

line 347, change
$gridSortNumberParts = split( '_', $sort );
$gridSortNumberParts = preg_split( '(_)', $sort );

Happy Zazzling Smile)

Topic: local dev issues with zsb
tbidness Posted: Monday, September 13, 2010 5:52:00 AM

Needed to enable curl by:

uncomment in p_hp.ini file:



Right click the system tray easyP_hp icon > configuration > p_hp extension > check p_hp_curl > apply > restart servers

Glad that's over Grin
Topic: local dev issues with zsb
tbidness Posted: Monday, September 13, 2010 12:41:24 AM
Thank you apitude..

I am still at a loss with this curl fatal error.

I tracked down the only curl reference in both the development and production php.ini files. They were both:


I changed both to:


Still the error persists... grrrrrrr