Archive for June, 2016

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.