Magento Sample Request Or Magento Sample Order

Now a day online selling very challenging for seller because of high competitor. customer need to trust more on seller then seller can sell good.

when a customer need to buy high price product. like tiles item. when someone decide to my more than $10000 for a products. customer always think to buy a sample item before real order.

in magento a programmer can do sample selling extension easily by rewriting custom price.

$product = Mage::getModel(‘catalog/product’)->load($this->getRequest()->getPost(‘product’));

$name = $product->getName();




like this way it will easy for sample order function.

Recently Mage-People  Published a magento Sample Order Extension that is really nice.

I used for one my client. and it is working very good.


Why Custom Product Designer by Mage-people is Best ?

Today I have reviewed a very new Magento extension Custom Product Designer.  by Mage-people and I am very much exited about it, It has some feature that no one will find to any others existing website. logo

I tested fully extension and found very good things about this extension thats why i am trying  if it will help someone before buying.

 All Feature List

  •  Supports any type of product like Simple product, configurable product etc
  • Admin can download separate parts of design like Text design, Images that can easily    used for     printing without designers help
  • Works also on iPad, iPhone, iPod, It is fully Responsive
  • Very easy and one-click installation, Just need to copy and paste to root directory  where magento installed
  • Supports multi-color products
  • Advanced pricing integration, admin can define price for Art image and text adding price
  • Custom product options and configurable products integration
  • Add your own fonts
  • Customer can upload own Art Design or logo design. and admin can add gallery images from admin panel
  • Clear user interface
  • Text Design – Customer can design text on design, change font, size etc
  • Single Page Design.
  • Only HTML5 + CSS3 +JS, Design tool without flash
  • No monthly fee, fully integrated
  • No monthly fees, 100% customizable design based on Magento templates.
  • Magento version compatible:Magento Community: 1.4.x – 1.8.x and Magento Enterprise: all versions
  • Administrator can set price for each product custom option
  • The price can change at every option, eg Color, Size, Material, Product Type, ..etc
  • Administrator can create library’s artworks
  • Customer can add text and transform
  • Customer can upload artworks or use artwork libraries
  • No required special PHP module
  • Customer’s design will be saved and customer can reorder again from account page
  • Admin Can download separate parts of design for printing.
  • 100% money back guarantee if extension does not work 


All these feature they have but I am pointing some important feature specially.
Same page design.  Customer can design product like T-shirt, Mug, Any other product directly in product details page and finish buying in single step. but this is not implemented by other seller. Normally other seller did multiple step like saving then buying.
Also i like very simplicity of this extension. If you look their product adding page. Only price need to add for Artwork and text and enabling. this steps is very complex with other extension.
Another very important i should mention. They are allowing admin to download full design with separate parts for printing. so no need any extra time cost for admin to redesign by photoshop
Here I am giving some more feature details that they mentioned

Product Design Page

Product Design page is very simple to use, easy to Understand. Separate tabs for Artwork, Text adding and Custom Images uploading.

Artwork Tab: Customer can easily add artwork and change position easily by drag and drop function, Can resize artwork. only single click function. Customer can reset design and delete any part of design



Text Add Tab: anyone can add Custom Text to design and style text by changing font, color, Effect, font-size, more easy than normal text editor. Can easily change text position by Drag and drop function on design.

Image Upload Tab: From this section customer can upload any kind of custom Artwork or logo by himself to make design more unique. Very easy to upload and place custom artwork or logo to design.



Price Change:  Admin Can setup price for each Artwork and Text for Design. This price will be added with original price during design. as price will be change dynamically so customer will not be confused about product price.

product-page setup
Customer account page..customer Account page
I am happy after reviewing this extension. waiting to get sell summery. have a good wishes for them

How To Sync Two Apache Web Servers in centos

To implement sync lets consider two server.
Main Server
IP Address:
Backup Server
IP Address:

Step 1: Install Rsync Tool
At first we need to install Rsync on both the server with the help of following command.
[root@]# yum install rsync
[root@]# yum install rsync

Step 2: Create a User to run Rsync
We can setup rsync with root user, but for security reasons, you can create an unprivileged user on main webserver i.e to run rsync.

[root@]# useradd shamim
[root@]# passwd shamim

Here I have created a user “shamim” and assigned a password(shamim) to user.

Step 3: Test Rsync Setup
It’s time to test your rsync setup on your backup server (i.e. and to do so, please type following command.

[root@]# rsync -avzhe ssh shamim@ /var/www

sample output should be like


shamim@'s password:

receiving incremental file list

sent 128 bytes received 32.67K bytes 5.96K bytes/sec
total size is 12.78M speedup is 389.70


You can see that your rsync is now working absolutely fine and syncing data. I have used “/var/www” to transfer; you can change the folder location according to your needs

Step 4: Automate Sync with SSH Passwordless Login
First, we’ll generate a public and private key with following commands on backups server (i.e.


[root@]# ssh-keygen -t rsa -b 2048


When you enter this command, please don’t provide passphrase and click enter for Empty passphrase so that rsync cron will not need any password for syncing data.

Sample Output
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/
The key fingerprint is:
9a:33:a9:5d:f4:e1:41:26:57:d0:9a:68:5b:37:9c:23 root@
The key's randomart image is:
+--[ RSA 2048]----+
| .o. |
| .. |
| ..++ . |
| o=E * |
| .Sooo o |
| =.o o |
| * . o |
| o + |
| . . |

Now, our Public and Private key has been generated and we will have to share it with main server so that main web server will recognize this backup machine and will allow it to login without asking any password while syncing data


[root@]# ssh-copy-id -i /root/.ssh/ root@


Now try logging into the machine, with “ssh ‘root@‘”, and check in .ssh/authorized_keys.


[root@]# ssh root@
Now, we are done with sharing keys

Step 5: Schedule Cron To Automate Sync
Let’s setup a cron for this. To setup a cron, please open crontab file with the following command.
[root@ ~]# crontab –e

It will open up /etc/crontab file to edit with your default editor. Here In this example, I am writing a cron to run it every 2 minutes to sync the data.

*/2 * * * * rsync -avzhe ssh root@ /var/www/

The above cron and rsync command simply syncing “/var/www/” from the main web server to a backup server in every 2 minutes. You can change the time and folder location configuration according to your needs.

Display Attribute label – and Attribute value in magento

To display attribute label:
and attribute value:
getAttributeText('my_attribute'); ?>

for more info visit mage-people

Saving problem for Large Number of Attribute Option Labels in Magento

I had a problem (POST truncated) today and it comes from a too little POST limit. (or the standard PHP post_max_size)

i solved it with changing php.ini


you can try if you have same problem.

for more info visit mage-people

How to Translate Text in Magento

1. Add the following code inside your custom module config.xml


2. Put Your Translation.csv inside app/locale/[your package]/

3. Use following code to translate it in frontend .

echo Mage::helper('modulename')->__('text to translate');

4. This is how your csv file should be .

“test to be translate”,”translating text”

and so on.


for more info visit mage-people

Serching Product by Attribute from Product page.

Sometimes people to want to  display product attribute in product page. then they want to link this attribute. if someone click on that link then all product of that attribute will display as a search result. for example a movie disc selling site. or a book shop. has many artist list or actor list.  then you can easily filter them by attribute artist and actor. and this code will help you.

$catingArtist = $_product->getArtist();

<?php if(!empty($catingArtist)) {
$catingArtistArr = explode(',',$catingArtist);
$tagUrl = $this->getUrl('catalogsearch/advanced/result');
$tagUrl .='?artist=';

<?php if(count($catingArtistArr)>0) : ?>
<span style="padding:0px 2px 0px 2px;"><?php  echo $this->__('Cast:-') ?></span>
<?php foreach($catingArtistArr as $val) : ?>
<a href="<?php echo $tagUrl.$val?>" title="<?php echo $val; ?>" name="<?php echo $val; ?>" style="padding:0px 3px 0px 3px;"><?php echo $val; ?> </a>
<p title="<?php echo $val; ?>" name="<?php echo $val; ?>" style="padding:0px 3px 0px 3px;"><?php echo $val; ?> </p><span style="padding:0px 2px 0px 2px;"><?php echo $this->__('(Actor)') ?></span>
<?php endforeach; ?>
<?php endif; ?>

<?php } ?>

for more info visit mage-people


Get every new post delivered to your Inbox.