Questions tagged [rules]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
707 views

What are the differences between the promotion actions?

I've two location to set my cart promotion rules, what are the differences? I can set the rules in Conditions and Actions. For example: Conditions tab Actions Tab
1
vote
0answers
86 views

How can I add to user a products roles?

I created a user, and I can't add any role to him.. I want to add this roles to my user... my code is below... and when I save the user and the role, I don't see this green "V" on my role.. I just ...
0
votes
0answers
236 views

How to add Condition for apply Promotion rules while create order Programmatically in Magento?

I want to add a condition (whether to apply the promotion rule or not as per the configuration settings) before the Promotion rule applied while create order Programmatically. Can anyone suggest?
1
vote
1answer
36 views

Magento 2.1 Tax Set Up

I would like to make tax rules in my store: All foreign customers: 0% Tax All Dutch customers: a) up to 10000 Euro: 21% Tax b) from 10000 Euro: 0% Tax How should i do this and is it even possible ...
0
votes
1answer
46 views

problem VAT for muti views

My website run with the version 2.1.2 I created two views. one for switzerland and one other for France. So, i would like to get two VAT different. 8% for switzerland and 20% for France. But ...
3
votes
1answer
1k views

How to extend rules.js in magento 2?

I try to overwrite rules.js from vendor/Magento_Ui/web/js/lib/validation/rules.js in my custom theme but it dosen't work. I found this solution but it's not working for me : Magento 2 How to extend ...
1
vote
1answer
361 views

Price Rules Free Shipping problems

Is there anyway to configure Magento's Price rules so that if Free shipping is given for purchases which in total are equal to or greater than X AND if a coupon reduces X to a lesser value customer ...
0
votes
1answer
316 views

Exclude Category from Catalog Price Rules

I want to make a discount for only ONE category in Catalog Price Rules but I dont understand the Conditions tab.
3
votes
1answer
3k views

How to apply simpler password constraints for customers in magento 2

When setting up a new password, a customer may read the following message : Minimum of different classes of characters in password is 3. Classes of characters: Lower Case, Upper Case, Digits, Special ...
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 ...
1
vote
0answers
155 views

how to restore deleted Shopping Cart Price Rules in magento 1.8

I accidentally deleted shopping cart price rule "xyz". By doing so all the codes and their statues was also deleted. Can we retrieve this ?
2
votes
2answers
877 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 ...
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 ...
1
vote
1answer
179 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
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 ...
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
330 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
1answer
296 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 ...
3
votes
1answer
793 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. ...
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
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 ...
0
votes
1answer
615 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: ...
0
votes
2answers
884 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 ...
3
votes
2answers
561 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
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.
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> ...
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
1
vote
2answers
683 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
118 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 ...
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!
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
612 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 ...
0
votes
1answer
217 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
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
993 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 ...
2
votes
1answer
197 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 ...
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 ...
0
votes
1answer
322 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 ...
0
votes
1answer
347 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 ...
1
vote
0answers
93 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 ...