We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [rules]

The tag has no usage guidance.

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

How do I programmatically load a specified sales rule in Magento 2?

In Magento 1 EE, I was able to get sales rule information from product list page with the following: $rule = Mage::getModel('salesrule/rule')->load($ruleId); $isActive = $rule->getIsActive(); $...
8
votes
2answers
6k views

Magento Add Condition Rule In A Custom Form in magento 2

I want to add condition action in custom module admin form. How can I achieve this? Refer link for Magento 1.9 Replacement of above link for Magento 2.
2
votes
0answers
121 views

Magento salesrule override not working

I want to override the SalesRule model for my custom module, but it already used in another third party module. But the problem is my override is loading always first. And the third party module's ...
1
vote
1answer
178 views

Shopping Cart Price Rule for European Union Countries

In Shopping Cart Price Rule I can set condition as "Shipping Country" "is" or "is not". I need to extend this condition to all European Union Countries. Since Magento has this configuration in ...
0
votes
1answer
63 views

Cart Promo Rule

How can i set up a cart promo rule : If a customer buy 3 items from products without special price, then he/she get a discount 15% only for items in cart which haven't special price?
0
votes
0answers
328 views

Magento 1.9. Sales rules with quantity in cart not working

Magento sales rules with the next configuration ( Quantity in cart equals or greater than 1 AND Quantity in cart equals or less than 4) not working, it's applyng for product even there are 7 ...
0
votes
2answers
1k views

need to create shopping cart price rule for buy 2 get 5% off and buy 3 get 10% off

I wanted to give an offer to the users. If they buy the same product with qty 2 then 5% off and if they buy 3 then 10% off. I tried it with shopping cart price rules but only one shopping cart price ...
2
votes
0answers
168 views

Apply Catalog Price Rules on MSRP

Is there any chance to apply Catalog Price Rules on MSRP[Manufacturer's Suggested Retail Price] by adding option By Percentage on MSRP in the catalog price rules actions
0
votes
1answer
295 views

Can't apply “sale rule” in cart without reload page

How I can determine what "sales rules" is applied after changing set of items in cart without reloading page. Tried something like this, but correct rules applied after reloading page. Magento 1.9.0.1 ...
1
vote
0answers
73 views

Creating inventory rules

I have configurable products in my product catalog that i would like to assign a rule to the quanity in stock. for example if i sell sku 2005, inventory needs to remove 1 from sku abc and 1 from sku ...
3
votes
4answers
2k views

Catalog Price Rules Contains Condition

I need to make discount oin several product wich skus contain "1513437" like sku1 = 1513437_01 sku2 = 1513437_02 etc... So i set a new rule setting condition as sku contains 1513437 but it doesn't ...
0
votes
1answer
609 views

How can you display individual discounts in the cart?

By default Magento totals up any discounts in the cart. I have a scenario where I would like to show 2 (or more) discounts that can be applied, but unfortunately they are totaled up. Example: ...
1
vote
1answer
2k views

How to get total price for product with qty before adding to cart in Magento

I have shopping cart promotion rules which gives discount for buying 4 products. This works fine on shopping cart page. I mean it applies discount and shows discounted price in TOTAL row. I want to ...
0
votes
2answers
881 views

How to get all active Tax rules

I have added tax rule in sales -> manage tax rules and associate with customer tax class. Now how can I programatically get this rules or fetch all the rules defined here ? I tried this $tax ...
1
vote
0answers
36 views

Help with magento pricing rule

Hi guys i am having trouble creating a Magento CE price rule. I have created an attribute called deals. It is a drop down box with these combinations: 2 FOR $100 (MIX N MATCH) 2 FOR $80 (MIX N ...
1
vote
1answer
66 views

20% Off one item in a category not working

I'm trying to give 20% off one item in a particular category but the rule I set up is giving 20% off more every item from that category added to the shopping cart. I have the rule set up to limit ...
0
votes
0answers
49 views

Group discount on top of tier price

I have a customer group who gets 10% off on all products. I have product with a tier price set. Default Magento uses the highest "discount". But that means my customer group in some cases gets the ...
1
vote
0answers
17 views

Price rule based on number of extra product varieties

Is it possible to make a rule that checks if there is more than one variety of a specific product in the cart, based on the custom options? It should then apply a $10 discount for each additional ...
0
votes
0answers
448 views

How to apply custom carts rules to quote in magento?

we are creating a module in which we are creating custom rules to apply on cart. Rules creation working fine. But, don't know how to apply that rules to cart/quote. Please share your views, I m ...
0
votes
0answers
97 views

Changing core functionality of Shopping Cart Price Rule

To suite my Payment terms i have considered using Shopping Cart Price Rules since they are easy way out. What the default Shopping Cart Price Rule does is that it applies a fix or percentage based ...
0
votes
1answer
39 views

Using magento price rules for custom price

I have a table with 2 fields: base_price, customer_group_id. Now I need to get price with TAX from the base price (without TAX) for current customer group. How can I do this? Thanks.
3
votes
0answers
220 views

How to create a Shopping Cart Price rule for free shipping for all items, with some exclusions?

I have a clean build of CE 1.9.1.1 and have loaded the sample data provided by Magento. I want to set up a Shopping Cart Price Rule for free shipping on all items except 2 SKUs (one simple SKU and it'...
0
votes
1answer
92 views

Restrict menu rules of custom module

I created a custom grid list to show more information about orders but I am failing to limit access to it. My adminhtml.xml is like this: <?xml version="1.0"?> <config> <menu> ...
3
votes
1answer
790 views

Programmatically create a Smart Category Rules

I was following this guide from inchoo for programmatically creating 50+ categories, but then I discovered this Enterprise feature, “Smart Category Rules”, and would like to use this approach instead. ...
1
vote
2answers
681 views

Excluding new items from a discount in Catalog Price Rules

I work in a boutique and am adding new season merchandise to the site. We have a sale running for all previous season items. When I am adding a new item [say a handbag], there is a Catalog Price ...
2
votes
1answer
763 views

Magento Rule Based Related Products

We are attempting to set up Rule Based Relations, a feature of Magento Enterprise. Specific Magento version is EE 1.13.1.0 So basically you set which products are the related products, and which ...
1
vote
0answers
17 views

ONE FREE item from Category 'X' so long as the Customer orders a MINIMUM amount [closed]

I would like to be able to give a ONE FREE item from Category 'X' so long as the Customer orders a MINIMUM amount of say $30. How to do this? Thanks!
0
votes
1answer
597 views

How to set condtion in shopping cart to apply discount only for product between two price ranges

I need a condition in magento shopping cart price rules where we can set discount for products between two price ranges . For example: I need to apply discount for product that are in between $100 ...
1
vote
2answers
2k views

Magento Shopping Cart Price Rule - Discounting the wrong amount

We have a Magento store running 1.9 Community version. We have a number of discount codes we publish in magazines, this morning we noticed however instead of giving a 10% discount it's giving a ...
0
votes
1answer
213 views

Cart Price Rules: More than two discount at the same time

I have a requirement to apply two discount at the same time on my shopping cart value.. there is any way to do this currently only one shopping cart rule is applied at a time. please give me a ...
0
votes
0answers
689 views

Magento : Shipping rules takes grand total excluding taxes for Subtotal

I use shipping rules to set up a list of different post options. I had to create two rules in order to provide free shipping for all orders within UK over £60. So I created these two rules. Rule one: ...
0
votes
1answer
186 views

Change Price Based on Bundle Options

I have been playing around with bundled products and was wondering if you guys could help with something. In this situation the base product is a phone and the bundle options are different phone plans....
0
votes
1answer
119 views

deleted coupon code keeps showing up as exisiting

im trying to add a new rule and create a coupon code named "Discount", and have used the same name in the past. the problem is: I've deleted that particular coupon a while back, but magento keeps ...
2
votes
1answer
195 views

How to make Shopping Cart Rule work with Configurable Product in Magento?

Shopping Cart Rule in Magento doesn't allow the condition custom attribute of product . I want to make rule with condition size 8 , men. I found some solutions on Internet but they don't work. Thank ...
0
votes
1answer
68 views

Problem with Shopping Cart Price Rules

I have a rule that has been working fine. If a client orders more than $500 but less than $1000, they automatically receive a 5% discount. I want to add a rule that says if they order more than $...
1
vote
1answer
173 views

Shopping cart price rules , ignore conditions? [closed]

I have Magento 1.8.1 I am really desperate with this issue i try to set a shopping cart rule but , when i put a condition , only for SKU: XXX or only when total of cart is XX , it ignore the ...
0
votes
1answer
992 views

Catalog Price Rules Dates Not Working

I'm using magento 1.9.0.1 When I make a catalog price rule to run a specific set of dates it doesn't work properly. If it is the only rule it will work. However, if there is another rule that is ...
0
votes
1answer
346 views

Adding a Category Level Condition to Target Rules

(For those with CE versions of Magento, if you can help me do this for Catalog Price Rules or Shopping Cart Price Rules that might be good enough.) I'm looking to extend the EE Target Rules module so ...
0
votes
1answer
320 views

Enterprise Target Rule - Attribute Values Must Have Store ID of 0 (zero)

A Magento EE 1.14.0.1 site I'm working on was having problem with target rules. The rule would be something very simple, like this: Products to Match: If ALL of these conditions are TRUE: Category is ...
1
vote
1answer
653 views

Custom product choices with shopping cart rules

I'm running Magento 1.8 Community edition. I have a product with one custom choice. So I add the choices and give them SKU NO INSTALLATION with SKU:TILLV000 INSTALLATION with SKU: TILLV001 SUPER ...
1
vote
0answers
92 views

Custom Conditions for Mage_Rule + Different Entity Types [closed]

I have a client that is looking for a new rule-based module that will allow them to trigger various actions when order statuses are changed. While I'm fairly confident that I can code the event ...
1
vote
1answer
84 views

Disallow invoice option when organisation in billing post array is not set to 1

I have a custom value 'organisation_type' that will be 1,2 or 3. If this is 1 I want to modify the existing code in the PurchaseOrder.php below to set canUseCheckout to true. so for instance in the ...
0
votes
2answers
1k views

Set rules for 'Payment Information' on Onepage Checkout

I'd like to add in some rules for the 'Payment Information' section of the Magento Onepage Checkout. Currently my site will show the options: Debit/Credit Card PayPal Invoice Organisation I'd like ...
2
votes
1answer
117 views

catalog price rules gap

I have a 10% discount rule applied on a specific category. Everything works fine, but costumers who buy between 0h00m and 1h00m dont get the discount which is annoying because they are expecting the ...
0
votes
1answer
50 views

Shopping cart rules

We offer an automatic discount of 10% over $300, no coupon code needed. However when we run another promotion, for instance, 15% using a coupon code, that discount is being added on to the automatic ...
2
votes
2answers
869 views

Customer Can Buy a Product Once and Can be Purchased alone [closed]

In Magento, I have some products, which can be purchased only once by a customer, and this products can be purchased alone not combined with any products. Eg. 1) If the Product X purchased by a ...
3
votes
2answers
557 views

Are shopping cart rules applied to recurring orders

My question is really the title. But here are the details we have behind the question. Shopping cart has a configured subscription item in the cart and the cart subtotal is >= $50, gets free shipping ...
1
vote
1answer
167 views

How to set admin user permission for root category?

I have three webstores. Also I hired one manager for one webstore. So, I have three managers and three root categories in admin panel. Let's name manager1, manager2, manager3 and webstore1, webstore2,...
1
vote
2answers
6k views

Create a Shopping Cart Rule - To offer 5% discount for two products or more

I am trying to create shopping cart rule: Two or more DIFFERENT products should be added to a cart Include Products only from categories "6 & 8" Apply 5% discount Any help appreciated. Thanks
2
votes
1answer
940 views

Retrieving grainular discount information for multiple qty of one item ordered

I have an problem retrieving specific discount information for an item of ordered with multiple qty. Here's the scenario. An item with a price of $100. A shopping cart price rule of $10 off that ...