Questions tagged [discount]

Indicates Questions regarding Shopping Cart discount

Filter by
Sorted by
Tagged with
13
votes
7answers
6k views

Magento 2 - discount depend on Payment Method does not work

I go to Magento 2 Admin > Marketing > Promotions > Cart Price Rules and create a new Rule: Bank Transfer Payment: Tab Rule Information: Rule Name: Bank Transfer Payment Status: Active Websites: Main ...
1
vote
1answer
867 views

Products Type : Grouped Product - How can i create discount for grouped product

I need to add discounts price for grouped products. eg : item : 1 = 10, item : 2 = 20, when Item add to cart how can i display total amount is 25(discount is 15 %), My Workout : screen shots : Its ...
2
votes
2answers
3k views

Maximum discount percent magento

How to configure the maximum discount percent in magento for the cart amount. Example: Cart value is 3,50,000 Coupon Code discount applicable : 20% Discount applicable 70,000 However I want to ...
0
votes
2answers
5k views

Is it possible to update order item price and order total after order is place

Hi want to update order item price and grand total and order details after order is placed. suppose,I have place an order with item Item A - order item price $10 Item b - order item price $20 ...
1
vote
5answers
4k views

Tax rounding and catalog price rules

On my store we have a product that costs £2.95 including tax (at current UK rate of 20%). The tax seems to calculate fine here. However, I then have a Customer Group that gets 30% off, which should ...
10
votes
1answer
10k views

sort products by newest, discount, most sold, reviews" in products list page

On the products list page, we can see sort by "Position, name, price" as in default Magento. How to sort by newest products (uploaded recently) Discount (highest discount products first) Best ...
5
votes
1answer
11k views

Magento 2 - How to add custom discount in cart programmatically?

I want to apply custom discount amount to cart programmatically. I have tried doing it in following 2 ways, none of which work: METHOD 1: I tried following the default way in which Magento2 applies ...
3
votes
2answers
5k views

Shopping cart rule : discount if 2 different sku are in cart

I'm looking to build the following Shopping Cart Rule and I have no idea how to do it. I have multiple sku available, if you add 2 different sku in your cart, you get 10% off. It can be any ...
6
votes
5answers
3k views

Magento 2: How to implement First Order Discount?

I am planning to give the discount to the customers for their first order purchase. After shipment selection, I want to show the discount in the order summary(discount is only for the first order). ...
1
vote
1answer
596 views

How can I apply Order Discount. Order Create By admin [closed]

How can I apply the discount for total order in custom order create for the customer? Note : My discount amount may vary for every order Is possible?
2
votes
1answer
154 views

Apply catalog price rule on all products of one category

i have different cataloge price rules for different products of different categories. Now i want to add a new minus discount to a category with 60 products (-5%), which i implemented successfully. ...
2
votes
1answer
2k views

1.9.0.1 shopping cart rules using stop further rule processing

Would someone please share his knowledge in setting up discount: Tried like 1000x combinations, but I cant get it to work as expected, so pls tell me if it is possible or not: I have coupon-codes ...
1
vote
1answer
3k views

Do not apply catalog price rules on a product already on sale

We are runnning Magento EE 1.13. We have a very large catalog (20 000 products) and 2000 categories. We run a lot of sales but we do not use a sale category. We simply add a special price to the ...
1
vote
2answers
782 views

How to Round off Discount price?

I copy these file from core to local folder from app/code/core/Mage/SalesRule/Model/Quote/Discount.php. **WHAT I NEED TO DO IS ROUND OFF DISCOUNT VALUE WHICH ALSO ROUND OFF TOTAL VALUE AS WELL ** I ...
1
vote
1answer
681 views

Shopping cart rule: first product 50% off (only first product) - How do I?

we are trying to set-up the following rule 50% discount on your first (any) T-shirt So when you buy 1 or 2 T-shirts you get 50% discount on the first product only. Can this be done? I managed ...
3
votes
4answers
12k views

How to get discounted price

I create a Catalog price rule in admin. Now it's applying in the front-end. But, I want to show actual price in the shopping cart. So I did the below code in abstract.php file. After that I call it in ...
3
votes
1answer
8k views

Apply discount to only 1 item in the cart via Shopping Cart Price Rules

The situation is simple – I want to offer 25% discount on one product in the cart. So if you order 5 of Product A and 3 of Product B, you should receive 25% off either one of Product A or one of ...
1
vote
1answer
47 views

How to configure if one of the Shopping Cart Price Rule applied Product A no other shopping cart apply for same Product A?

Once the shopping cart price rule applied, remaining shopping cart price rule not going to apply for same products.
8
votes
3answers
434 views

Magento 2: Use of priceModifiers

While browsing the code of magento 2.0.7's catalogrules module, i came accross a class Magento\CatalogRule\Model\Product\PriceModifier, Which was passed to Magento\Catalog\Model\Product\PriceModifier\...
6
votes
2answers
5k views

How to determine if an item has discount from catalog price rule

Any ideas how to make sure the item in the cart / quote was affected by CATALOG price rule (not shopping cart rule)? There is a similar question without an answer: Do not apply catalog price rules ...
4
votes
3answers
4k views

Discount for category and its subcategories

For example I have: Mobile -> Apple Mobile -> HTC Mobile -> Nokia I want to give 5% discount for all product in these categories. Is there any way to do it without creating a catalog price ...
2
votes
1answer
492 views

Magento 2 : How to Set custom Discount from controller?

I am developing module which set discount to total , Whenever customer will press Get Discount. I can able to reduce Subtotal and GrandTotal in customer quote, Also my quote table is getting updated. ...
1
vote
0answers
87 views

I want to show next best volume discount to customer for total amount [closed]

i have two volume discount for total amount in cart If total amount is greater then 50 and less then 100 If total amount is greater then 101 and less then 200 see images For example if i have $50 ...
1
vote
1answer
861 views

How to get Shopping Cart Discounts in Magento?

Having multiple promotions (or discounts) applied for shopping carts, how to get such promotions so I can display them in view? Update: I want to get each. NOT the total. This is so I can display the ...
1
vote
3answers
5k views

How to create sales rule programmatically in Magento2

I am migrating code from Magento1 to Magento2 and need to create a group of sales rules programatically. I need to do this because it's based on the price of the item, plus $1 if they purchase two (...
0
votes
1answer
433 views

Countdown Timer

I can't get the following code to work on the frontend. It displays correctly but will not countdown as I would like. I have tried changing the date but nothing happens. Could someone point me in the ...
0
votes
1answer
866 views

How to add condition in cart price rule?

Function to generate cart price rule public function generateCoupon($value='') { $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $coupon['name'] = 'PROMO1'; $coupon['desc']...
3
votes
1answer
2k views

Discount calculcation bug in 1.9.0.1

I upgraded recently from 1.7 to 1.9.0.1 and I am wondering if this is a bug or if I just missed some new configuration, I am not using tax classes btw. When creating a shopping cart price rule, (e.g. ...
2
votes
3answers
169 views

Magento2 How to Discount Description add on Checkout order summary

I Want to add Coupon Description in Order Summary I have to Find the file here app/design/frontend/[VendorName]/[theme]/Magento_SalesRule/web/template/cart/totals/discount.html <!-- ko if: ...
2
votes
3answers
112 views

Magento 2 New user give the discount

In Magento 2.2.6, How to give 5% discount for a newly registered customer ? Thanks in advanced!
1
vote
1answer
916 views

Magento Database: Negative values in sales_flat_order.discount_amount?

Looking into my Magento database inside the sales_flat_order table, I find - since the day I updated from the 1.4 to the 1.5 version - the values of discount_amount being negative (e.g. -5 EUR for a 5 ...
1
vote
2answers
48 views

Discount on all products in one category

I want to have a 15% discount on all products in my "last chance" category. How do I do that? I tried making a rule, but nothing happens in the store. Thanks :-)
1
vote
0answers
72 views

grant total not reduced after applay cupon code in magento 1.9

i have applayed a cupon code which have 100 rs rduction after apply this code i can see the discont as 100 but the grant total have no change please refer the picture
0
votes
1answer
1k views

how to get shopping cart price rule items in catalog page

I have configured the shopping cart price rule in Magento. Is it possible to fetch category IDs, product Ids that I configure in shopping cart price rule on product catalog page ? If the product is ...
0
votes
0answers
249 views

How to add custom extra discount(%) to order or override default coupon code when placed from back end only?

Task: Give discount(%) without coupon code to user when create order from admin . it override default coupon code what I was trying provide discount(%) to user when create order from admin ...
0
votes
0answers
116 views

Discount amount is not showing on cart page

In cart page (mysite.com/checkout/cart), there is a section that shows as Summary. In this section, usually displayed as, a section to Estimate Shipping and Tax and after that, sections for Subtotal ...
0
votes
1answer
451 views

Get downloadable product link details added in cart

I have ques. I want to get downloadable products link added in cart.. Mean I want total links added in cart I have used below code.. I am developing functionality to auto discount if downloadable ...