Chức năng bundle sale của Magento ?

Thảo luận trong 'Các lỗi thường gặp' bắt đầu bởi westlifelove, 6 Tháng tư 2010.

  1. westlifelove

    westlifelove New Member

    Mọi người có ai biết về chức năng này không? tạo vài sản phẩm bundle sales ví dụ ?
    Mong được mọi người giúp đỡ!

    Bài viết khác cùng chuyên mục:

  2. admin

    admin Mai Văn Hải Staff Member

    Đây chính là phần Promotion (chương trình giảm giá) mà trong admin của Magento đang có. Đây là phần rất hay.

    Promotion giúp ta config các chương trình khuyến mại, giám giả cho khách tham gia mua sản phẩm trên hệ thống magento.

    Giả sử: Khách mua 1 tặng 2, mua tổng tiền 2tr thì giảm 10%, mua sản phẩm thứ x tặng sản phẩm y,v.v...

    hiện tại đã có bài viết về việc này.
  3. admin

    admin Mai Văn Hải Staff Member

    Do bận chút việc H ko dịch ra tiếng việt được, tuy nhiên bài viết tiếng anh này khá rõ ràng và toàn làm theo hướng dẫn click - click thôi:

    Catalog Price Rules

    There are two types of price rules in Magento: Catalog Price Rules and Shopping Cart Price Rules. Catalog Price Rules are implemented into product price before they are added to the cart, while Shopping Cart Price Rules are applied in the shopping cart.

    - Great For Storewide Sales
    - Customer Group-Targeted Sale

    To create a new rule, navigate to Promotions > Catalog Price Rules and select Add New Rule.
    Enter a Rule Name and Description for the price rule.
    Enable it by selecting Active from the Status dropdown.
    Select the Customer Groups to which you want the rule to apply. There is more information about Customer Groups in Chapter 6: Customers.
    Define the date range for the promotion to be in effect. If you leave the date range empty the rule will be enabled as soon as it is created.
    Set the promotion’s priority. This is useful if you have two catalog price rules enabled at once. This priority tells Magento in which order to process the rules. This is important because it may affect the amount of the discount. For example, you have two rules: “10% off T-shirts” and “$1 off all Blue items”. If you prioritize the 10% rule first, a $20 Blue T-shirt would first receive a 10% discount (of $2) and then a $1 discount. However, if you prioritize the $1 rule first, a $20 blue T-shirt would first receive a $1 discount and then a 10% discount (of $1.90). The priority affects the total discount offered.


    Once you have set up the information for the price rule you can set the Rule’s Conditions.
    If you’re creating a rule which requires two conditions (for example, the product must be manufactured by Sony AND the price must be over $100), select “If ALL of these Conditions are TRUE”. If you wanted the discount to take effect if the product is manufactured by Sony OR if the product is over $100, you would select “If ANY of these conditions are TRUE.” Additionally, you can change TRUE to FALSE, which will make the rule apply to the exact opposite situation. For example, “If ALL of these conditions are FALSE” would mean that the rule would apply to all products where the manufacturer is NOT Sony, and the price is LESS THAN $100.
    When you click the green + button, a drop-down will appear. You can select either Conditions Combination (see below for more details about this), or one Product Attribute from the list of all existing Attributes. The middle rule (‘is,’ ‘is not, ‘equals or greater than,’ etc.) defines the relation between the attribute and the option. Finally, enter the value of the attribute option. Different attributes will require you to enter the option value in a different manner. For example, Manufacturer will product a drop-down, contained all the existing options that you previously defined when you created the Manufacturer attribute. Price, however, will have an open text field where you can manually enter the price.
    To add more rules, keep pressing the green + button. Each condition further limits the number products to which this discount applies. To remove a condition, click the red X button.
    If you select Conditions Combination instead of one of the Product Attributes, you can create and different set of ALL/ANY and TRUE/FALSE conditions within the overall condition. For example, in the first condition you can establish that the Manufacturer is Sony. In the second condition, you can create a Conditions Combination, where you change ALL to ANY. Within this “subcondition” you set the Price equal or greater than $100, and the Weight equal or less than 5 lbs. With this Conditions Combination, the rule will apply if the Manufacturer is Sony, AND either the Price is $100 or more OR the weight is 5 lbs or less.

    Now that you have the Conditions set, you can create the Actions. This defines what Magento actually does to the product matching your conditions. This is where the discount is defined.
    Apply - Select how you want the discount applied to the product (By Percentage of the original price, By Fixed Amount, To Percentage of the original price, or To Fixed Amount). The difference between By and To is that By subtracts the Discount amount from the original price, whereas To sets the final discounted price to the Discount amount. For example, if a product costs $100, and a discount amount of 15 is applied By Percentage of the original price, the final price would be $85. If the discount amount of 15 was applied To Percentage of the original price, the final price would be $15 (in this example, you would choose By Percentage).
    Discount amount - Enter the numerical value of the discount, which will be either a percentage or fixed monetary amount, depending on what you selected in the drop-down above.
    Stop further rules processing - If you have multiple promotions active on the same products at once, and you don’t want another rule to interfere with this one, you would select Yes here. This will cause Magento to ignore any other existing rules with a lower priority once this rules has been calculated. For example, if you have a storewide discount of $5 that you don’t want to apply to products in this promotion, you would select Yes here, set the priority of this rule higher than that of the other existing rule, and any products matching the conditions established in your new rule would no longer receive the $5 discount from the other existing rule.

    When you are finished, you can click either Save and Apply or Save Rule. Save and Apply activates the rule immediately after creating it, so that the price change will be displayed on eligible products in the front-end. Save Rule saves without activating. If you click this, you can go back and apply the rule later by clicking on it in the Catalog Price Rules grid and clicking Save and Apply, or by clicking the Apply Rules button on the Catalog Price Rules page, which will activate all existing rules. If you wish, you can allow customers to be alerted of new Catalog Price Rules via RSS feeds. There is more information about RSS Feeds earlier in this chapter.

    IMPORTANT: Catalog price rules require periodical execution of scheduled task. Please refer to this article for information on cronjob setup:How to setup a cron job
    Shopping Cart Price Rules

    The other kind of price rule – Shopping Cart Price Rules – is applied when the customer reaches the shopping cart. They can be enacted either with or without a coupon code, and include features not found in traditional coupon tools. Shopping Cart Price Rules are very similar to Catalog Price Rules (CPRs), with a few changes and additions. For those aspects which are the same as Catalog Price Rules, please refer back to that section for a more detailed description. To create Shopping cart Price Rules, navigate to Promotions > Shopping Cart Price Rules and select Add New Rule. As discussed in Chapter 3, this tool can be very useful to market Grouped Products. To illustrate this, let’s revisit the example of the 3-piece suit introduced there.
    Rule Information
    Rule Name - Same as CPRs
    Description - Same as CPRs
    Status - Same as CPRs
    Customer Groups - Same as CPRs
    Coupon Code - If a code is not entered the rule will take effect once the customer reaches the cart without any action taken. If a code is entered, the customer will have to enter that code to receive the discount.
    Uses per coupon - This is the maximum amount of times the Rule can be used total. This limit will apply whether or not you require a coupon code. If it is left blank, there will be no limit.
    Uses per customer - This is the maximum amount of times the Rule can be used per customer. This limit will apply whether or not you require a coupon code. If it is left blank, there will be no limit.
    From/To Date - Same as CPRs
    Priority - Same as CPRs
    Public In RSS Feed - If you wish, you can allow customers to be alerted of new Shopping Cart Price Rules via RSS feeds. If you have enabled this feature, you can determine here whether or not users who subscribe to the RSS Feed will be alerted about this particular Rule. There is more information about RSS Feeds earlier in this chapter.


    This is very different from CPRs, however there is some overlap. To begin with, the overall condition is in the same structure: If ALL/ANY of these conditions are TRUE/FALSE. However, clicking the green + button presents you will a different set of options.

    Product Attribute Combination - Selecting this will create a “subcondition” with a different format from the ALL/ANY and TRUE/FALSE overall condition. It will state: If an item is FOUND/NOT FOUND in the cart with ALL/ANY of these conditions true. This subcondition applies directly to the products within the cart, therefore when you click on the green + button, you will have the same Product Attribute options that exist when created CPRs. In addition to this, you will have the choice to select a Cart Item Attribute instead, including Price in cart, Quantity in cart, and Row total in cart. These options differ from the Product Attributes because they define aspects of the product as they exist in the cart, which may differ from the aspects that you defined when creating the product.
    Conditions Combination - Same as CPRs
    Cart Attribute - Cart Attributes describe a condition within the shopping cart, rather than within a particular product. This ranges from the Subtotal to the Shipping Country. Like with Product Attributes, you will need to define the option, and the relationship to the option. For Shipping Country, the option would be the name of the country (which you would select from a drop-down listing all allowed countries in you site) and the relationship to this option would be is or is not.


    Apply - Select how you want the discount applied to the product (Percentage of product price discount, Fixed amount discount, Fixed amount discount for whole cart, or Buy X get Y free).
    Discount amount - Same as CPRs
    Maximum Qty Discount is Applied to - You can limit how many units of each line item will receive this discount. If you select 5, each line item with a quantity greater than 5 will only receive a discount for five of the items, and the remaining quantity will be calculated at the normal rate.
    Discount Qty Step (Buy X) - This field only works depending on which option you selected from the Apply drop-down. This field is not applicable to the 3-piece suit example, so it will be discussed using different examples.
    Percent of product price discount - If you selected this option, the Buy X field determines the quantities that your customers will have to purchase in order to receive a percentage discount. For example, if you sell an item at whatever quantity the customer prefers, but you receive the item in packs of six, and would like to offer a discount to the customer for every factor of 6 items that they buy, you would enter 6 into this field. The product costs $5, and the discount percentage is 10. If the customer buys 1-5 items, they will receive no discount. If they buy 6-11 items, they will receive a 10% of $5×6 discount ($3). If they buy 12-17 items, they will receive a 10% of $5×12 discount ($6), and so on. This way, they are encouraged to buy items in a factor of 6, ans they are allowed to buy additional quantity, but they just won’t receive any discount for that additional quantity.
    Buy X get Y free - If you selected this option, the Buy X field determines the quantity that your customers will have to purchase in order to receive free item(s). These quantities will be a factor of the number entered into this field. The amount of free items they receive is determined in the Discount amount field. For example, if you want to give your customer 2 free items for every 5 that they buy, you would enter 5 in this field and 2 in the Discount amount field. If the customer buys 1-5 items they will receive no free items. The 6th and 7th items that they add to the cart will be free. The next 5 items that they buy must be paid for, and the 13th and 14th items that they add to the cart will be free, and so on.
    Free ground shipping - Select whether you want to combine the coupon amount with a free shipping offer. You can select For matching items only to offer free shipping only to specific items in the cart, or For shipment with matching items to offer free shipping for the entire order when the designated items are present.
    Stop further rules processing - Same as CPRs
    Apply the rule only to cart items matching the following conditions - This is similar to the Product Attribute Combination option that you can set in the Conditions tab. You can select from the same list of Cart Item Attributes and Product Attributes. This determines which items in the cart will receive the discount defined above when the conditions defined in the Conditions tab are met. If you leave this section blank, the discount will apply to the entire cart.
    the three specific items listed will receive the 10% discount. If the 3-piece suit is purchased in the same order as other items, the discount will not apply to any of the other items.
    When you are finished, click Save Rule.

Chia sẻ trang này