Partial refunds in Magento - magento

How do I get a partial refund (credit memo) working in Magento? I have a customer who bought 3 items but only wants to get a refund on one of the items. Is there a way to do that?
Also, can I move that item back to the inventory (like updating the stock automatically)?

Some payment types support partial refunds. Most credit cards do not, as the gateways don't support a partial refund on the authorization. Can you please elaborate on your payment setup, including how you reconcile those payments?
Short answer to your second question is yes.

Related

Magento Product Reviews only by customer who purchased the product

I searched everywhere, but could not find the solution for this. I want to not allow others except the buyers of that product to add review for that particular product, in Magento. Please can anybody help with this.
Initally make the option "Allow Guests to Write Reivews" to "No". Now, you can make this by taking the order collection of a particular product by getProductOrderCollectionById(). From that order collection we can get the list of the customers who purchased it.
In the other hand, you can get the ID of the logged-In customer. If the Order collection list contains the logged In customer ID, then you can allow them to display the review form.

Are shopify apps limited to touch only products and post-sale?

I've read through all the API documentation and looked at the shopify app PixelPrinter on github and I'm not seeing anywhere in the doc's where I can have a customer add a custom dollar amount on checkout to go to a specific cause.
Is it possible to add a drop down field to the cart/checkout screen via my app (or instruct them how to add this) and have that selected value end up in the order? Maybe i'm thinking about this all wrong?
If you want to collect money using Shopify, you need to sell Products. A product can have variants and each one has a dollar amount. You cannot sell any product for a random amount of money. You could create a product called Donation, and assign some values to it, allowing a customer to select from some amount of money available as a variant, which you then assign to their favorite cause.

Product status changed after clicking "place order in magento

I hope someone can help me out.
I want : The product isn't taken out of stock until the payment transaction is complete.
Suppose I have one product and someone(customer) is checkout this product but before payment transaction process this product taken 'out of stock'.
I would try turning off the Magento stock management functionality (System->Configuration->Catalog->Inventory). Then you can write an extension that listens for the sales_order_invoice_save_after event and adjust stock quantities yourself. You'll also want to handle returns/credit memos using the same type of event observer code. Keep in mind, however, that if you get 2 orders for the same item and you only have 1 in stock you'll end up in a backorder scenario. As long as you're okay with that, this should work.

how can i decrease the product price on cart page?

If the user has an existing account balance, I'd like to give him the option to specify how much of his previous balance to apply to the item and sync this info with the cart and order. I have already implemented the user's account balance, both on the front and back end.
Would a coupon-like system work best, or should I try something else?
Thanks in advance.
I would let the customer decrease its cart total with the balance would be more simple / logic for the customer also (?)
What E-commerce solution do you use? Magento(?) If so there are coupon extensions that can handle this.
You could also build a simple balance system where users would see there balance in there account ( if such feature is implemented) or just mail them a message with a unique code that you save in DB + the value of balance then use this code as a coupon on checkout.
We have created quite a few e-commerce solutions up to date. Usually, when user balance is involved, then what you do is create two transactions referred to one invoice. In the first transaction specify the amount taken from balance, where as leave the other transaction for whatever checkout method you use. Upon callback from the checkout, see if the balance paid matches the invoice to mark it as paid respectfully.
Alternatively, you can use discount - decrease user balance and add "discount" to the order. It all depends on your accounting needs and preferences.
On Amazon they allow you to apply any unused balance to the existing order. Its when you checkout that they say you have $150 credit on your account, would you like to apply this to your order, it defaults to yes in a tick box.
Its quite neat and simple, it doesn't allow you to apply a part amount from what I've seen.
Then when you go to payment you pay $total - balance.
So if you have $200 total, the payment via credit card would be for the $50.

how to get id of product in shipping method

Is there anyway to get product Id of product in Shipping module, so that for different category I can charge Additional amount.
for eg: i have to two product in carts. One is in phone category and other is in computer category. for shipment I have to add $5 for phone and $25 for computer . so shipment charge should be $30 dollars in frontend. Is there anyway I can get product Id and corresponding product's category Id in Shipping method collect rates method??
Please help me, I am in a deep trouble....I hope Eg that I provided , explains what I need.
Thanks in advance.
You can get the products from quote
Mage::getSingleton('checkout/cart')->getQuote()->getAllItems();
or
Mage::getSingleton('checkout/type_onepage')->getQuote()->getAllItems();
and iterating over those items (be aware of grouped and bundled parents and so on) will give you the category(s) they might belong to and you can make your conditions against those
This is only a tenable option if products belong to only one category. Unless something has changed in the last couple of versions, there is no data for quote items that shows the category context from which they were added.
WebShopApps.com has several already-developed solutions for shipping scenarios. Depending on development contract & budget, it may be more cost-effective to use one of their well-tested extensions, e.g. Shipping Override Matrix.

Resources