Questions tagged [catalog-rules]
The catalog-rules tag has no usage guidance.
86
questions
1
vote
1
answer
55
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
1
answer
1k
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
0
answers
20
views
Magento Catalog Rules not working after sometime [duplicate]
I have discount on products of particular brand(eg. nike) for logged in users. Its works fine when I click on Save and Apply but after some time it not shows discount price for products.
I have ...
1
vote
1
answer
541
views
EE 1.13.1 - Target Rule Index cause 'Integrity constraint violation'
I'm having the following exception on EE 1.13.1
Zend_Db_Statement_Exception' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'xxxxxxx' for key '...
0
votes
1
answer
160
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
1
answer
984
views
Magento 2.3.X: GraphQL does not reflect catalog rule discounts
I'm using Magento 2.3.2. I've successfully completed all cart-related tasks (create cart, add a product, select shipping& payment methods, and place the order) using GraphQL.
GraphQL seems not ...
0
votes
1
answer
1k
views
Magento 2: Catalog rule not apply on product special price
I have tried to apply Catalog Rule on product but this discount rule is not applied which product have already special price and tier price.
so is this default magento behaviour of its bug or any ...
0
votes
1
answer
41
views
Magento 2 - Do not apply catalogrule to products with a special price
I am looking for a good working solution to prevent Magento 2.4 to apply catalogrules to products that have a special price.
When trying to do it via a plugin/override on getMatchingProductIds from ...
0
votes
1
answer
72
views
Will category discounts double if items are in multiple categories?
If I set up a catalogue discount for 40% off the women's category and 40% off the sale category, will items that live in both the women's and the sale category end up at 80% off? What is the best way ...
0
votes
1
answer
1k
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
2
answers
667
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
2
answers
73
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 ...
0
votes
1
answer
197
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 ...
0
votes
1
answer
101
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 ...
0
votes
1
answer
907
views
How does Magento save catalog rule website data into relational tables?
So I'm trying to build a custom extension, which extends from Mage_Rule and is based on Mage_CatalogRule.
Everything has worked fine so far, the conditions work fine and the rule saves normally, but ...
0
votes
1
answer
47
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
0
answers
40
views
I want to validate custom catalog rule in conditions
I want to validate the custom catalog rule that I added in catalog rule conditions but I don't know the process to do the same.
I have added these 3 rules to check if product is new or not
Product is ...
0
votes
0
answers
13
views
Create Special Offers Page based on Attribute combined with Catalog Rule
As known in Magento there are multiple ways to apply special pricing from products and based on many answers I found this forum I created a module with Layer Navigation to load all products that have ...
0
votes
0
answers
25
views
Remove All Catelog Rules based on selected Payment Method?
Is their a inbuilt feature like this? If not can anyone guide me to write a module to remove all catalog rules based on payment method?
Thank you in advance :)
0
votes
0
answers
486
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 ...
0
votes
1
answer
1k
views
Magento 2 Add Condition Rule In A Custom UI Form
Im using Magento 2.3.6. I want to add condition action in my custom module admin form.
I use like below code but I have not received condition in var_dump with save action.
Please suggest me what i ...
0
votes
1
answer
618
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 ...
0
votes
0
answers
208
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 ...
0
votes
1
answer
278
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
1
answer
153
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
1
answer
194
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 : "...
0
votes
3
answers
268
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 ...
0
votes
1
answer
313
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:...
0
votes
1
answer
141
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
0
answers
218
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
0
answers
516
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
1
answer
39
views
Catalog price rules - cant add more than "category" or "attributeset"
i finally was about to add some catalog price rules.
I´ve googled many times and cant explain it to myself so far.
Why I just can choose between two options: category and attributeset?
I´ve seen ...
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.
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 ...
0
votes
1
answer
454
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
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 ...