After participating in the Magento Mobile webinar here is a good review of mCommerce and mobile development in general
March 6, 2010 - 1:58 pm
Tags: jQuery, Magento, navigation, php
Posted in Code, Magento | 51 comments
Ok here’s how to make a dynamic jQuery sliding accordian menu in Magento, as seen on http://www.waterfrontbathrooms.com/.
Waterfront bathrooms also has a dynamic tree menu system to deal with there being more than 2 levels of categories, but I’ll cover this in a future post.
March 6, 2010 - 12:57 pm
Tags: Magento, php
Posted in Code, Magento | 1 comment
Here’s a short list of magento codes to do some of the simple stuff. It’s a little empty at the moment but I’ll keep adding to it over time. Check if customer is logged in <?php $_customer = Mage::getSingleton(‘customer/session’)->isLoggedIn(); if ($_customer) { // do stuff } ?> Get product image <?php echo $this->helper(‘catalog/image’)->init($_product, ‘image’); ?> [...]
March 6, 2010 - 12:39 pm
Tags: Magento, php
Posted in Code, Magento | 4 comments
A website we developed recently required some boxes on the homepage that link through to a specific category each, and each box needed to show an image from a random product from within that category. If you would like to do the same, here’s how it’s done: Create a PHTML file in your template folder, [...]
March 6, 2010 - 12:10 pm
Tags: Magento, php
Posted in Code, Magento | 8 comments
One of the most frequent requests we get for Magento sites is to tame what the thumbnails do on the product page. Of course there are plenty of plugins for adding a lightbox of some sort, but if you simply want to swap out the image in the zoomer window for one of the thumbnails, [...]
February 25, 2010 - 3:15 pm
Tags: Magento, php
Posted in Code, Magento | 13 comments
SagePay is the UK and Ireland’s most popular payment gateway and Magento is rapidly gaining popularity so the absence of a SagePay Form Magento plugin is not ideal. Hopefully we have helped to fill that gap with our free plugin available at http://www.magentocommerce.com/extension/3060/sagepay-formerly-protx-form.
February 18, 2010 - 11:42 am
Tags: Magento, php
Posted in Code, Magento | 1 comment
To speed up the process of uploading the Magento software without SSH access we have created this easy downloader to fetch and unpack the files and install the sample data in a MySQL database.
December 14, 2009 - 5:22 pm
Tags: Code, ImageMagick, php
Posted in Code | 1 comment
Ok, this is one for the nerds. I have spent most of today trying to figure out how to get ImageMagick to convert a pdf file to an image. First I installed ImageMagick fine: > wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz > tar xvfz ImageMagick.tar.gz > cd ImageMagick-6.5.8 > ./configure > make > make install Then I installed the [...]
November 14, 2009 - 8:21 pm
Tags: php, wordpress
Posted in Code | 4 comments
We had a client with a mysterious plugin related server error when they tried to access thair admin dashboard with output: /*pushit_user_row_phone_variable_define_start*/ $phone = isset($user_object->phone_number) ? get_user_mobile($user_object) : “not set”; /*pushit_user_row_phone_variable_define_stop*//*pushit_user_row_phone_variable_insert_start*/break; case ‘phone’: $r .= “$phone”;/*pushit_user_row_phone_variable_insert_stop*/ They said that the problem had happened immediately after installing the PushIt plugin. So, we took the usual action [...]
November 14, 2009 - 8:17 pm
Tags: email, php, regular expression
Posted in Code | 1 comment
I wrote a little function to check the formatting of an email so I thought I would share it with the world: <?php function is_email($email) { if(eregi(“^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$”, $email)){ return 1; } else { return 0; } } ?>
April 12, 2010 - 7:01 pm
fine with me
June 2, 2010 - 7:47 am
Nice post , this is work for me………..
June 19, 2010 - 9:07 pm
Indeed cool article you have here. It’d be really cool to read something more concerning such theme. Thank you for posting that material.
Jessica GARCIA