Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [catalog-rules]

The tag has no usage guidance.

0
votes
0answers
16 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 ...
1
vote
0answers
22 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 ...
1
vote
1answer
27 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).
0
votes
0answers
16 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 ...
1
vote
1answer
48 views

How to calculate product price based on custom action in Catalog Price Rules

I have added new action in catalog price rule. I have added this action through overriding below file. module-catalog-rule/Model/Rule/Action/SimpleActionOptionsProvider.php When this action is ...
1
vote
0answers
16 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.
0
votes
1answer
33 views

Magento 2.3 - event when catalog price rules are applied

I am working in a module which extends catalogrule feature In this module, we apply some changes to price calculation process. Right now, it is working when a product is saved in admin. We have ...
0
votes
1answer
91 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 ...
0
votes
1answer
22 views

Catalog Price Rule in Percentage in group Product

i want to add percentage in magneto2 catalog rule on list page show price i want to show percentage.
3
votes
1answer
110 views

Magento2 catalogrule promotions, ability to choose price or special_price?

By default catalogrule promotions are applied to price field. Changing this was one classic request in most Magento 1 projects we have managed One approach could be to apply catalogrule promotions to ...
0
votes
0answers
28 views

Call to a member function isStatic() on boolean in vendor/magento/module-eav/Model/Entity/Collection/AbstractCollection.php:483

Whenever I run bin/magento indexer:reindex I'm faced with the following error: PHP Fatal error: Uncaught Error: Call to a member function isStatic() on boolean in /var/www/public/vendor/magento/...
1
vote
1answer
49 views

Updation of product description from admin panel is not showing up in storefront in magento2?

We tried to update product description form admin-panel, but it's not reflecting in the storefront. Tried with reindexing, cache flush commands. It did not work.
5
votes
1answer
81 views

Magento 2.2.5 : How to place a check on prouduct page on product attributes

How can we can place an if condition on proudct attibutes in a frontend .phtml file In front end .phtml which is associated with our handle in custom module layout catalog_product_view , we get ...
0
votes
0answers
75 views

Private sales events issue

Trying to use the "Private Sales > Events" functionality in a 2.2.3 Enterprise (Magento Commerce), however, as soon as the event hits the deadline, the products in the targeted category can't be ...
0
votes
0answers
97 views

Magento 2.2.5 : Save Catalog Rule Conditions

I am trying to save catalog rule condtions from my custom module, below is the array I get in my controller save.php [rule] => Array ( [conditions] => Array ( ...
3
votes
1answer
116 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"&...
1
vote
1answer
38 views

Memory exhausted error coming while creating catalogrule with category

I have around 50 categories. When I save the catalogrule without selecting the categories it gets saved correctly. But when I save along with selecting the category it display memory exhausted error. ...
0
votes
1answer
71 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 ...
0
votes
1answer
68 views

Magento 2 page gets hanged during adding New Catalog Price Rule Condition

Magento 2 page gets hanged during adding New Catalog Price Rule Condition What I am trying to do is: Open Marketing->Catalog Price Rule->New Catalog Price Rule. When I add a condition like : "...
1
vote
2answers
94 views

Catalog Price Rules: "Stop Further Rules Processing' (not cart rules) - how does this work? M1

Catalog Price Rules: "Stop Further Rules Processing" (not cart rules) - how does this work? So, How does "Stop Further Rules Processing" work? does this work in product level? set a flag: stop ...
0
votes
3answers
48 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 ...
1
vote
1answer
306 views

Catalog Price Rules “Apply Rule” button not showing

We have tried to create catalog rules with category condition and it's not working. Also, we are unable to see Apply Rule button. Please help
0
votes
0answers
92 views

Studiying the tables of catalogrule_rule and catalogrule_product indexes

Which are the tables that are being used in the respective catalogrule_rule and catalogrule_product indexes? How does the process work? What does it do?
2
votes
0answers
63 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 ...
6
votes
1answer
139 views

Magento 2: What is loadPost?

Today, I have reviewed the the catalog-rule modules and found the a method named loadPost on controller during save. I don't know how it works but it saved the rule data in serialized form in ...
1
vote
1answer
38 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 ...
1
vote
1answer
504 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('...
1
vote
1answer
130 views

Staging of Catalog Price Rules

I've met with a case. A customer placed an order with products that should be on a sale, but they are bought without a discount. As it turned out, he placed the order when catalogrule_apply_all ...
0
votes
1answer
107 views

Applying Rules for a single product pro-grammatically

I have a store of around 30000 products and I want to apply rules for single product by using SKU of that Product. If i go and update the same via admin panel is reflecting but i would like to achieve ...
0
votes
2answers
61 views

Shopping cart rule

I'm using CE Magento 1.9.0.1, and i'm intending to do a promotion for a specific category. For instance, 2 products for $68.00 instead of u.p. S$90.00 I've tried to play around with the rules in ...
1
vote
2answers
3k views

How to solve Catalog Rule Product Status: REINDEX REQUIRED

How to solve Catalog Rule Product Status: REINDEX REQUIRED Hi, I have a problem in admin, One or more indexers are invalid. Make sure your Magento cron job is running. I am using cpanel in host. How ...
0
votes
1answer
187 views

multiple catalog rules with same price, calculate wrong final price

I have multiple catalog price rules on same product with same price but different priority, so i suppose that system will apply the lowest (0 is lowest) priority rule to calculate final price. Rule A:...
7
votes
1answer
2k views

Magento 2 Create Catalog Price Rule Programmatically

I have used the below code to create catalog price rule programmatically. It creates the rule,but the conditions are not saved. $catalogPriceRule = $this->_objectManager->create('Magento\...
0
votes
1answer
92 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 ...
0
votes
0answers
125 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.
0
votes
0answers
309 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 ...
0
votes
1answer
130 views

How to exclude configurable product sku from catalog rule

I am trying to exclude some list of sku's from catalog price rule, in this list simple and configurable product sku's are there. Successfully excluding for simple products but not working for ...
1
vote
1answer
920 views

How to get the toDate of a catalog rule programatically?

$discounted_price = Mage::getResourceModel('catalogrule/rule')->getRulePrice( Mage::app()->getLocale()->storeTimeStamp($store_id), Mage::app()->getStore($store_id)->getWebsiteId(...
1
vote
3answers
728 views

Which concrete job does reset catalogrule rules every day?

We have disabled catalogrule_apply_all Magento cronjob, because of multi-environment system (to simplify things: let's say we have 1 staging server & 1 production server) in one of our customer. ...
3
votes
2answers
5k views

Offering a free gift with purchase of a particular product type like (Buy X products Get Y Free)

We need to the ability to provide customers who purchase a particular product type (attribute type) a free type of gift with that product. The products offered as a free gift are associate products ...
2
votes
1answer
1k views

How to get the product collection based on catalog & cart price rules?

I am trying to get all products based on catalog price rules and cart price rules under all categories which is valid for today's date in Magento 2
2
votes
0answers
748 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 ...
3
votes
0answers
420 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). ...
1
vote
1answer
3k views

Magento redis “read error on connection”

I'm getting redis cache issue on apply the catalog rules from backend. The error is "read error on connection". Can anyone suggest the solution?
1
vote
1answer
1k views

Catalog Price Rule Not applying for all products

We are creating a catalog price rule mapping to a particular category. There are three different problems. The rule is applied only to certain products in the category and not the other products. The ...
6
votes
2answers
4k views

Check if product has catalog price rule

I need to check if a product has a catalog price rule and if it has, it needs to display a specific div. So I need something like: <?php if catalog price rule : ?> <div> Text </div>...
3
votes
1answer
463 views

Is there a way to use item weight in a Shopping Cart Price Rule condition?

I have a product that has two weights options, 1lbs and 2lbs. Is it possible to set a Shopping Cart Price Rule condition for only the 2lbs item?
2
votes
0answers
141 views

Managing Prices [closed]

Hi to everyone! I have to create a new Online Store in Magento 1.9.1.1. For the type of Products, almost all the Products will be Configurable Products with a lot of Simple Products associated. The ...
0
votes
1answer
357 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 ...
0
votes
1answer
94 views

Catalog price rules just working a short time

I´ve set up several catalog price rules. After applying them everything works fine. Some days later (it´s a testshop and I dont look after the prices every day) the discounted prices showing up in ...