PHP Tips

Archive for the ‘PHP Tips’ Category

10 Simple PHP Functions to improve your Magento Store

Posted on: 30th Jun 2011 By: Robert Kent 2 Comments
10 Simple PHP Functions to improve your Magento Store

When building a Magento shop you will always come across custom code etc that could be improved. There have been many times when I’ve come across a small function that brings back my category names but fails to capitalize the first character. Other times the text that comes back from one of these functions could [...]

Read More…

Magento bOption is not defined fixed

Posted on: 18th Feb 2011 By: Ben McManus No Comments
Magento bOption is not defined fixed

JavaScript errors are annoying and quite tricky to debug. When you’re configuring 200 bundled products and you discover ‘bOption’ is not defined, it really puts a sour taste on your tongue! Thankfully my colleague Rob found an unbelievable quick fix! The main tell tale sign for this error is the loading spinner hanging around on [...]

Read More…

PHP Tips – Remove That Bad Character

Posted on: 29th Jul 2010 By: Robert Kent No Comments
PHP Tips – Remove That Bad Character

There is a very common occurrence in websites. A bad character will appear on your web page for no reason whatsoever. Or so you thought… Some amateur designers and developers can sometimes forget to play web-safe. Meaning your pound signs should be written £ rather than £ or your & symbols should be written &. [...]

Read More…

PHP Tip – Find all Images in a Folder

Posted on: 26th Jul 2010 By: Robert Kent 2 Comments
PHP Tip – Find all Images in a Folder

There may come a point in your lives when you need to find some images in a folder. There are many reasons why this may be so, but not many that come to my mind immediately – only this – find all images and organize them for some reason. Well here is a function that [...]

Read More…

Top 3 Include Paths in PHP

Posted on: 15th Jun 2010 By: Robert Kent No Comments
Top 3 Include Paths in PHP

Just like my holiday this year – I’m going all inclusive… Those of you who are PHP developers or who simply work with PHP as the best way to create websites know how important includes are in the overall structure of a website, how the maintenance time decreases and the tidiness of your coding increases [...]

Read More…

Search Blog

Archives

For the record...

Views & opinions in this blog are those of the individual and do not necessarily reflect those of E-commerce Web Design or the Creare Group.