Magento product custom options, show discount in cart - magento

i have a problem with my magento cms. On some of my products, i have added a custom option, with a dropdown. All the options in the dropdown gives 20% discount, and the discount is reduced from the price in the shopping cart, but i want the discount showed in the cart, like it does when a coupon is used. How can i do that?

I think you need to start using configurable products to adjust prices on options. You can easily solve this issue if you use configurable products and know some Magento programming.

Related

applying a 20% discount for students to magento store

I am trying to apply a student discount to some of my products but I can only see a way of applying a discount to the product itself, so everyone gets the discount! What I really want is somewhere for students to enter a code to get their discount, how can I achieve this please?
If you want to create a discount with coupon code, you should create a shopping cart price rule. So the students can add the products to cart and enter the coupon code on shopping cart page to get the discount for the products.
In Magento backend go to Promotions > Shopping Cart Price Rules.
Click Add New Rule on the top right.
Complete all required options. Set Coupon field to Specific Coupon and enter a coupon code on below text field. On conditions tab, configure settings for discount products that should be found in cart. On actions tab, configure setting to apply rules only for discounted product.

The Shopping cart and the product view page in magento

I know the location of the prouduct page is view.phtml and calculate price in /varien/Product.js, Abstract.php for custom option prices' labels. (I had made some modifcation for these files)
But what about the shopping cart's? i know default.phtml is about the frontend and get price from Data.php but what about the custom option values? Does it reload the price like Product.js?
I want to standardize the prices in my magento but they having different custom option price.
So for example consider i have offer a half price discount for the product so (karat tone : 18k +37.5$) in my product page but (Karat tone : 18k +70$) appear in my shopping cart (no discount)
The product price is fine in my case, only the custom option has problem
You only need to tell me where does the custom option of the shopping cart local.
None of these paths helps i presume its in the backend, inside mage or so observer file.

Magento discount coupon feature on product page

I want to have a coupon code generator on product page and whenever a customer enters that code it gets certain discount in the shopping cart.Any help would be appreciated.
You should check Catalog price rules and Shopping cart price rules. You can create conditions for particular products. Thus, the discounts will be applied only the products added to the rule.
or
How to Set-up a Discount Coupon in Magento

Magento Shopping Cart Rule not getting simple product attribute values

On a client's store we have configurable products based on a custom weight attribute (4kg, 10kg, 12.5kg etc...). I've set up a discount rule so that the discount only applies to products that are above 4Kg.
However, i realised the discount is also applied to 4Kg products. It seems that it's not pulling the attribute from the relevant simple product but from the configurable product. When trying with SKUs it was pulling the SKU of the configurable product rather than the simple product.
Has anyone been able to get around that? I'm using Magento 1.5.1
thanks

magento configurable products options

In my store i have all the products as configurable products and there is no simple products displayed on store. Everything goes fine but then i noticed one problem.
After adding a product to cart by choosing the simple product from the configurable product page, i still gets configurable products sku in the cart , also it maintains through out the session. So we cant track actually which product sell.
Is it problem with any configuration or should i do anything to catch the simple products sku instead of configurable product SKU.
Please help me
This is probably a bit late if your store is filled with configurable products, but I've found this product a lifesaver in the past:
http://www.magentocommerce.com/magento-connect/Matt+Dean/extension/596/simple-configurable-products
It basically just adds the simple product to the cart using the simple product's price as the buying price. Custom options must also be added to the simple products rather than the config products.
As a result the purchased item is the simple product SKU rather than the configurable product.

Resources