Magento Themes and Magento Extensions

Changing default category sort order in Magento

Share
Posted on May 8th, 2011 | Posted by admin

Changing default category sort order in Magento

Category toolbar has many options. By default is shows how many items are in the category, you can choose how many products you wish to be displayed per page, you can change the listing type (List or Grid) and you may choose Sort Order. This “Sort Order” can be confusing. The default “Sort Order” is “Best Value”. What does it mean? How is the Best value determined? Can we change the default sort order?

connect2MAGE | WordPress plugin for easy Magento database connection

Share
Posted on May 8th, 2011 | Posted by admin

WordPress plugin for easy Magento database connection

Hi everyone. I wrote this little plugin while working on one of our projects. If you know your way around WordPress then you know what $wpdb variable stands for. Imagine the following scenario. You have WordPress installation on one database, Magento on another. You know your way around SQL. You can always make new object based on WPDB class inside your template files giving it database access parameters, or you can use this plugin and use $MAGEDB the same way you use $wpdb.

Below is a little example of using $MAGEDB to connect to Magento database and retrieve some products by reading id’s from custom field of some post inside your WordPress.

Place this code inside one of your templates, like single.php.

Affiliates for all – Magento integration

Share
Posted on May 8th, 2011 | Posted by admin

Magento integration

Recently one of our clients needed and info on Affiliate module for Magento. When it comes to Magento, word “module” is loosely related. Sure, every module needs config files in order to report it’s “connection” to Magento core. Modules like this, Affiliates for all, are modules I consider loosely related to core. They are in one or another way connected to Magento but they are self standing, independent, applications.

Installation of Affiliate module is a trivial task. It mostly comes down to extracting downloaded archive file to a web accessible directory (to your server, hosting) and configuring the config.inc file. (For security reasons, try renaming the config.inc to config.inc.php, plus changing the /lib/bootstrap.php on line 23 to include config.inc.php). After importing affiliates.sql into the database our installation is done.

Custom checkout cart – How to send email after successful checkout

Share
Posted on May 8th, 2011 | Posted by admin

Custom checkout cart

Recently I have been working on a custom checkout page for one of our clients in Sweden. I had some trouble figuring out how to send default Magento order email with all of the order info. After an hour or so of studying Magento core code, here is the solution on how to send email after successful order has been made.

Magento + .Net Framework, simple order preview app

Share
Posted on May 8th, 2011 | Posted by admin

Magento + .Net Framework, simple order preview app

For those of you who are into kinky stuff  I made a simple, more of a proof of concept, application that sits in Widnows taskbar and shows the order info in balloon popup. Took me little more than half of hour to get this working. Almost forgot how great C# is  Magento has this great feature, rss feed for orders. You can access it via link http://myshopsite/rss/order/new. It requires authentication, so you need to provide Magento user and pass to access this link. Idea I wanted to play around was how to get this info in my windows app. It’s really, really simple. Below is the screenshot of this little app for you to see what I’m talking about.

Page 30 of 39« First...1020«2829303132»...Last »