3

When creating a sale (new order) from the ADMIN, we can assign a custom price to the item, but if we then move the item to the customer's shopping cart, the custom price gets removed and the total reverts back to the item's original price. moving an item with custom price to cart Any idea how we can pass the custom price to the customer's shopping cart? in customer's cart, the custom price dissapears

  • With 'custom Price', how is that done? Are you using a custom attribute for this? – ProxiBlue Aug 23 '13 at 22:38
  • When you create a new order in the admin, there's an option to assign a custom price to the item – Haim Aug 25 '13 at 2:32
  • Try this extension magecomp.com/magento-email-cart.html – Gaurav Jain Apr 13 '17 at 14:31
4

This is actually a feature.
On the backend the admin can do whatever he/she wants with the product prices. This is normal and a good feature.
But when adding a product to the frontend cart (from backend or frontend) the prices and rules for that website/store view are applied.
There is no way, out of the box to add a product to the customer cart using a custom price.

  • Thanks Marius. I know there is no way to do so without some modification, i was just wandering if someone else came across this issue and managed to do something about it. – Haim Mar 3 '14 at 14:20
  • @Haim. Maybe you should rephrase your question to make it clearer. – Marius Mar 3 '14 at 14:22
  • @Marius I am also looking for the same feature.My client is using Bongo payment for the international customer.So the orders can be placed from front end only.What I want that I should be able to add the product from Magento admin to the customer's cart with the reduced price.So the customer can place the order from the frontend with the reduced price. – Mukesh Jul 31 '14 at 6:11
  • @Marius: Is it possible to display both original price and custom price. – user51361 Jun 7 '17 at 7:15
0

You can with following extensions.

http://www.magentocommerce.com/magento-connect/cart2quote-4-3-customer-quote-requests.html

http://rentalbookingsoftware.com/request-quote-module-extension-2/

this is not the exact approach what you want but it will help you.

0

You should have this feature as standard in the Magento admin:

admin area picture 1

admin area picture 2

admin area picture 3

Just make sure that you press the "Update items and Quantities" button before you do anything else as this is what saves the custom price.

  • Is it possible to display both original price and custom price. – user51361 Jun 7 '17 at 7:17
0

I got also a problem with that "Magento feature"...

Thankfully you can edit file "app/code/core/Mage/Adminhtml/Model/Sales/Order/Create.php" -> Function "moveQuoteItem" around line 595

[...]
$cartItem = $cart->addProduct($product, $info);
if (is_string($cartItem)) {
  Mage::throwException($cartItem);
}

// Allow admin to set custom price from admin
$cartItem->setCustomPrice($item->getCustomPrice());
$cartItem->setOriginalCustomPrice($item->getCustomPrice());
$cartItem->getProduct()->setIsSuperMode(true);

$this->_needCollectCart = true;
$removeItem = true;
[...]

This simply copy custom price from admin quote to user quote.

In case of, you should copy the model file in app/local/Mage and not directly edit it ;)

  • editing core files is not recommended :( – David Manners Apr 24 '15 at 9:01
  • ...Read my last line "not directly edit it"... This is the only and cleanest way to do it, there is no problem after adding product into cart, you can test at any level...Or you can embed this three lines into a new module and rewrite it all....like you want.... – Calumah Apr 27 '15 at 7:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.