Python , Django setup on Mac OS X

i tried to use upper version of python instead of using  the default version on mac. that’s why i install my required version  . but the problem i faced that is python doesn’t know where to look for my libraries which macports installed . it always look into the default version of python library . so the solution is identify the path for my self install . i did that and it works . but for the beginner i write a small tutorial which may be help for very beginner of mac, python and django .

My Environment :

version : Mac OS X (10.6.8 )

OS : snow leopard

default python : 2.6.5

how can you check your default version :

$ python
Requirement :

1. Django 1.5

2.  python 2.7.x

Tools that need to install :

1. macport or HomeBrew: a package manager for Mac OSX that allow you to install UNIX tools.

2. pip : Package install for Python

3. Virtualenv – virtual environment for Python

Installation Steps :

1. install python . i used brew to install .
2. add new Python scripts directory to your PATH
3. install pip .
4. install django
5. Test django
6. create a project
7 . test project

Let’s follow the steps :
open the terminal

1. install python :
$ brew install python --framework

it will take few minutes.Once that’s complete, you’ll have to add the new Python scripts directory to your PATH .

2. add new Python scripts directory to your PATH
export PATH="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages:$PATH"

3. To install pip,simply run :
$ easy_install pip
if you want to create virtualenv or others python packages then you can easily install through pip . Like next we want to install Django .

4. Install Django:

to install Django simply run this command :
pip install django

5. now just check the which version of django has been installed. simply run this command :
python -c "import django;print(django.get_version())"
it will show you installed django version django .

6. Now let’s create a django project . to create a project simply create your own new directory and under that directory just run that :
django-admin.py startproject project_name
a directory will be create by your given project_name say mysite . and it will be look like :
mysite/
manage.py>
mysite/
__init__.py
settings.py
urls.py
wsgi.py

7. now you want to test . for that you need to run server . just simply run this command to run server :
$ python manage.py runserver
if successful , then simply run this :http://127.0.0.1:8000

That’s it .

Reference :
1. https://docs.djangoproject.com/en/dev/intro/tutorial01/
2. http://stackoverflow.com/questions/9305154/python-will-not-recognize-macports-installed-packages

OmniAuth facebook/twiitter SSL certificate error

i have used Omniauth for facebook login . I followed this tutorial to integrate facebook login http://net.tutsplus.com/tutorials/ruby/how-to-use-omniauth-to-authenticate-your-users/

I followed all the steps of that tutorial but after authorizing the app and when redirect to /auth/facebook/callback fails with:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

This error we get because Omniauth/Oauth wasn’t setting the ca_path variable for OpenSSL of their HTTP calls.OpenSSL did not find the root certificate for Facebook’s SSL certificate.As a result we got this error.

We can solve the issue by two ways .

  • One way is we can set SSL certificate path
  • anothe one is ignore the certificaiton verification

Let’s see what will we do if we want to ignore the certification:

  • you can fix this in CBA’s application-config.
  • Add the following line to your file config/omniauth.rb
  • OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE

So now config/omniauth.rb will be look like :


Rails.application.config.middleware.use OmniAuth::Builder do
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
provider :facebook, "apikey", "secretkey"
end

what will we do to set the certification path :

take a look at this link ruby on rails and ssl error

    • sudo port install curl-ca-bundle
    • modify the config/omniauth.rb files
    • set ca_path in the client options
    • Rails.application.config.middleware.use OmniAuth::Builder do :
      facebook, FACEBOOK_KEY, FACEBOOK_SECRET, {:client_options => {:ssl => {:ca_path => "/opt/local/share/curl/curl-ca-bundle.crt"}}}

Hopefully this two ways can be solved the SSL certificate issue.

end

How to set up Zf2 (Zend Framework) in mamp server

Zend framework released their beta 2 version. I just planned to start work with that. Because I have seen lots of interesting features in zend framework . If you want to see more details about features then you may visit (http://framework.zend.com/wiki/display/ZFDEV2/Home)

So I start to create a project with ZF2.0 . But I faced few problem to see the welcome screen . So here I describe how quickly you can set up a zf project .

First let us know the requirement of ZF 2.0

Assumption:

I assume that you have an idea for the following things :

1. how to setup mamp .
2. how to create virtual host .

Requirement :

1. Php 5.3

Download :

https://github.com/zendframework/zf2

Setup on MAMP:

I just want to show how to set up on mamp . I assume that you already set up

1. Now open your php.ini file located under

/Applications/MAMP/conf/php5/php.ini

2. Search for include_path and add the location of your zend framework:

include_path = ".:/usr/lib/php:/usr/local/lib/php:/Applications/MAMP/path of zendframework/ "

or you can include library/zend while you create a project . I will show in later while we create a project.

3. Zend Framework also comes with a shell script that will help you with RAD (Rapid Application Deployment), you can create a shortcut to Zend Tools in terminal by adding an alias to your profile under /etc/profile and make sure to restart terminal after you’ve done so:

alias zf2=/Applications/MAMP/svn/zendframework/trunk/bin/zf.sh

4. Test if the Zend Tool is installed correctly by showing the version:

zf2 show version

5. Finally navigate to the directory you’d like to create your first project in:

zf2 create project quickstart

And then I create a virtual hosts for local.quickstart.com and when I browse that i have seen a blank page . Then I try to find the error . so I open the php error file by this command : tail –f php_error.log

In that file I have seen lots of error message where most of the error messages are that files are not found.

So I have checked the files. I open a file controllers/indexController.php file . There I find nothing has been written . Same things happened for error Controller . So I have looked at the:
https://github.com/micrub/zf2-bootstrap

. And there I found that how to extend the controller and also how to extend the class. So now again browse the local.quickstart.com and now I have seen it works for me .

Set Up a Local Facebook Development Environment with Virtual Host .

To create a facebook application  http://www.londatiga.net/it/how-to-create-facebook-application-with-php-for-beginner/ , you need a real domain for Canvas URL. For that reasons  I have faced a real trouble to develop Facebook application . I have to change the code on the local machine, uploading them to the server, testing it out in a browser and repeating the process until finish the application. So Even a little change i have to do all  above the process . So i am  looking  for the best way to set up facebook development Environment in local to avoid all irritating process  .And finally i found out of box solution at the leevio . Here i describe the out of box solution  .

Create Only  Virtual Host :

1. Just only  create a virtual host in the localmachine according to you canvas domain name.That’s it nothing need to do more . It will save all of your effort and time   Like you set canvas url “myfbapps” .

Here is the instruction to create a virtual hosts at ubuntu . But you can create virtual host for any os

1. Open a new file and write down the server configuration

Server configuration:

<VirtualHost *:80>
DocumentRoot /www/ myfbapps
ServerName local.myfbapps.com

# Other directives here

</VirtualHost>

2. Then save the file to /etc/apache2/sites-available. Give it a name like myfbapps

3. And then edit the file hosts under etc directory : /etc/hosts
4 . Open terminal and type the following command or copy and paste it.
sudo a2ensite smronju //change smronju to your file name.
5. Now you have restart your apache server the following command.
sudo /etc/init.d/apache2 restart

Few more reference link :
http://www.facebook.com/note.php?note_id=382450211283

Facebook IFRAME Application Issues : PART-1

While I switch one of my fb application  from FBML to iframe , I have faced some silly problem. But to solve those problems , I have to waste so many hours. After searching the forum, asking mates and friends and then find out the solution.  I am thinking Mahedi hasan to help me a lot. When I got the solution I found that it’s a very 1 or 2 min jobs.   I have found mostly these problem arise in the beginning of application and basic issues. I hope so you will share your iframe problem too .

Here are the problems that I have faced  while developing an iframe application:

1. POST Submission problem :

http://forum.developers.facebook.com/viewtopic.php?id=24430

While I submit the post data unfortunately I  do not get any post data. I have found that post field is empty. I am very surprised how my $_POST field is empty though it submit the action page.   I have given a sample form of my application.

Posting it via the server url:


<form action="http://myserver.com/appname" method="POST">
<input type="text" name="test1"></input>
<input type="submit" name="Submit"/>
</form>


Posting it via the app callback url:



<form action="http://app.facebook.com/appname" method="POST">
<input type="text" name="test1"></input>
<input type="submit" name="Submit"/>
</form>


After search in  facebook developer wiki,forum and blog , I have known that

while submit the form , iframe lost the session key as there is no session key passed . As a result it lost user id and lost all the post data. That’s why i have to set user_id. So below is the forum post link :

http://forum.developers.facebook.com/viewtopic.php?id=22929

And  here Is how I solve this issue . This my modified form where I added two  hidden fields. One is fb_sig_session_key and another one is user_id.

Posting via fb_sig_session_key and user_id

<form action="http://myserver.com/appname" method="POST">
<input type="text" name="test1"></input>
<input type="hidden" name="fb_sig_session_key" value=”<?php $_GET[‘fb_sig_session_key’]”></input>
<input type="hidden" name="user_id" value=”<?php $_GET[‘user_id’]”></input>
<input type="submit" name="Submit"/>
</form>

So after submit the form here I show how can I set_user and now find the post values.

</pre>
<?php

if (isset ( $_REQUEST ['kb_fb_sig_session_key'] )) {

$this->fb_sig_session_key = $_REQUEST ['fb_sig_session_key'];

}

if (isset ( $_REQUEST ['user_id'] )) {

$this->uid = $_REQUEST ['user_id'];

}

if ($this->uid != '') {

$this->facebook->set_user ($this->uid, $this->kb_fb_sig_session_key );

}

$this->facebook->set_user ($this->uid, $this->fb_sig_session_key );

?>

2 . Application  Link  problem :

While I click on any link in my iframe application , I have found that it reloads the whole facebook page again in the iframe canvas. I just use this type of code and found the problem load  .

<a href=”http://apps.facebook.com/MyApp/invite.php”>Invite</a&gt;

I found the solution in this thread : http://forum.developers.facebook.com/viewtopic.php?pid=208220

Only add the taget=”__top” into the anchor.

So I add target=”_top”. <a href=”http://apps.facebook.com/MyApp/invite.php”>Invite</a&gt;.   And now it work.

3.iframe size problem  :

I have faced problem to resize my frame application. Initially when page load the frame size is correct. But when I show the facebook profile photo of users , then find that it does not resize. I do not see the footer and it cut down. We have solve this problem by adding  javascript setTimer to resize the height. You have seen similar type problem here : http://forum.developers.facebook.com/viewtopic.php?pid=17541#p17541

4.  Setting issues :

I think to set up my application as an iframe application, I do not need to set up the connect url. But when I do not set up connect url I see blank page. So when I set up the call back url , I have found that my application working.

I think to set up my application as an iframe application, I do not need to set up the connect url. But when I do not set up connect url I see blank page. So when I set up the call back url , I have found that my application working.

I have few more issues and will be add next topics.

Mooving my Carrier further

I am leaving the informatix software. Today is the last day of informatix software. I have passed a very wornderful moment at informatix. In the informatix I have spend my time like a family member. I got lots of help from the mizan bhai, Ehsan bhai,yunus bhai , khabir bhai , shojib bhai and sumon bhai. And passing a very memorable moment with them.  I am very much thankful to  all of them for their friendly behavior.

From the december i will join at the blueliner bangladesh team as a Senior software engineer. I am requestiing all of you to pray for me.

My new DELL XPS M1640

Finally i have gotten my new DELL Studio XPS 1620. I have been waiting for buying a laoptop so many days. And Mizan bhai help me to bring this laptop from USA. This laptop has been bought by from ebay. After 1 week waiting i have gotten my laptop.

The awsome design dell xps will forget you everything.It has Premium design with genuine leather accents, anodized aluminum, edge-to-edge display and backlit keyboard. The leater acents make it very unique desing and make it very luxarious goods. And the backlit keyborad make you always typing in the key board . Now i can even work in the dark night . So my roommate are happy to switch off the light while sleeping. And the 16”” with edge to edge display is very interesting.

Here is the features of My New Dell XPS M1640 Studio XPS 16 Intel® Core™ 2 Duo P7350 (3MB cache/2.0GHz/1066Mhz FSB) Genuine Windows Vista® Home Premium Edition SP1, 64-bit LCD Panel Edge-to-Edge HD Widescreen 16.0 inch WLED LCD (1366×768) W/2.0 MP MEMORY 3GB2 DDR3 SDRAM3 at 1067MHz (2 Dimms) Hard Drive 320GB5 7200 RPM6 SATA Hard Drive Battery Options 6-cell Batterydell-xps-13-16-1

Awesome PHPXperts Seminar 2009.. Overview OpenSource Ecommerce Application – Magento

Recently an Awesome PHPXperts Seminar,2009  had been held at BRAC University , Dhaka .PHPXperts is one of the largest community in Bangladesh. At that seminar lot of programmers were present under a roof. And the presentation topic was the “Current development trends.” And I have an opportunity to speech on that seminar. Thanks Hasin bhai and other moderators to give this opportunity.

I am sharing my present slide at slide share.

http://www.slideshare.net/bijon/open-source-ecomm-php

In my presentation, my intension is to know the basic ecommerce features and the tools to make an ecommerce solution. For the tools I have described the mostly popular and idely used 4 open source solutions.

They are oscomemrce, zencart, virtumart and magento. And share with little with all the features ,pros and corns of those ecommerce . And finally I have give the idea about current ecommerce application trends  which is magento .

After that presentation I found that lots of peoples are interested about the ecommerce solution. And I just want to say that I am very sorry for those who raise hands but they do not get the chance to ask questions. Because of our shortage of time. But I will be glad if you contact with me to know anything or  any suggestion  .:)

Managing Manufacturers, Vendors, and Product Categories with Joomla! E-Commerce VirtueMart

 Once the configurations for a VirtueMart store are set, our next step is to build our product catalog for the store and manage that catalog. In the catalog management functions, there are several tasks including managing manufacturers, vendors, and products.This article is extracted from the “Joomla! E-Commerce with VirtueMart” book. In this article by Suhreed Sarkar, we are going to learn about these. On completion of this article, you will be able to:

  • Manage manufacturers and vendors
  • Manage the product categories

{literal}We are going to add and edit a lot of information for manufacturers, vendors, and product categories. Actually, in this article, our VirtueMart shop will really take shape with products we want to sell.

Catalogue management

The product catalog for an online shop comprises of the products we sell in the shop. Whatever products we want to sell should be added to this product catalog first. Once products are added to the catalog, customers can browse the products and decide to buy whatever they need. Therefore, managing the catalog is one of the primary tasks of the shop owner.

Products that we add to the catalog need to be organized to help customers easily find the right products. In VirtueMart, customers can sort the products by product categories and manufacturers. Therefore, before adding products to the catalog, we will look into managing manufacturers and product categories.

Managing manufacturers

In VirtueMart, whenever we add a product to the catalog, we also need to assign a manufacturer for that product. In reality, every product has a manufacturer, and for better management of the shop, we should be able to find products by their manufacturer. Therefore, first step will be to identify the manufacturers and enter their information in VirtueMart store. We can also categorize the manufactures as publishers, software developers, and so on.

Adding a manufacturer category

There is a default manufacturer category for use in VirtueMart. We can use that default category for creating a manufacturer. However, when we are selling large number of products from a large number of manufacturers, classifying them into categories will be convenient for managing the manufacturers.

For adding a manufacturer, in the VirtueMart administration panel, click on Manufacturer | Add Manufacturer Category. This shows Manufacturer Category Form:

In the Manufacturer Category Form, provide information for the Category Name and the Category Description fields. Once these are provided, click the Save icon in the toolbar to save the manufacturer category. In the same process, you can add as many categories as you want.

Adding a manufacturer

For adding a manufacturer, in the VirtueMart administration panel, select Manufacturer | Add Manufacturer. This shows Add Information screen:

In the Add Information screen, type the manufacturer’s name, their URL, email address, and a brief description. In the Manufacturer Category field, select the category. The drop-down list will show the manufacturer categories you created earlier. Once all the information is provided in this screen, click the Save icon in the toolbar to save the manufacturer information.

Listing the manufacturer categories

Once you have added the manufacturer categories, you can view the list of manufacturer categories by selecting Manufacturer | List Manufacturer Categories. This shows Manufacturer Category List screen:

In the Manufacturer Category List screen, you will see all manufacturer categories you have created. From this screen, you can add a new category by clicking the New icon in the toolbar. Similarly, you can remove a category by clicking on the trash icon in Remove column, or by selecting the categories and clicking the Remove icon in the toolbar. You can edit a category by clicking on the category name.

To view the list of manufacturers, click on the Manufacturer List link in the Manufacturers column, or select Manufacturer | List Manufacturers. This shows Manufacturer List screen displaying all manufacturers you have added:

From the Manufacturer List screen, you can create a new manufacturer, remove one or more manufacturers, and edit any manufacturer. For editing a manufacturer, click on the manufacturer’s name or the Update link in Admin column. This will bring up the Add Information screen again. You can also create a new manufacturer by clicking the New icon in the toolbar.

From the Manufacturer Category List screen, you may think that clicking on the Manufacturer List link against each category will display the manufacturers added to that category only. Ideally, this should be the case. However, until VirtueMart 1.1.2, it shows the list of manufacturers from all the categories. We hope this will be fixed in the upcoming releases of VirtueMart.

Managing vendors

The idea of multiple vendors is something what you can see on Amazon.com. Different vendors add their products to sell, when the order is placed, the store notifies the vendor to fulfill the order. The main store usually gets a commission from the vendor for each sell made through the store. However, VirtueMart’s vendors feature is still in its infancy and does not yet function properly. You can add multiple vendors in VirtueMart, and assign products to the vendors. However, adding vendors has no effect on selling any product on the VirtueMart store, except when applying different vendor-specific tax rates and shopper groups. At the moment, it also helps to identify products from different vendors. In the following sections, you will see how to add and manage vendors.

Vendor category

Like manufacturers, you can also create vendor categories. For creating vendor categories, go to Vendor | Add Vendor Category. This displays Vendor Category Form:

In the Vendor Category Form, type the name of the category and its description. Then click the Save icon in the toolbar. You can add as many categories as you want.

Before trying to add vendor categories, first plan how you are going to categorize your vendors (for example, based on the product they sell or their location). Have a full category tree on hand and then start creating categories.

Adding vendor

Once you have created the necessary vendor categories, you can proceed to adding vendors. For adding vendors, click on Vendor | Add Vendor. This displays the Add Information screen:

Caution
Note that there is a warning sign at the top of Add Information screen. It warns you about using the vendor feature as it is in the ‘Alpha’ or pre-mature stage. Also note that we have used Simple Layout for displaying it. If you try adding a vendor from Extended Layout, you will open up an edit screen for existing vendor information, which you already added during the initial configuration of the shop. Up until VirtueMart 1.1.2, a bug has been encountered and which will hopefully be fixed in future releases when it crosses ‘Alpha’ stage.

The Add Information screen shows three tabs: Store, Store Information, and Contact Information.

From the Store tab, add the vendor’s store name, company name, logo, web site URL, minimum purchase order value, and minimum amount for free shipping. You can also configure the currency symbol, decimal points, decimal symbol, thousand separator, positive format, and negative format.

In the Store Information tab (seen in the previous screenshot), you can add the address of the store, city, state/province/region, zip/postal code, phone, currency and vendor category. The vendor categories you have created earlier will be available in Vendor Category drop-down list.

In the Contact Information tab (seen in the previous screenshot), you can set the contact details of the vendor, such as name, title, phone, fax, email. You can also add a brief description of the vendor which will be displayed in the vendor details page in the store. Type a brief description in the Description rich-text editing box. In the Terms of Service rich-text editing box, provide terms of service applicable for that vendor.

Once information in all the three tabs are provided, click the Save icon in the toolbar to add the vendor.


Joomla! E-Commerce with VirtueMart
Joomla! E-Commerce with VirtueMart
  • Build feature-rich online stores with Joomla! 1.0/1.5 and VirtueMart 1.1.x
  • Build your own e-commerce web site from scratch by adding features step-by-step to an example e-commerce web site
  • Configure the shop, build product catalogues, configure user registration settings for VirtueMart to take orders from around the world
  • Manage customers, orders, and a variety of currencies to provide the best customer service
  • Handle shipping in all situations and deal with sales tax rules
  • Covers customization of site look and feel and localization of VirtueMart

 http://www.packtpub.com/joomla-e-commerce-with-virtuemart-1-1-x/book


Managing vendors and categories

Managing vendor categories is easy. You can manage the vendor categories from Vendor | List Vendor Categories. This shows Vendor Category List screen:

In the Vendor Category List screen, you can see all available categories. You can add a new category by clicking on the New icon in the toolbar. Similarly, you can delete any category by clicking the trash icon in the Remove column. For editing a category, click on the name of the category in the Category Name column. Clicking on the List link will show the vendors in that category.

You can view the list of vendors from the Vendor | List Vendors. This shows the Vendor List screen (seen below). Like the Vendor Category List screen, you can create a new vendor by clicking on the New icon in the toolbar. You can also delete a vendor by clicking on the trash icon in the Remove column. For editing a vendor, click on the vendor name link in the Vendor Name column.

As the vendor feature is still in a pre-mature stage, some of the links don’t behave as intended. For example, clicking the List link doesn’t show the list of vendors in that category. Instead, it shows all of the vendors. These could be fixed through editing some of the .php  files specific to this functionality.

Managing product categories

Products in a shop are categorized for easy searching and for the convenience of the customers. Therefore, when you are planning your shop, also plan how you are going to categorize the products you sell. For our store example, we will divide the products into the following categories: Books, CDs, DVDs, Accessories, Souvenir, and Coupons. Additional sub-categories will be under these categories.

Building a well planned category tree, and adding products to the appropriate categories, is one of the best practices for catalog management. In VirtueMart, you can use multiple product categories which can be nested. Before trying to add product categories, you should also prepare the images to be used for each category.

Adding product categories

You can add product categories from Products | Add Category. This shows Category Information screen:

The Category Information screen has two tabs: Category Information and Images. In the Category Information tab, configure the following options:

  • Publish: Check this box if you want to publish the category you are creating. By default, this is checked. Uncheck it if you don’t want to instantly publish it.
  • Category Name: Provide a brief name for your product category in this field. You must type a name for the category.
  • Category Description: Type a brief description for the category in this rich-text editing field. You can use rich HTML formatting here. The category description should be something that helps customers to understand what’s in that category.
  • ListOrder: You will find this field disabled while creating a new category. When you create a new category, it will be listed at the end. However, when editing the category, you can change the order in which the categories will be listed. A lower number in this field will place that category in upper position.
  • Parent: This field allows categories to be nested. If you want to make the new category a sub-category of an existing category, select that existing category from this drop-down list.
  • Show x products per row: Specify, for this category, how many products will be displayed in a row.
  • Category Browse Page: For each category, you can specify a browse page for showing particular information about the products in that category.
  • Category Flypage: For each category, you can specify a different flypage, which displays product details. For example, for the Books category, you may want to show the product details differently. Therefore, you design a flypage for that category and assign that to the Books category.

In the Images tab (seen below), you can assign an image for the product category you are creating. You can upload a full image and select the Auto Create Thumbnail option to create the thumbnail from the larger image. Otherwise you can upload a thumbnail image separately. You can also specify the URL of the image in URL field.

When all of the information is provided in both of the tabs, click the Save icon in the toolbar to create the product category. Add as many product categories as you want.

Modifying product categories

You can manage product categories from Products | List Categories. This shows Category Tree screen:

In the Category Tree screen, you see the list of all product categories you have created. This list also shows category nesting, its description, number of products in each category, whether the category is published or not, and their list order. You can also create a new category from this screen by clicking on the New icon in the toolbar. For removing multiple categories, select the categories by checking the checkbox left to the category name and then click on the Remove icon in the toolbar. For removing a single category, click on the trash icon in the Remove column.

Warning:
When you remove a product category, all products under that category will also be deleted from your store. Therefore, be careful about deleting any category. If you really need to delete any category, first move the products in that category to another category. Otherwise, you will lose all the products in that category. In fact, you don’t need to delete any category. If you don’t want to show any category in the store, you can simply unpublish it.

You can also publish or unpublish any category. For publishing or unpublishing multiple categories, select those categories by checking the checkbox left to the category name, and then click the Publish or Unpublish icon in the toolbar. For a single category, you can click on the icon in the Publish column to publish or unpublish that category. A green tick icon in the Publish column means the item is published. A red circle with a white cross inside means the category in unpublished.

When a category is unpublished (including its sub-categories), the products under the category are also not visible in the store frontend. However, some modules, such as Featured Products, Random Product, and Top Ten Products, may display the products under those unpublished categories.

You can assign the list order for categories by clicking the up or down arrow in the List Order column. There is also another way to do this. In the column next to the ListOrder, you can assign the order and click on the Save icon. Clicking the alphabetically sort icon will arrange the categories to display in alphabetical order, as shown in the following screenshot:

For editing any category, click on the category name. That will open up the same Category Information screen, which you have used for adding a category.

We have added several categories with category images. Let us see how it looks in the frontend. Let’s browse to http://localhost/bdson/ (or any other URL where you have installed the VirtueMart shop) and click on Shop from main menu. This shows the categories as shown in the screenshot below:

Let us explore more. Click on the Books category link and we see the sub-categories as the following screenshot:

Summary

In this article, we have laid the ground work to build a product catalog for our VirtueMart shop. We explored adding manufacturers, vendors, and product categories. Also we covered listing the manufacturer categories, managing vendors and categories, and modifying product categories.


Joomla! E-Commerce with VirtueMart
Joomla! E-Commerce with VirtueMart
  • Build feature-rich online stores with Joomla! 1.0/1.5 and VirtueMart 1.1.x
  • Build your own e-commerce web site from scratch by adding features step-by-step to an example e-commerce web site
  • Configure the shop, build product catalogues, configure user registration settings for VirtueMart to take orders from around the world
  • Manage customers, orders, and a variety of currencies to provide the best customer service
  • Handle shipping in all situations and deal with sales tax rules
  • Covers customization of site look and feel and localization of VirtueMart

 http://www.packtpub.com/joomla-e-commerce-with-virtuemart-1-1-x/book


About the Author

Suhreed Sarkar is an IT consultant, trainer, and technical writer. He studied Marine engineering, served on board for two years, and then started his journey into the IT world with MCSE in Windows NT 4.0 track. Later, he studied business administration and earned an MBA from the University of Dhaka. He has many BrainBench certifications on various topics including PHP4, Project Management, RDBMS Concepts, E-commerce, Web Server Administration, Internet Security, Training Development, Training Delivery and Evaluation, and Technical Writing.

He has taught courses on System Administration, Web Development, E-commerce, and MIS. He has consulted for several national and international organizations including United Nations, and helped clients build and adopt their web portals, large scale databases, and management information systems. At present, he is working on building a framework for the education sector in MIS, and promoting use of ICTsin education.

Suhreed is a renowned technical author in Bengali—having a dozen book published on subjects covering web development, LAMP, networking, and system administration. He authored Zen Cart: E-commerce Application Development, published by Packt Publishing.

When not busy with hacking some apps, blogging on his blog (http://www.suhreedsarkar.com), reading the philosophy of Bertrand Russell or the management thoughts of Peter F Drucker—he likes to spend some special moments with his family.

start writing about facebook application

recently hasin bhai start a blog about facebook application which is http://fbcookbook.ofhas.in/ . This blog basically focus on the quick solution on the common problems of facebook application. Here also write  others opens source enthusiast from Bangladesh. I am also start writing on that blog which i learn. Hopefully you will get a nice solutions from that blog.