Questions tagged [price-rules]

Questions about price rules in general. For shopping cart price rules, and catalog price rules, use the appropriate tags.

Filter by
Sorted by
Tagged with
0 votes
2 answers
2k views

How to create % discount code for ENTIRE cart subtotal?

How do I create a discount code for the ENTIRE value of a shopping cart, with multiple items in it? By default, the "percentage of product price discount" function applies a % discount ONLY to the ...
0 votes
1 answer
2k views

Magento Enterprise Catalog Price Rules (rule based on custom attribute)

We would like to give a discount on a product in the cart, IF the customer has exceeded a specific quantity of that product in the cart. The complex part is, the specific quantity is custom per ...
3 votes
2 answers
3k views

Catalog price rules work only on the catalog page, not in single product page, cart and checkout

I have Magento 1.9 I created a rule for discount 3 of my categories. Immediately the rules works perfect, I see that everywhere sould be. But after a few time (I tried, but I didn't understand how ...
8 votes
1 answer
1k views

Shopping Cart total percentage discount when specific item is in cart

I have a specific type of shopping cart rule I'd like to create. You can think of it as a 'variety discount'; the more products from different categories the customer has in their basket, the greater ...
2 votes
2 answers
2k views

How to set Tiered Pricing on Configurable Products using Price Rules

All of my googling tells me that Magento 2 no longer supports price tiers for configurable products. Only simple products can have price tiers. The results also point me to using Price Rules. How do ...
1 vote
1 answer
1k views

Shopping Cart Price Rule Not Applying

I have a magento store running 1.9.3.6 and I cannot get a shopping cart price rule to work. Essentially, I want 4 items from a particular category with 3 attributes to be discounted to £10 from full ...
0 votes
2 answers
2k views

Buy 2 different SKU together get 10% discount on both items?

If been trying this for over 2 hours now in every possible way and I cannot get it to work. I would like to have a discount of 20% when you buy two specific SKU. So for example when I order SKU 111 ...
0 votes
0 answers
19 views

Price rule for products with quantity > 0

I want to be able to conditionally apply promo rules to products only with quantity > 0. I have tried setting Use for Promo Rule Conditions in Storefront Properties to Yes for the attribute ...
2 votes
2 answers
6k views

How to get cart price rule collection in magento 2?

I want to show cart price rule on product page. How to get collection of cart price rules?
1 vote
1 answer
677 views

how to achieve Buy 2 products in some category and get any 1 product in same category for free

say for eg in same category Buy A and B then C product should be free or 2A then B should be free
0 votes
1 answer
52 views

How to create catalog price rule while initializing module?

I'm trying to create catalog rule by installing the module, but it's not working. This is my CreateRule\Setup\InstallData.php file <?php namespace Perspective\CreateRule\Setup; use Exception; use ...
0 votes
2 answers
30 views

Price Rule based on percentage in attribute in M 2.4x

Is there a way (without coding) or a plug-in with which I can define a attribute that holds a percentage per SKU which is then set to a price rule? SKU % Price Special Price 1 5 100€ ...
0 votes
1 answer
163 views

How to add a Price Rule programmatically in Magento2 backend?

I want to create a price rule, but instead of creating it from within the admin, I want to do it in either Setup/Patch/Data or do another way in backend. How can I accomplish this?
2 votes
0 answers
523 views

shopping cart rule for freeshipping not working with subtotal

Could any one please help me to set up a shopping cart rule for freeshipping in magento for all orders over AED - 1,850, USD - 500, GBP - 350, EUR - 450. I tried to set the option Subtotal equals ...
0 votes
1 answer
77 views

Set pricing on the assigned to the company

While running the Magenta Commerce edition using the B2B module, an administrator has been asked to set pricing on the assigned to the company. Which two actions are taken to accomplish this? Choose 2 ...
0 votes
0 answers
393 views

Magento 2.3.1 Is there a way to apply discount to only 2nd product added to cart?

We want to achieve or to have below discount rule. Please let us know if it is possible or it can be achieved through any plugin. There are 3 SKU's A, B, C. User added SKU A to the cart. The user will ...
0 votes
0 answers
529 views

Magento 2 Catalog Price Rules custom Action > Apply to increase the price of specific products

I am looking for a solution to get a custom Action > Apply in Catalog Price Rules custom to increase the price of specific products instead of just giving a discount As a test, we tried adjusting ...
6 votes
2 answers
19k views

How to check if shopping cart price rule applied to quote

I have a shopping cart rule setup which applies a discount if the product has a specific attribute - there's no coupon code involved. Throughout the site I just need to check whether or not that ...
0 votes
2 answers
589 views

Discount the cart price which product price - Magento 2.4.2 CE

I need to discount the line item's total price in the total when the particular product is added to the cart. How to implement can get any suggestion. Eg: Product A added to the cart at the qty of 5 ...
0 votes
1 answer
869 views

Get Catalog Price Rules for Product

Given a product in Magento, how can I get a list of all the catalog price rules that apply to it? I know that I can use getFinalPrice() to get the price after all rules were applied; however, I am ...
0 votes
0 answers
85 views

Difference between Magento 2 and Google Analytics Revenue with Cart Price Rules

I want to know if you have any idea why when I set some Cart Price Rules, for example a 30% discount, is not reflected on my Google Analytics revenue. Here is an example: X product, full price: $100 ...
1 vote
0 answers
89 views

Catalogue Price Rules not working properly for different customer groups

I am trying to apply catalogue price rule for a different customer group, It's working fine for "general" customer group but when I changed it to different customer group then the discount ...
4 votes
1 answer
366 views

Apply Cart Price Rule (Coupon) on empty cart

Is it possible to apply a Cart Price Rule using a Coupon to a customers cart when the cart is empty? The reason is the following: We’d like to apply a discount code (cart price rule) for customers ...
12 votes
3 answers
1k 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\...
3 votes
2 answers
2k views

Magento 2 | Display Catalog prices for specific groups without Tax

I'm currently experiencing a weird problem on my Magento 2.2.6 Store. While giving some customer-groups a 0% Tax Rule the prices on the catalog get still displayed with tax, even tho the "tax info ...
1 vote
0 answers
159 views

How to markup price in Magento2

I want to markup prices but Magento2 provides only a discounted option (I don't know how it is possible!). I'm trying to modify the expression in Magento\CatalogRule\Model\Indexer\ ...
1 vote
1 answer
521 views

Magento 2 Catalog Rule Exclude Category Condition

I need to create a catalog rule that applies a 10% discount on all products of certain brands and seasons that are not in a specific category. I have 3 products: price=100; brand=X; season=Y; ...
13 votes
2 answers
4k views

In Magento 2.2.4 Tier price of a simple product does not appear on a configurable product page

In Magento 2.2.4, Tier price of a simple product does not appear on a configurable product page after editing the cart. Steps to reproduce: 1)Select all option of configurable product which has a ...
2 votes
1 answer
1k views

Magento 2 get catalog rule product details in final_price.phtml

I will try keep simple and short. e.g I have set a rule in catalogrule table and I am interested in 2 fields value: simple_action: by_percent discount_amount: 40.0000 and in catalogrule_product ...
2 votes
1 answer
1k views

Magento : Catalog Price Rules "Apply Rules" Programmatically

i'm create Catalog Price Rules Programmatically it's work fine. The issue is, I need to login with admin and click button "Apply Rules" other wise discount is not apply in magento store. So I need "...
0 votes
1 answer
191 views

Magento 2 new fieldset/field in cart price rule show unwanted Currently Active Tab

This is in my custom module xml sales_rule_form.xml: <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
11 votes
3 answers
14k views

Buy X Product and Get Y another product free of same category

How to implement and apply Buy X And Get Y another product of same category free in the shopping cart price rules in magento.
2 votes
2 answers
1k views

How to get rule id with respect to customer group id

class CouponCode extends \Magento\Framework\View\Element\Template { protected $_customerSession; protected $_customerGroupCollection; public function __construct( \Magento\Customer\Model\...
1 vote
1 answer
687 views

Magento Coupon codes although deleted already, doesn't allow to create coupon with same code again

I am not sure if it's some kind of core-logic(unknown to me) or a bug maybe, but even though I have already deleted a coupon-code rule from "Shopping Cart Price Rules", when I search in the "...
1 vote
0 answers
149 views

Special Price Tax

recently i upgraded my Magento2.2.8 to Magento2.3.3 after upgrade i add product in my cart and go to cart page and see summary on cart Page the tax added 10% which is ok but the issue is if i add ...
0 votes
0 answers
150 views

Magento 2.2.4 configurable catalog price rule

I have a configurable product with 4 associated products. Each associated product has a different price (3.20€, 8.80€, 20€, 40€). I have also set a catalog price rule of 20% discount on all products ...
3 votes
1 answer
197 views

Check if block is called in phtml file

Is it possible to check in default.phtml file (app\design\frontend\MyNAMESpace\MY_THEME\Magento_Catalog\templates\product\price\amount\default.phtml) that catalog.product.related (block ) is loaded or ...
1 vote
2 answers
242 views

Magento Shopping Cart Price Rule Disable COD Charges

if a customer purchase with a specific coupon code, i wanted to disable the COD Charges COUPON CODE -> Applied -> Payment method -> COD : NO COD Charges , COUPON CODE -> Not Applied -> Payment ...
1 vote
0 answers
30 views

Custom shipping rate logic

I have created a custom shipping method. I need to implement the following logic: Shipping rate = Item weight * Item quantity * Zone rate How to get zone rates in collectRates method?
0 votes
1 answer
495 views

magento 2 custom cart price rule

I'm using Magento 2.2.5 and tried to implement a new cart price rule. I followed two very helpfull tutorials for that: https://magently.com/blog/magento-2-custom-sales-rule-condition/ https://www....
1 vote
0 answers
32 views

Configurable product on sale have an error on variation price

When I change product variation on the dropdown, the full price of that product is not loaded, it continues to show the price of the default configurable product. I do not know why this error happens ...
0 votes
2 answers
6k views

How to add Discount for a Product base on Quantity

I was tried to add Product rules but didn't worked. This is what I tried to do. Ex: I have 4 products named A,B,C,D. I want to give 50% discount for B product if someone buy more than 2 qty of B ...
0 votes
0 answers
276 views

Advanced pricing rule not working for specific user group in magento2.3

Advanced price rule not working with specific user group. I have created new user group "Salon" and created advanced price rule discount for specific product with respect to specific user group "Salon"...
2 votes
4 answers
2k views

Promo code for particular SKU

I am unable to put a conditional promo code for SKU. While I am selecting the SKU attribute it's showing "is assigned" or "not Assigned" instead of putting a particularity SKU code. Can anybody help ...
1 vote
1 answer
515 views

Magento 1 :How can I set Any Kind of Discount is not apply for Specified Product?

I have Five Prime Products in Magento 1 site And I want to set Condition for that No any Kind of Discount apply on this particular Product. Problem is Discount Coupon is Apply on this product and ...
7 votes
2 answers
1k views

Shouldn't catalog price rule calculation always happen 3 days in advance?

We have simple catalog price rule which is valid indefinitely. In our Google Shopping feed which is generated at midnight, the price rule does not apply. My theory is, that there is a small time ...
4 votes
3 answers
13k views

Apply Pricing Rules does not work

Under my Catalog Price Rules we have a daily special being applied to 2 categories. The issue we're having is at the top of the page we see: There are rules that have been changed but were not ...
1 vote
1 answer
552 views

Exclude one SKU from all price rules

I have one SKU I would like to exclude from all my price rules, so none of the price rules can be used on this specific SKU. But I have no idea how to do it. Can you please help?
0 votes
2 answers
500 views

Shopping cart price rule 2 for 1

If I use this kind of price rule in Magento (1.9.2.2) Buy X (1) get Y (1) for free (the step is 1) within a certain category - the rule only applies if customer puts 2 products with the same SKU (...
1 vote
0 answers
65 views

Multiple cart rules not being applied

I just recently updated to 2.1.16 and noticed that multiple cart rules were not being applied any longer to the quote. It is only applying one now. The cart rules are still associating correctly if i ...