Richard Castera

Application Developer/Designer
  • Home
  • About
  • Projects

Posts Tagged ‘Magento’

Magento, PHP, Web Resources | 2 Comments | June 25, 2009

Add Magento search plugin to Firefox Search bar

magentoI’ve been working with Magento for some time now. I found myself searching for help countless times on the Magento website. I thought it would be useful to have a search feature built right into Firefox’s list of search engines to search the Magento site. So I went through Mozilla’s Developer Center and found instructions on the Open Search Syntax. So here you go, you can download it here. Hope you find it helpful!

I also have one for PHP which comes in handy as well. If your interested, you can grab it here.

Books, Magento, My Thoughts, PHP | 1 Comment | June 2, 2009

Magento Beginner’s Guide – A great book for any Magento Store Owner

magento-beginners-guideRecently I obtained a copy of Magento Beginner’s Guide by William Rice from Packt Publishing. This book is great, I would recommend it to any new or existing Magento store owner. It servers as an excellent reference guide for experienced users and a great beginners guide for new store owners.

Magento is the world’s most evolved e-commerce solution and runs on the Apache/MySQL/PHP platform. From one installation, users can control multiple storefronts, all sharing customer and product information. Magento’s templates and themes enable users to customize the look and feel of their store, even optimizing it for mobile phones. Extensions enable them to connect Magento to a large number of payment gateways and shipping services.

Who this book is written for:
This book is for anyone who wants to create an online store using Magento. If you are a non-technical person and are discouraged by the complexity of this powerful e-commerce application, this book is ideal for you.

What you will learn from this book:

  • Install and configure Magento and add products to your online catalog
  • Create categories and attributes to build your catalog of products
  • Enhance your products with descriptions, images, and inventory information
  • Create product categories to help your customers navigate your online store
  • Automatically apply sales tax rules to different shipping addresses and different types of products
  • Present and sell products in groups and sets
  • Display products related to the one that is being viewed by a customer
  • Offer your customer choices for a product’s size, color, or other attribute and give discounts based on quantities
  • Accept payments using Paypal, credit cards, and checks/money orders and offer a variety of shipping options
  • Create your own, customized shipping rates and connect to shippers such as UPS, FedEx, and USPS

Thanks to Jude at Packt Publishing for inviting me to write this review.

I also cannot underestimate these useful resources:

  • Magento User Guide
  • Magento Community Board
  • Magento Community Wiki
  • Magento Knowledge base
  • Magento Webinar
  • Magento Screencasts
Magento, PHP | No Comments | May 26, 2009

Magento – Show blocks that are not loaded in the current Object or Template

Customizing Magento could be difficult. Here is an easy way to display any block in any template file that cannot be loaded with $this->getChildHtml().

<?php echo $this->getLayout()->getBlock('top.search')->toHtml() ?>
Magento, PHP, Web Resources | No Comments | May 25, 2009

Magento – Find which Class is loaded in the current Template

If you’ve just started working with Magento, you’ll find that figuring out which class is loaded in the current template file very difficult. Here’s a little snippet that helps you figure it out. Just place the following into any .phtml template files:

<?php
    print_r(get_class_methods(get_class($this)));
?>
or
<?php
    print_r($this->debug());
?>
or
<?php
    echo Zend_Debug::dump($this);
?>
Magento, PHP | 77 Comments | May 21, 2009

Magento – Display new products on the home page

If you’ve ever wanted to add new products in your Magento home page, it’s fairly easy to implement. Go to “CMS” then “Manage Pages” and select “Home Page” from the list of pages. Now paste this code snippet to show products labeled as “new” on your front page:

{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}

(Note that you must have some new products in your catalog for anything to show when you do this. This doesn’t mean that you’ve recently added them; only products explicitly marked as new using “Set Product as New from Date” and “Set Product as New to Date” options in the “General” product information page in the admin tool will be shown.)

Books, Magento, PHP, Web Resources | 2 Comments | May 20, 2009

Magento releases User Guide

Magento User GuideMaster the basics of running your Magento store using hands-on tutorials by Varien, the Magento Company.

The Magento User Guide provides the site administrator with detailed instructions addressing the platform’s innumerable functions. From setting up your store to managing your products, pages and promotions to generating detailed reports, our User Guide empowers our ever-widening customer to utilize the platform for all of its vast capacity. Serving as a handy problem solving solution as well as a practical step by step guide, our User Guide is sure to become a cost-effective partner in your Magento store implementation.

  • Download a sample chapter
  • Read the Table of Contents
Magento, PHP | 7 Comments | May 20, 2009

Magento – Re-ordering Block items

Magento has lots of blocks that display in the left and right columns (based on your layout). Changing the order in which they are displayed or sorted is easy. Navigate to the folder “app\design\frontend\default\YOUR_THEME\layout”. In this folder, there are several XML files which are called Layouts.

Magento Layouts are the tools with which you can assign content blocks to each structural block you create. Layout exists in the form of XML text-file and by modifying the layout you are able to move blocks around in a page and assign templates to the content blocks to produce markup for the structural blocks.

To change the order, find a block you want to change. So if I wanted to display the products compared side box first in my left column, I would do by adding before=”-” as an attirbute to it’s xml node. Now, save it and upload. That’s it!

<reference name="left">
    <block type="core/template" before="-" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
</reference>

Here some other ways to order blocks.

To display as the First block:
before="-"
To display as the last block:
after="-"
To display before any other block:
before="block_name"
To display after any other block:
after="block_name"
  • Page 3 of 4
  • <
  • 1
  • 2
  • 3
  • 4
  • >
  • Premium Email Templates

    Social Profiles

  • Twitter
  • Facebook
  • LinkedIn
  • Digg
  • Google
  • GitHub

    Last Tweet

  • J. K. Rowling donates $15 million for MS clinic http://om.ly/tkkw
  • Follow me
  • Archives

    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • September 2008
    • August 2008
    • July 2008
    • June 2008
  • Categories

    • AJAX
    • Apache
    • Books
    • Drupal
    • Ecommerce
    • Flash
    • Google
    • Javascript
    • jQuery
    • Magento
    • Marketing
    • Mootools
    • My Thoughts
    • MySQL
    • News
    • Photoshop
    • PHP
    • Prototype
    • SEO
    • Web Resources
    • Wordpress
  • My Favorites

    • 37 Signals
    • Andrew Warner
    • Chris Coyier
    • Chris Shiflett
    • Collis Ta'eed
    • Development Seed
    • Drupal
    • HubSpot
    • James Padolsey
    • Joel On Software
    • John Resig
    • jQuery
    • Kevin Rose
    • Life Hacker
    • Magento
    • Mashable
    • Matt Cutts
    • Matt Ryan
    • MySQL
    • NetTuts
    • Noupe
    • Photoshop Tutorials
    • PHP
    • Smashing Magazine
    • Tech Crunch
    • WoorkUp
    • Wordpress

2010 © Copyright. Richard Castera - All Rights Reserved.

Top