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();

$item->setOptions($product->getCustomOptions())
->setProduct($product);
$item->setName($name);

$item->setDescription($product->getDescription());
$item->setOriginalCustomPrice($product->getSampleCost());
$item->setWeight($product->getSampleWeight());

$item->getProduct()->setIsSuperMode(true);
$quote->getItemsCollection()->addItem($item);
$quote->save();
$cart->save();

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.

 

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: