Magento Themes and Magento Extensions

Magento Connect

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

One of the first things that really confused me when i start using Magento is Magento connect. I just started learning things, so i was looking for some plugin examples. I visited Magento connect page with extensions and looked for download button, instead i found “Get extension key” one.

If i recall correctly their What is this? explanation wasn’t the same back then .. or i was just so terrified of Magento at start that i didn’t understand anything at that point  I knew i need to paste that key somewhere, in something they called my Magento connect manager or Magento downloader, but i didn’t understand where it is.

More Flexible Approach for Listing Sale Products in Magento

Share
Posted on May 17th, 2011 | Posted by admin
More Flexible Approach for Listing Sale Products in Magento

One of my recent articles was on the subject of sorting “On Sale” product in Magento. The following is a cleaner and more advanced look at how—with few tricks and smart moves—you can reuse existing Magento code and modify it to suit your needs.

Product can be “on sale” in two ways:

1. when an item has a special price assigned to it on the individual level, or

2. when a special promotion “covers” the item

It is important to remember that you don’t have to set up the special price on each product to get it to be on sale; you can simply create a promotion rule and say something like “Set all the products in Category X to be on sale.”

I provided few screenshots at the bottom of this article to provide a closer look at what I’m talking about. I will not go into too much details here since this is a bit more advanced HOW TO, but here is the process in a nutshell:

First, create a copy of /catalog/product/list.phtml file and name it onsale_list.phtml. Here is my version of onsale_list.phtml file.

Second,  “activate” this new file. There are few ways you can do this. Let’s say you wish to assign this onsale_list.phtml on one of our categories, named “On Sale,” for instance.

File upload in Magento

Share
Posted on May 17th, 2011 | Posted by admin
File upload in Magento

Whan of the most enticipated and needed things in Magento is File upload Custom Option. As discussed last year at Magento Forum, it is not completed nor tested.

Now, Magento already have frontend and admin part of file upload option implemented in themes. Since backend part is still missing, understand that this still doesn’t work, however, if you’re interested how it looks, read on ..

Frontend html is found in:
app/design/frontend/default/default/template/catalog/product/view/options/type/file.phtml

Magentique – Magento Showcase Launched

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

For the last few months we were working almost exlusively on Magento projects. As many of you, we were also wondering what sites are developed with it. There are very little galleries that give the list of   Magento powered stores and that’s how this idea was created. We present you Magentique and hope you like it.

Curiosity about this project is that we used Magento to develop it. You’ll not see a shopping cart or Add to Cart buttons, but Magento was the tool we used. Take a look at the gallery, comment the sites you like. Subscribe to RSS. Share it with you friends. Also, we would welcome your submissions of new stores you own, you created or just the ones you like.

Custom checkout cart – How to send email after successful checkout

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

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.

1
2
3
4
5
6
7
8
9
10
11
< ?php
$order = new Mage_Sales_Model_Order();
$incrementId = Mage::getSingleton('checkout/session')->getLastRealOrderId();
$order->loadByIncrementId($incrementId);
try
{
$order->sendNewOrderEmail();
} catch (Exception $ex) {  }
?>

Not sure how useful this alone will be for you, so I’ll throw a little advice along the way. When trying to figure how to reuse Magento code, separate some time to study the Model classes with more detail. Then “tapping into” and reusing some of them should be far more easier.

Cheers…

Page 18 of 39« First...10«1617181920»30...Last »