Question about manual promotions

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

Question about manual promotions

Jacopo Cappellato
If you are creating an order using the backoffice order entry you have
the ability to manually specify a promotion for the order (i.e. using
the drop down boxes in the "manual promotions" box in the show cart screen).
The promotions listed there are all the promotions defined in the
system, not only the ones associated to the store.
When I originally implemented this feature I did it intentionally: the
idea was to define a promotion without conditions (i.e. always
applicable) but detached from the stores (if we associate it to the
store, it would be always applied to all the orders); if the order entry
operator wants to apply the manual promotion, he/she can select the
promotion from the drop down box.
Now I would like to improve this support and I would like to specify the
manual promotions that are applicable to a given store.
What is the best way to implement this?

Two proposals:
1) add a new promo condition type "MANUAL" and set the promo context so
that it evaluates to true only if the promotion is manually added to the
cart
2) add a ProductPromo.isManual flag and select in the drop down list of
the "Manual Promotion" box only the promotions associated to the store
and with the isManual flag set to "Y"; these promotions should be
ignored by the standard automatic promotions

Jacopo
Reply | Threaded
Open this post in threaded view
|

Re: Question about manual promotions

David E Jones

On Oct 22, 2007, at 4:44 AM, Jacopo Cappellato wrote:

> If you are creating an order using the backoffice order entry you  
> have the ability to manually specify a promotion for the order  
> (i.e. using the drop down boxes in the "manual promotions" box in  
> the show cart screen).
> The promotions listed there are all the promotions defined in the  
> system, not only the ones associated to the store.
> When I originally implemented this feature I did it intentionally:  
> the idea was to define a promotion without conditions (i.e. always  
> applicable) but detached from the stores (if we associate it to the  
> store, it would be always applied to all the orders); if the order  
> entry operator wants to apply the manual promotion, he/she can  
> select the promotion from the drop down box.
> Now I would like to improve this support and I would like to  
> specify the manual promotions that are applicable to a given store.
> What is the best way to implement this?
>
> Two proposals:
> 1) add a new promo condition type "MANUAL" and set the promo  
> context so that it evaluates to true only if the promotion is  
> manually added to the cart
> 2) add a ProductPromo.isManual flag and select in the drop down  
> list of the "Manual Promotion" box only the promotions associated  
> to the store and with the isManual flag set to "Y"; these  
> promotions should be ignored by the standard automatic promotions
It's an interesting idea. Maybe a better place for the isManual (or  
maybe a better name is manualOnly?) flag is on the
ProductStorePromoAppl entity...

-David


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Question about manual promotions

Jacopo Cappellato
David E Jones wrote:
> It's an interesting idea. Maybe a better place for the isManual (or
> maybe a better name is manualOnly?) flag is on the
> ProductStorePromoAppl entity...
>
> -David
>

David,

this is a *great* idea, thanks!

I'll immediately go for it.

Jacopo