Friday, April 15, 2011

Got my Tama Iron Cobra Powerglide Twin Pedal

I was waiting for this so long. And now I am one of the owner of my favorite powerful Drum Pedal. It's the Tama Iron Cobra Powerglide Double Pedal. It's really a smooth and powerful creation of Hoshino Gaki Ltd. I am lucky to have the pedal with Hard case and a Stick Bag with Tama stick pair and pedal Accessories. I am now dreaming to have my own kit someday.Wish me luck guys.....:)

Saturday, April 2, 2011

Why you are a bad PHP programmer

People have some bad habits on doing things. We specially the programmers also have some common things that we never think to be taken care of. I am going to give you some ideas that may help you to organize your coding style more tightly and efficiently.


1. Plan before you start: Most of the time we never plan of what we are going to do or suppose to do. In this regard, we always miss an important trend called Commenting your every piece of code.

Friday, March 18, 2011

OScommerce: How to change your default currency to Taka

In some cases you may need to change your default currency in OScommerce Shopping Cart. As you know, in most of the cases the primary currency is set to dollar (USD) by default. I am going to show you how you can change the default currency to Bangladeshi Taka. Below are the steps that need to be taken:

1. From the OScommerce admin panel, add Bangladeshi Taka as a currency (if you never did this before) under the Localization->Currency menu and set it to default currency.

2. Then you have to change the english.php file under language folder. That is;
    on
    catalog/includes/languages/english.php:
    define('LANGUAGE_CURRENCY', 'BDT');

After making these changes, you will see that, at the currency option select section, the default currency is set to Bangladeshi Taka. (Simple isn't it!!!!!!!). You can change your default currency to any other currency in the same way.

Some Important measures need to be taken care of:

If you previously added product prices in any other currency value, then you have to change all those values to Bangladeshi Currency (or whatever currency you have made default) value as your default currency is set to Taka. The other currencies will be converted based on your default taka values of the products. (This is only applicable if your store has multiple currency support).



Saturday, January 15, 2011

পেমেণ্ট গেটওয়ে নিয়ে একটা ভাল কাজ শেষ করলাম

বেশ কিছুদিন ধরেই আমি বাংলাদেশের দুটি বিখ্যাত ব্যাংক এর অনলাইন পেমেন্ট গেটওয়ে নিয়ে কাজ করছিলাম। অবশেষে আমরা আমাদের অনলাইন ওয়েব সাইটের এই কাজটা শেষ করতে পেরেছি। এখন যে কেউ তাদের ভিসা চিহ্ন সম্বলিত ক্রেডিট অথবা ডেবিট কার্ডের  মাধ্যমে আমাদের অনলাইন ওয়েবসাইট থেকে যে কোন কিছু কিনতে পারেন খুবই সহজে। আমরা এই মুহূর্তে যে সকল কার্ড Accept করছি তা হল,

১. VISA Credit/Debit Card
২. Master Card
৩. DBBL Nexus Card

তাছারা আপনার যদি কোন কার্ড নাও থাকে তবুও আপনি আমাদের ওয়েবসাইট থেকে অনলাইনে পণ্য কিনতে পারবেন। সেজন্য আপনাকে Cash Payment এর মাধ্যমে অর্ডার প্লেস করতে হবে। পরবর্তীতে ডেলিভারির সময় আপনাকে পে করে দিতে হবে। বিস্তারিত জানতে এবং অনলাইনে কিনতে আজই লগিন করুনঃ http://www.shurjomukhi.com.bd/eshop