user3378028
user3378028

Reputation: 11

Add products to customer cart from admin panel

Is there a way to add products to customers cart from admin panel by selecting a customer. Instead of creating order for customer just create a cart from admin and ask customer to login and proceed for payment.

Upvotes: 1

Views: 3402

Answers (2)

maclonghorn
maclonghorn

Reputation: 9

Only way I know to do this is: Orders -> Create New Order -> Select customer and store if applicable. Add products to the order, then for each item, select “Move to Shopping Cart” and click Update Items and Qty’s button.

But if there’s a better way to do this, I’d also like to know.

Upvotes: 0

Dushyant Joshi
Dushyant Joshi

Reputation: 3702

To access customer's quote from the admin,You can do,

$customer = Mage::getModel('customer/customer')->load($yourId); 

$quote = Mage::getModel('sales/quote')->loadByCustomer($customer);
$quote->addProduct($product, $qty);

$quote->collectTotals()->save();

Upvotes: 1

Related Questions