magento add many additional price to cart, and user can choose one - magento

Assumption : A customer added a mobile phone worth ₹2000 to cart
Situation : Our client wants the customer to select one recharge amount for eg. ₹100(from many available recharge amount eg. ₹50, ₹100, ₹150, ₹200, ₹250) in cart, these amount can be added from admin backend. And the final price of product is ₹2100. (for each product customers have to select the recharge amount seperately)
Modifying the price would reflect in many areas like invoice, email exchange, checkout total.
In which module the price calculations are there? and whats the better way to achieve this?
Any steps to do this or a sample piece of code would be much appreciated.
Thanks.

then go for choose custom option of product...
catalog>manage product>Add product[Or Choose your existing product] >Custom option > Add Option > Input Type >Drop Down or Radio button
Add option as you want
it will solve your problem

Related

Shopify adding offers to items when checkout to change the total order price

I am looking to be able to add offers to my items in Shopify. E.G if a customer orders 3 items then the total order price would get set to something like $15 but if the customer orders like 5 items the total order price would be set to something like $20.
It would also need to work if 4 items were added to the checkout so the price would come out something like 3 items for $15 + $5.95 for the 4th item and so on for the other items.
Any help is appreciated.
Each variant in your Shopify store has a fixed price. At this time, you are unable to change what you charge for that variant item on an order-by-order basis.
The popular way around this, is to create multiple variants of the same product, with different prices for different quantities.
Example:
product: widget
variant: widget-3-or-less price: $10
variant: widget-4-to-10 price: $8
variant: widget-10-or-more price: $5
Clearly you don't want people to be able to add whichever variant they want, or else everyone would simply add the cheapest one without any regard to the required quantity. So you need some sort of backend application that will safeguard the variant selection, and automatically determine which variant should be in a customer's cart based on their desired quantity, and adjust their cart accordingly.
It's a lot of work to code from scratch. Completely possible, but, in most situations it is more viable to use a 3rd party Shopify App to handle it. In your case, the "Quantity Breaks" app by Bold Apps would work great. It has all of that functionality already made and ready to go.
https://apps.shopify.com/quantity-breaks

How to apply "20% Discount" to specific Customers of a Customer Group in Magento 1.7.2?

I have products with a normal price(let's say product A costs 20e) and a group price(lets product A costs 15e) assigned to my customer group
that I call it "Resellers".
I want to apply an extra 20% discount to specific Resellers (not to the whole Reseller group)
in the group price(meaning the 15e)
I tried to solve it by creating a "Shoping Cart Price Rule" (I called it "20% Extra Discount") it applies to the whole Customer Group
How Can I apply 20% it only to specific Resellers and not to the whole Reseller Group for the group price only?
What you are asking is not possible with Magento out of the box.
You can overcome this by generating a coupon that you can send out by e-mail to your specific customers.
or you can try to use an extension like this.
It's not free, but from the looks of it it might get you what you need.
I'm in no way associated to the extension provider. I just found it on a simple search on the web.
You need to do some coding in order to achieve above said, following is the way it should happen.
You would need to hook into an event, ex :
Changing the price in quote while adding product to cart: magento
Also in the observer created above you need to do something like
Add custom discount order in total with button
Now whats above will do :
Let us suppose you create a general rule for 20% discount but do not relate it to any customer group.
What happen is once a product is added to a cart you can check into an Observer whether you want to provide discount to this particular customer.
If yes programmatically add coupon to the quote or order else not.
Please note : there are various other type of event for ex: after moving to checkout etc, in case you do not want to use on adding of product to cart.
hope above helps.

Expresso Store - Exclude Product from Order Quantity

I'm using Expresso-Store to process product orders for a non-profit. In addition to selling a range of handmade products we are offering visitors an option to donate.
I have most of the donation stuff working just fine. I used Justin Long's advice posted here: http://iamjustinlong.com/blog/single/accepting_donations_with_expresso_store/
As suggested I have created a channel for all the products and then a separate channel which holds a single "Donation" product with a cost of $1.00. The visitor adjusts the quantity of this item which results in a donation amount of $1.00 * qty.
The specific problem I'm running into is displaying the total quantity of items in the cart when there's also a "Donation" product added. Since the donation amount is determined by quantity * $1.00 but in reality it represents a single donation, my {order_qty} is way off since it includes the many multiples of Donation products.
I have a small cart icon that is displaying a number above and next to it with the {order_qty} but I need to exclude the donation product from this calculation. How might I go about this?
This would be fairly difficult to do using the current version. The best I can suggest is not to display the {order_qty} on your checkout page (most sites only display the total anyway).
However, in saying that, the next version of Store has first-class donations support, so it will soon be possible.

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.

Programmatically apply a discount price in product list

I would like to programmatically display a discounted price on the product list/page so that each customer as a personal price shown based on a customer attribute (like gender for instance, and of course let it be assigned as new price for the user session) but I can't see a viable option via the magento catalog price rules involving customer attributes other than the assigned group.
I'm using the group to do different kind of discounts and categorization of the customers, so the path of "split the customers on the gender" (or similar) is not an option unfortunately, since I can't assign more than 1 group per customer.
At the moment I was thinking about setting up a custom observer to check for calls to the price generation and then let it consider my customer attributes when calculating the price.
Is that possible? if so, any pointers about?
Would you suggest something different?
Thanks a lot to everyone for your time.
As I was thinking before, I solved my issue creating a custom module with an observer looking for catalog_product_get_final_price calls, getting the customer details from the current customer session.
It works great, I just need to let it display the correct price in the catalog product list, but is minimal, as the price seems to be calculated correctly inside the product page and the cart

Resources