[jira] Created: (OFBIZ-3030) Allow override special promo price specified in action amount

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-3030) Allow override special promo price specified in action amount

Nicolas Malin (Jira)
Allow override special promo price specified in action amount
-------------------------------------------------------------

                 Key: OFBIZ-3030
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3030
             Project: OFBiz
          Issue Type: Improvement
          Components: product, specialpurpose/ecommerce
    Affects Versions: SVN trunk
            Reporter: Jennifer Weston
            Priority: Minor


When a promo rule action is set to "Product for [Special Promo] Price", all affected products have their price set to Product.specialPromoPrice. The special promo price is defined in ProductPrice with a productPriceTypeId of SPECIAL_PROMO_PRICE. At the moment, only one special promo price may be defined per product lest an exception is thrown when loading the special promo price. It would be useful to allow promo rules to specify their own special promo price in the action amount as an override so that multiple special promo prices may be defined for a product.

The difference between using special promo price and using "X Product for Y Price" is the later is pretty rigid about setting the price for a fixed quantity. For instance, let's say we have a promo rule with a condition "X Quantity of Product" "is Greater Than or Equal To" 5 and an action  "X Product for Y Price" where the quantity is set to 1 (or left blank) and the amount is set to 50.The way this will work is the customer will have to put at least 5 of the affected product in his cart to trigger the rule. The action will only change the price for one of the items instead of all of the items. This can be a desirable behavior. But it also means the rule cannot produce the result of setting all of the products to a new amount which can also be a desirable behavior.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-3030) Allow override special promo price specified in action amount

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jennifer Weston updated OFBIZ-3030:
-----------------------------------

    Attachment: OFBIZ-3030.patch

Please find attached a patch which achieves the special price override by promo rule action.

> Allow override special promo price specified in action amount
> -------------------------------------------------------------
>
>                 Key: OFBIZ-3030
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3030
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: product, specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Jennifer Weston
>            Priority: Minor
>         Attachments: OFBIZ-3030.patch
>
>
> When a promo rule action is set to "Product for [Special Promo] Price", all affected products have their price set to Product.specialPromoPrice. The special promo price is defined in ProductPrice with a productPriceTypeId of SPECIAL_PROMO_PRICE. At the moment, only one special promo price may be defined per product lest an exception is thrown when loading the special promo price. It would be useful to allow promo rules to specify their own special promo price in the action amount as an override so that multiple special promo prices may be defined for a product.
> The difference between using special promo price and using "X Product for Y Price" is the later is pretty rigid about setting the price for a fixed quantity. For instance, let's say we have a promo rule with a condition "X Quantity of Product" "is Greater Than or Equal To" 5 and an action  "X Product for Y Price" where the quantity is set to 1 (or left blank) and the amount is set to 50.The way this will work is the customer will have to put at least 5 of the affected product in his cart to trigger the rule. The action will only change the price for one of the items instead of all of the items. This can be a desirable behavior. But it also means the rule cannot produce the result of setting all of the products to a new amount which can also be a desirable behavior.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.