Thoughts on Happy Hour Promotion (9020) when using "Create As New Order" link from Order detail page.

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

Thoughts on Happy Hour Promotion (9020) when using "Create As New Order" link from Order detail page.

arpit singh pandya
Hello All,

I have doubt regarding to the Happy Hour Promotion (i.e
productPromoId="9020"). It will give WG-1111 as promotion product when
we create an order in between 15:00 hrs to 17:00 hrs.

I have created an order *WSCO10000*  with product WG-2644 at 16:00 hrs
from back-end, Now I got the promotional product WG-1111 from happy hour
promotion.

we have two scenarios here

1st scenario --  on continue manner at 16:30 hrs I create order **by
clicking *"Create As New Order"* Link from order detail page for orderId
*WSCO10000*, Now it will create new order with orderId *WSCO10001.* Same
products, adjustments and promotion 9020 (Happy Hour Promotion) is
applicable here coming from orderId *WSCO10000*.

2nd scenario --  Now at 19:30 hrs  I create order by clicking *"Create
As New Order"* Link from order detail page for orderId *WSCO10000*, Now
it will create new order with orderId *WSCO1002*.

Should this Promotion(promotion 9020) is applicable for order WSCO1002
or NOT.

Here I am in doubt about the promotion 9020 (Happy Hour Promotion) on
order WSCO1002.

My doubt is that, i am creating same order for WSCO10000, so the
promotion should be same in new order (i.e in WSCO10002), but I have
created  this order at 19:30 hrs which is after happy hours(i.e 15:00
hrs - 17:00 hrs). And I think promotion related to happy hours should
not apply to newly created order WSCO10002.

Please provide your views, this will help me a lot to clear doubt.


Thanks and Regards
--
Arpit Singh Pandya

Reply | Threaded
Open this post in threaded view
|

Re: Thoughts on Happy Hour Promotion (9020) when using "Create As New Order" link from Order detail page.

Adam Heath-2
Arpit Singh Pandya wrote:
> Hello All,
>
> I have doubt regarding to the Happy Hour Promotion (i.e
> productPromoId="9020"). It will give WG-1111 as promotion product when
> we create an order in between 15:00 hrs to 17:00 hrs.

Unrelated question ---

How do timezones work for time-based promos?  The server may be in one
timezone, so the order will have timestamps connected to the server.
But the placing user/customer may be in a different locality, so I'm
just curious how this is handled.
Reply | Threaded
Open this post in threaded view
|

Re: Thoughts on Happy Hour Promotion (9020) when using "Create As New Order" link from Order detail page.

Adrian Crum
Adam Heath wrote:

> Arpit Singh Pandya wrote:
>> Hello All,
>>
>> I have doubt regarding to the Happy Hour Promotion (i.e
>> productPromoId="9020"). It will give WG-1111 as promotion product when
>> we create an order in between 15:00 hrs to 17:00 hrs.
>
> Unrelated question ---
>
> How do timezones work for time-based promos?  The server may be in one
> timezone, so the order will have timestamps connected to the server.
> But the placing user/customer may be in a different locality, so I'm
> just curious how this is handled.

You would have to look at the service and see which TimeZone instance it
uses. The one passed around in the context is the user's time zone, the
server's time zone is the default - TimeZone.getDefault();

-Adrian
Reply | Threaded
Open this post in threaded view
|

Re: Thoughts on Happy Hour Promotion (9020) when using "Create As New Order" link from Order detail page.

Scott Gray-2
In reply to this post by arpit singh pandya
Hi Arpit,

I agree, I don't think the promotion should apply unless the  
conditions are met.  If we wanted a sales rep to be able to force a  
promotion I think that would be a separate feature.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 20/11/2009, at 6:40 AM, Arpit Singh Pandya wrote:

> Hello All,
>
> I have doubt regarding to the Happy Hour Promotion (i.e  
> productPromoId="9020"). It will give WG-1111 as promotion product  
> when we create an order in between 15:00 hrs to 17:00 hrs.
>
> I have created an order *WSCO10000*  with product WG-2644 at 16:00  
> hrs from back-end, Now I got the promotional product WG-1111 from  
> happy hour promotion.
>
> we have two scenarios here
>
> 1st scenario --  on continue manner at 16:30 hrs I create order **by  
> clicking *"Create As New Order"* Link from order detail page for  
> orderId *WSCO10000*, Now it will create new order with orderId  
> *WSCO10001.* Same products, adjustments and promotion 9020 (Happy  
> Hour Promotion) is applicable here coming from orderId *WSCO10000*.
>
> 2nd scenario --  Now at 19:30 hrs  I create order by clicking  
> *"Create As New Order"* Link from order detail page for orderId  
> *WSCO10000*, Now it will create new order with orderId *WSCO1002*.
>
> Should this Promotion(promotion 9020) is applicable for order  
> WSCO1002 or NOT.
>
> Here I am in doubt about the promotion 9020 (Happy Hour Promotion)  
> on order WSCO1002.
>
> My doubt is that, i am creating same order for WSCO10000, so the  
> promotion should be same in new order (i.e in WSCO10002), but I have  
> created  this order at 19:30 hrs which is after happy hours(i.e  
> 15:00 hrs - 17:00 hrs). And I think promotion related to happy hours  
> should not apply to newly created order WSCO10002.
>
> Please provide your views, this will help me a lot to clear doubt.
>
>
> Thanks and Regards
> --
> Arpit Singh Pandya
>


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

Re: Thoughts on Happy Hour Promotion (9020) when using "Create As New Order" link from Order detail page.

Bilgin Ibryam-2
In reply to this post by arpit singh pandya
Arpit Singh Pandya wrote:

Hi Arpit,

inline

> Hello All,
>
> I have doubt regarding to the Happy Hour Promotion (i.e
> productPromoId="9020"). It will give WG-1111 as promotion product when
> we create an order in between 15:00 hrs to 17:00 hrs.
>
> I have created an order *WSCO10000*  with product WG-2644 at 16:00 hrs
> from back-end, Now I got the promotional product WG-1111 from happy
> hour promotion.
>
> we have two scenarios here
>
> 1st scenario --  on continue manner at 16:30 hrs I create order **by
> clicking *"Create As New Order"* Link from order detail page for
> orderId *WSCO10000*, Now it will create new order with orderId
> *WSCO10001.* Same products, adjustments and promotion 9020 (Happy Hour
> Promotion) is applicable here coming from orderId *WSCO10000*.
>
> 2nd scenario --  Now at 19:30 hrs  I create order by clicking *"Create
> As New Order"* Link from order detail page for orderId *WSCO10000*,
> Now it will create new order with orderId *WSCO1002*.
>
> Should this Promotion(promotion 9020) is applicable for order WSCO1002
> or NOT.

In 2nd scenario promotion 9020 should not apply. When you are using
"Create As New Order" all the items are loaded from the original order
to cart, but promotions are not copied, they are recalculated  (I didn't
check the code, there might be changes now). This is because you have
the possibility to change the items in the cart, which may cause some
promotions to be not valid any more (as with happy hour promotion).

>
> Here I am in doubt about the promotion 9020 (Happy Hour Promotion) on
> order WSCO1002.
>
> My doubt is that, i am creating same order for WSCO10000, so the
> promotion should be same in new order (i.e in WSCO10002), but I have
> created  this order at 19:30 hrs which is after happy hours(i.e 15:00
> hrs - 17:00 hrs). And I think promotion related to happy hours should
> not apply to newly created order WSCO10002.
Did you test it? I think it will not apply.

Bilgin


>
> Please provide your views, this will help me a lot to clear doubt.
>
>
> Thanks and Regards
> --
> Arpit Singh Pandya
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Thoughts on Happy Hour Promotion (9020) when using "Create As New Order" link from Order detail page.

Bilgin Ibryam-2
In reply to this post by Adrian Crum
Adrian Crum wrote:

> Adam Heath wrote:
>> Arpit Singh Pandya wrote:
>>> Hello All,
>>>
>>> I have doubt regarding to the Happy Hour Promotion (i.e
>>> productPromoId="9020"). It will give WG-1111 as promotion product when
>>> we create an order in between 15:00 hrs to 17:00 hrs.
>>
>> Unrelated question ---
>>
>> How do timezones work for time-based promos?  The server may be in one
>> timezone, so the order will have timestamps connected to the server.
>> But the placing user/customer may be in a different locality, so I'm
>> just curious how this is handled.
>
> You would have to look at the service and see which TimeZone instance
> it uses. The one passed around in the context is the user's time zone,
> the server's time zone is the default - TimeZone.getDefault();
>
> -Adrian

It uses a calendar instance without specifying a time zone ie the server
timezone. Otherwise the user could change time zone and get the
promotion at any time.

Bilgin
Reply | Threaded
Open this post in threaded view
|

Re: Thoughts on Happy Hour Promotion (9020) when using "Create As New Order" link from Order detail page.

Adam Heath-2
Bilgin Ibryam wrote:
> It uses a calendar instance without specifying a time zone ie the server
> timezone. Otherwise the user could change time zone and get the
> promotion at any time.

Wouldn't it be better to use the timezone of the facility that holds
the stock?

Reply | Threaded
Open this post in threaded view
|

Re: Thoughts on Happy Hour Promotion (9020) when using "Create As New Order" link from Order detail page.

Bilgin Ibryam-2
Adam Heath wrote:

> Bilgin Ibryam wrote:
>  
>> It uses a calendar instance without specifying a time zone ie the server
>> timezone. Otherwise the user could change time zone and get the
>> promotion at any time.
>>    
>
> Wouldn't it be better to use the timezone of the facility that holds
> the stock?
>
>  
Yes, that's a good direction to extend, but I am not aware of time zones
per facility or store in the project.