Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [catalog-rules]

The tag has no usage guidance.

30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
127 views

Order of indexers

On a Magento 2.2.8 store, we have a Catalog Price Rule for customer-group offers. The indexers involved are set to update on schedule which is running successfully and not producing any errors. Most ...
Jamie's user avatar
  • 300
3 votes
1 answer
567 views

Magento 2 Catalog Rule Condtions

I am trying to implement Magento 2 catalog rule condtions in a custom module Ui Component form. Below is the field set: <htmlContent name="block_promo_catalog_edit_tab_conditions" sortOrder="20"&...
Verdu's user avatar
  • 1,730
3 votes
0 answers
523 views

Creating custom rules

I am trying to implement the following: The idea is to be able to filter products by the conditions which allow only product attributes. (I do not want the additional columns in the grid instead). ...
pro100tom's user avatar
  • 145
2 votes
2 answers
2k views

Get product applied price rule by product id in magento 2

Simply I want to get the rule_id or catalog rule details that is applied to a product in product details page and product listing page. I have checked with this function _getRulesFromProduct() from ...
Akhil Anand's user avatar
2 votes
1 answer
42 views

Magento catalog price rule

How to get product based on conditions on catalog rule in magento2? By product model products are received but how to apply filter to get only those product based on conditions. Any help will be ...
Aditya Singh's user avatar
2 votes
0 answers
67 views

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

I am working on extension in which I have add catalog rules conditions in my UI form. I am storing as serialized condition. It saves perfectly. However, I am getting empty field during edit form.
user75562's user avatar
2 votes
0 answers
123 views

Are catalog rules completely broken in Magento 1 with flat tables enabled? Or, how can these SQL queries ever work as intended?

I've discovered that some of the SQL queries Magento is using to generate catalogrule discounts are completely nonsensical, leading to products receiving discounts even though they should not. This ...
Eric Seastrand's user avatar
2 votes
0 answers
796 views

get final price of configurable super product with catalog rules applied

I'll try to explain it in details as it's quite tricky. Let's say I have configurable product X with price 10, and color variations red and green with fixed price +5 and -5. So the final price for ...
zto zto's user avatar
  • 120
1 vote
1 answer
461 views

Magento 2 override Catalog Price Rules to be able to increase the price

We are trying to extend the Catalog Price Rules to make it possible to increase the price of a small group of products. We have already tried to adjust the calculation in the file below, but this has ...
Timo's user avatar
  • 31
1 vote
0 answers
208 views

To Show catalog price rule id applied on products in order API response

I have created a custom field named catalog_price_rule_id in sales_order_item. Now i need to get the catalog price rule applied on that orderitem; then i need to store that into the custom field and ...
Pankaj Sharma's user avatar
1 vote
0 answers
63 views

Create a Programmatic attribute that detects product if it is Still On Sale or New

Scenario wanted: Lets say you have multiple products that is on sale till a specific date each product with its own time and you want to create a promotion condition rule for all these products under ...
moh moh's user avatar
  • 11
1 vote
0 answers
490 views

Add condition rule to collection product in Magento 2

I want to add condition rule in the collection product. How to do that. Hope someone help me.[![ public function getLoadedProductCollection() { $this->_limit = (int) $this->getWidgetCfg(...
MichaelHa's user avatar
  • 661
1 vote
2 answers
2k views

Magento 2 how to check serialized conditions against product in frontend?

I have created an admin form which contains name and catalog price rule conditions. I have saved these values in a custom table. The conditions are saved as serialized. Now I want to check these ...
Jancy Abraham's user avatar
1 vote
0 answers
384 views

Magento 2.3.0 How to display only product attribute in custom rule condition into the custom admin form using the ui component

I have implement custom condition Rule to my custom module Take refrance from this link and it is working fine. But it is display also other rule like cart attribute, customer attribute, other ...
Chirag Patel's user avatar
  • 6,136
1 vote
1 answer
226 views

Magento2 Apply catalogrule on final price instead original price

I have create catalog rule for all products by 50% if product has original price 100 special(final) price 80 then after apply catalog rule it reduce by 50(100%50). I want it 40(80%50).
Ketan Borada's user avatar
  • 2,613
1 vote
0 answers
111 views

Catalog Rule Product indexer process unknown error

I am getting the following error : while running : bin/magento indexer:reindex Catalog Rule Product indexer process unknown error: Table status for `catalogrule_rule_cl` is incorrect. Can`t fetch ...
Sarasranglt's user avatar
1 vote
1 answer
56 views

How to bring all customer attributes on CatalogRule?

I have requirement to show all customer attributes on Catalog price Rule Form. You can see attached image for more clarity. How i can get customer attribute collection and how i can display in ...
Pramod Kharade's user avatar
0 votes
0 answers
542 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 ...
Timo's user avatar
  • 31
0 votes
1 answer
692 views

Add customer attribute to catalog price rules in Magento 2

I need to extend the functionality of Magento Catalog price rules. I want to be possible to have a rule or a field to have the possibility to select the country where the rule should apply. So ...
Dungeon42's user avatar
0 votes
0 answers
213 views

How to implement "Uses Per Customer" in Catalog Rules?

How can I implement "Uses Per Customer" functionality (Same Like Cart Price Rules) in Catalog Rules? Say for example. If I enter 3 in Uses Per Customers. Catalog Price rule has to apply only 3 times ...
Sainadh Mannem's user avatar
0 votes
1 answer
283 views

Not able to apply free shipping method when selecting custom customer group

I have created a new custom customer group, then i created a new cart rule to apply free shipping & assign that rule to new custom customer group. When i go to checkout page i am not getting Free ...
Arjun's user avatar
  • 3,586
0 votes
1 answer
154 views

It is possible to run the reindex of a single catalog price rule in a module controller for example?

The idea behind it, is some how keep a track of what's catalog rules are indexed. If i can run the index of a single rule in a module i can then save some logs and also do them in blocks of 10 for ...
Gianni Di Falco's user avatar
0 votes
3 answers
271 views

Magento 1.9 : Error getting collection Model of Catalogrule

I try to get a collection of Mage::getModel('catalogrule/rule') but when I do Mage::getModel('catalogrule/rule')->getCollection() I have an error because can't call a function of boolean. I do a ...
str_lml's user avatar
  • 105
0 votes
1 answer
143 views

Magento 1.9.1.0 catalog price rules and new product issue

A friend asked me to help him to understand an issue on his magento. His catalog price rules doesn't apply anymore after two days. New product doesn't take care of end date. I found a module on ...
user avatar
0 votes
0 answers
220 views

Products discount is expiring before date of expiration date in magento

i have set 10% discount to all products in magento from 26-10-2016 to 12-11-2016 but its expiring before 12-11-2016. but when i am reseting it from admin its again showing.
Sarvesh Tiwari's user avatar
0 votes
0 answers
528 views

Magento 2: catalog rule takes too long to save

I have created a command in magento 2 to insert multiple catalogue rules in the catalogerule table, But in the afterSave method of the Model there is a method that loads whole collection of the ...
Taral Patoliya's user avatar
0 votes
1 answer
22 views

How do set rules for product price?

I need to set rules for product prices. Rules will be applied to different customer groups.
Marta's user avatar
  • 1
0 votes
3 answers
67 views

Magento2 - Email Marketing Question

We are launching a new e-commerce store soon. When a customer placed an order for first time then we want to give a unique coupon code to customer. In Magento we have option for cart rules and ...
Dinesh's user avatar
  • 552
0 votes
1 answer
456 views

Widget of products with catalog rule

I've used the following function to retrieve the products to display products on a widget filtered by catalog rules. The products listed in view page shows that rules are applied. But the function ...
sugandhi's user avatar
0 votes
2 answers
2k views

Magento 2 custom catalog condition rule not saving in custom module

I have added custom catalog conditions to my custom module admin form. a condition drop-down is displayed fine and in post data, condition value is also getting. but I am unable to save condition ...
Chirag Patel's user avatar
  • 6,136