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
0answers
12 views

Magento2 : How to get applied Catalog Price Rule programatically on product listing page

I want to get the applied catalog price rule on product list page for each product.
1
vote
0answers
19 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
1answer
27 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....
0
votes
0answers
9 views

Find product_id with data of a specific magento table

catalog_product_super_attribute_pricing I need to find the product_id using data from a specific table. I need to change the way the price of the product is calculated and for that to act directly on ...
1
vote
0answers
20 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
0answers
31 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"...
0
votes
0answers
13 views

Which file and function return final product price including tax and price rules?

I want to change final product price after tax and price rules included . which file and function returns final price with tax and price rules included ?
0
votes
1answer
7 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 ...
0
votes
0answers
17 views

Limit catalog price rules by cost of the product on magento 2.3

I searched and didn't find an answer. My client will import the product price and the cost to magento. Cost is described as the price of making the product. For us it will be also the minimum price to ...
1
vote
0answers
24 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 ...
2
votes
1answer
135 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. ...
0
votes
0answers
101 views

product is showing free shipping eventhough the coupon is not enter

I have set up a cart price rule: if coupon "freeshipping" is enter, and any of the product A/B/C is in the cart, the shipping will be free, plus 5% discount. The issue i'm having now is that without ...
0
votes
2answers
82 views

Create Coupon/Price rule for first 10 Customers .(Magento 2)

I want to create a price rule in magento 2, and want that to be active only for the first 10 Customers . Is it possible to achieve that ? Thank You !
0
votes
0answers
8 views

Pricerule not working when sale item is in it

I wanna make a price rule where my sale items do not get the discount when it's in the basket. But now my whole discount code isn't working when a sale item is in it. What did I do wrong? Or do I ...
3
votes
1answer
28 views

Magento 2: Can't select “categories” on cart pricerule

I have try to make a price rule in Magento 2. But I can't see the option "categories". Someone know where I can activate it? Or did i do something wrong?
2
votes
2answers
618 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
2answers
265 views

How to apply dependent price combination in product custom options dependency with Main price in Magento 2

- Product is eligible for purchase and lease - purchase price is 240 - lease price is 24 per month (240 for 240 months) 1. How to make price dependent with this custom option with main price ex. ...
1
vote
1answer
33 views

Skip price rules for API-created orders

Our price rules are used for discounts. Some of our orders come in via the API. Our API orders must not have any discount applied. How can I achieve this? At the moment, price rules are applied to ...
3
votes
0answers
100 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 ...
1
vote
1answer
16 views

Service pricing on magento [closed]

We are considering using magento to create our ecommerce solution for selling mobile repair services. Here, in a typical scenario, a repair job is created by the customer and damaged mobile is sent to ...
3
votes
1answer
377 views

Magento 2: How to validate the cart rules?

I need to develop a function in the cart rules. Basically it is to check the amount that is added in the cart and apply a fixed price to the product. I have in mind how to apply the logic. But I ...
2
votes
1answer
176 views

Magento 2: Is possible to apply a fixed price in cart price rule?

I need to indicate a fixed price when the product number in the car is X. Example: When the total is equals o greather than 36 and sku is D0B33200 with price 45€ Now I need apply a fixed price in ...
3
votes
1answer
437 views

How can you set the customer group pricing for specific logged in ids as 50 percent discount for all products in magento2?

How can we enable the customer group pricing for a specific set of the customers and even reflect that price while adding items to cart as well from Magento storefront screen?
2
votes
2answers
211 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?
12
votes
1answer
570 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 ...
1
vote
1answer
638 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 ...
1
vote
3answers
1k views

Magento 2: delete all cart price rules (promotions) programmatically

I want to delete all the price rules programmatically. How can I achieve this one?
1
vote
0answers
26 views

Price Rules Magento 2 show discount only if price difference is 5%

I have a magento 2 store but all the prices are populated from a content management system. In this system, I have two prices retail ( manufacturer) that cannot be changed and my price. I want the ...
0
votes
1answer
456 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 ...
2
votes
0answers
25 views

Condition rules in Promotion

I wanted to add BOGO (Buy one Get One Free) promotion on my website. I have Successfully added it but it is applied on same product only. Actually my requirement is like if user purchases 2 products ...
0
votes
1answer
45 views

Productlist with all possible configurations

We are looking for a way to get a list with all possible product configurations per product and its associated price, including delivery. If the same product has a different price or options it has to ...
0
votes
0answers
288 views

Get catalog rule by customer group id Magento 2

I would like to get the catalog rule using a customer group id. I cant seem to find a method for it. How would I go on about doing this in Magento 2?
0
votes
2answers
2k 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 ...
1
vote
0answers
228 views

Magento 1.9 Shopping Cart Price Rule apply issue

I'm struggling with an issue regarding the Shopping Cart Price Rules. I've created a rule with a single coupon and the only condition is Subtotal is equal or greater than 65,50. When I'm using this ...
0
votes
1answer
38 views

1.9 - Shopping Cart Price Rule - Buy any x + y + z Reduce total price to $399

Could anyone please help me to setup up below price rule? Apply if any category1 + category2 + category3 + category4 in cart. Reduce total price to $399. Quick reply will be much appreciated.
4
votes
0answers
777 views

Magento 2: Sales rules in custom ui form is empty on editing

I am working on extension in which i have add sales rules conditions in my ui form. I am storing as serialised condition. it saves perfectly. However, i am getting empty field during edit form. This ...
3
votes
0answers
66 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 ...
0
votes
1answer
147 views

Shopping Cart Price Rule for items from two categories

I was recently requested to create a Price rule which applies a discount of 15% to shopping cart containing items from two different categories. I've configured the Conditions as below: However I'm ...
1
vote
0answers
266 views

Magento 1.9.x Discounts deducted from Excl. Tax Price even when Including Tax is set in Apply Discount On Prices Settings

We struggle to make our Discount/Tax calculation working alright - we tried all possible settings and nothing seems to work as we need (and what we assume as usual need). We need: Discount to be ...
0
votes
1answer
221 views

Magento 1.9.x: Pricing rule is not working for sub products of a configurable product

I have a configurable product and associated sub products. When I am applying rule for all it is working properly but if I apply rule only for specific category (which is assigned to sub product of ...
1
vote
0answers
318 views

How to add Price / Base Unit of Measure

Could you help me to add the "Base Unit of Measure" after the price, like this "$2.35 / YDS".
0
votes
2answers
1k views

magento set “catalog price rules” *only* if special price was not set

I am looking at magento "catalog price rules" and although I have added the special_price to filter conditions: I dont think I can do the following question: How can I only apply the "catalog price ...
0
votes
2answers
323 views

Promorule “Buy 3 Pay 2” does not apply

I have to make some promo when you buy 3 items discount 1, and only pay 2, but when i try to buy the discount does not apply, this is my screenshot from the promo.
0
votes
1answer
85 views

Cart Price Rules Help

I am trying to setup a cart price rule but I can't seem to get it working. I am on Magento CE 2.1.5 I offer 4 price categories of products (elite, premium,standard etc...). If you buy two of the same ...
1
vote
1answer
622 views

Get discount amount for customer group in magento

I have customer group id. I need to get sales rule for this customer group. And after that I want to get discount amount in % for this sales rule; $customer_from_session = Mage::getSingleton('...
0
votes
1answer
382 views

Magento 2: Add cart price rule for unique customer

I'd need to create price rules for an unique customer, like: For certain products: General: 0% discount Retailer: 5% discount Wholesale: 10% discount Customer1: 20% discount Customer2: 22% discount ...
0
votes
1answer
37 views

Additional Pricing Fee for Split Carts

Hello to all the geniuses out there! After days of research and trials I find I am still looking for a resolution to my pricing problems on a large wholesale site. We sell 1000s of products that come ...
0
votes
1answer
400 views

how to create order programmatically without applying price rules

How to skip applying price rules while creating an order programmatically? Code looks like this (shortened) /** @var $quote Mage_Sales_Model_Quote */ $quote = Mage::getModel('sales/quote') -...
0
votes
2answers
104 views

Is it possible to automatically set all products with a price = 0 to be out of stock?

We are trying to figure out if there is a Magento setting or another way of making sure that any products on our e-commerce site that are uploaded with a price of 0 are set to out of stock, so then ...
2
votes
0answers
398 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 "...