You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Nandani Aggarwal <na...@paxcel.net> on 2012/05/20 19:25:52 UTC
Product Promotions
Hello All,
To display offers or promotions associated with particular product on
website front page.
Eg: Promotion : On purchase of product "A", customer will get product " B"
free.
On website page , Product A is displayed and along with it , want to
display (associated promotion) product "B" as free with it.
I am able to apply promotions on applying promotion code or during checkout
process.But i want to display promotions associated with particular product
to user before checkout process or applying coupon code to make user aware
of various benefits or promotions on purchasing particular product.
Please suggest me , if any service exist to determine associated promotions
with particular product Id(independent of cart).
Hope to get positive response.
Thanks and Regards
Nandani Aggarwal
Re: Product Promotions
Posted by Chandan Khandelwal <ch...@hotwaxmedia.com>.
Hello Nandani,
Yes we don't have any method in OOTB to get all the promotion associated
with the products, For this you can use ProductPromoProduct entity to
find promotion associated with the product and show related information
with the help of promotion id.
HTH
Thanks & Regards
--
Chandan Khandelwal
On Monday 21 May 2012 09:57 AM, Rajbir Saini wrote:
> I had the similar requirement and I could not find any OOTB. I think
> you will need to apply the promotion related code on product display.
> You can look at the ShoppingCart and ShoppingCartEvents classes to see
> how promotions applied.
>
> Thanks,
>
> Raj
>
> On Monday 21 May 2012 09:42 AM, Nandani Aggarwal wrote:
>> Hello Surya,
>>
>> Thanks a lot for kind reply.
>> Actually i want to know promotions related to product before adding
>> that
>> product into cart.I want to know promotion information independent of
>> cart.The requirement is to display promotion information associated to
>> product before customer adds product to cart.
>>
>> Is there any service exist which gives promotion information
>> independent of
>> cart.
>>
>> Thanks and Regards
>> Nandani Aggarwal
>>
>> On Sun, May 20, 2012 at 11:48 PM, Surya
>> Kusumakar<kusumakar.ofbiz@gmail.com
>>> wrote:
>>> Hi Nandini,
>>>
>>> Once you add any product to cart, click on View Cart button from
>>> front end
>>> of Ofbiz Ecommerce, on View Cart page there is one section named 'Cart
>>> Items Use in Promotions', this section displays all the associated
>>> promotions of that added product. You can use this link also :
>>>
>>> http://demo-stable.ofbiz.apache.org/ecommerce/control/view/showcart
>>>
>>> HTH
>>>
>>> --
>>> Thanks& Regards
>>> Surya Kusumakar
>>>
>>> On Sun, May 20, 2012 at 10:55 PM, Nandani Aggarwal<
>>> nandani.aggarwal@paxcel.net> wrote:
>>>
>>>> Hello All,
>>>>
>>>>
>>>> To display offers or promotions associated with particular product on
>>>> website front page.
>>>> Eg: Promotion : On purchase of product "A", customer will get
>>>> product "
>>> B"
>>>> free.
>>>> On website page , Product A is displayed and along with it , want to
>>>> display (associated promotion) product "B" as free with it.
>>>> I am able to apply promotions on applying promotion code or during
>>> checkout
>>>> process.But i want to display promotions associated with particular
>>> product
>>>> to user before checkout process or applying coupon code to make user
>>> aware
>>>> of various benefits or promotions on purchasing particular product.
>>>>
>>>> Please suggest me , if any service exist to determine associated
>>> promotions
>>>> with particular product Id(independent of cart).
>>>> Hope to get positive response.
>>>>
>>>> Thanks and Regards
>>>> Nandani Aggarwal
>>>>
>
Re: Product Promotions
Posted by Rajbir Saini <ra...@yahoo.com>.
I had the similar requirement and I could not find any OOTB. I think you
will need to apply the promotion related code on product display. You
can look at the ShoppingCart and ShoppingCartEvents classes to see how
promotions applied.
Thanks,
Raj
On Monday 21 May 2012 09:42 AM, Nandani Aggarwal wrote:
> Hello Surya,
>
> Thanks a lot for kind reply.
> Actually i want to know promotions related to product before adding that
> product into cart.I want to know promotion information independent of
> cart.The requirement is to display promotion information associated to
> product before customer adds product to cart.
>
> Is there any service exist which gives promotion information independent of
> cart.
>
> Thanks and Regards
> Nandani Aggarwal
>
> On Sun, May 20, 2012 at 11:48 PM, Surya Kusumakar<kusumakar.ofbiz@gmail.com
>> wrote:
>> Hi Nandini,
>>
>> Once you add any product to cart, click on View Cart button from front end
>> of Ofbiz Ecommerce, on View Cart page there is one section named 'Cart
>> Items Use in Promotions', this section displays all the associated
>> promotions of that added product. You can use this link also :
>>
>> http://demo-stable.ofbiz.apache.org/ecommerce/control/view/showcart
>>
>> HTH
>>
>> --
>> Thanks& Regards
>> Surya Kusumakar
>>
>> On Sun, May 20, 2012 at 10:55 PM, Nandani Aggarwal<
>> nandani.aggarwal@paxcel.net> wrote:
>>
>>> Hello All,
>>>
>>>
>>> To display offers or promotions associated with particular product on
>>> website front page.
>>> Eg: Promotion : On purchase of product "A", customer will get product "
>> B"
>>> free.
>>> On website page , Product A is displayed and along with it , want to
>>> display (associated promotion) product "B" as free with it.
>>> I am able to apply promotions on applying promotion code or during
>> checkout
>>> process.But i want to display promotions associated with particular
>> product
>>> to user before checkout process or applying coupon code to make user
>> aware
>>> of various benefits or promotions on purchasing particular product.
>>>
>>> Please suggest me , if any service exist to determine associated
>> promotions
>>> with particular product Id(independent of cart).
>>> Hope to get positive response.
>>>
>>> Thanks and Regards
>>> Nandani Aggarwal
>>>
Re: Product Promotions
Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Deepak Agarwal" <da...@gmail.com>
> Jacques, so is that mean a free gift to a product can not be shown in
> product detail page until it is added to shopping cart ?
Nope, you can certainly do that, http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/showAllPromotions
I was just talking about the fundamental diff. between Prices Rules and Promos related to cart.
> I think Nandani wants to show a free gift on a product in product detail
> page.
This could help I think http://demo-trunk.ofbiz.apache.org:8080/ecommerce/control/showPromotionDetails?productPromoId=9017
Jacques
> On Mon, May 21, 2012 at 12:40 PM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
>
>> I think you are looking for Products Prices Rules. These are applied
>> before adding products into cart, when promotions are always related to the
>> cart
>>
>> Jacques
>>
>> From: "Nandani Aggarwal" <na...@paxcel.net>
>>
>> Hello Surya,
>>>
>>> Thanks a lot for kind reply.
>>> Actually i want to know promotions related to product before adding that
>>> product into cart.I want to know promotion information independent of
>>> cart.The requirement is to display promotion information associated to
>>> product before customer adds product to cart.
>>>
>>> Is there any service exist which gives promotion information independent
>>> of
>>> cart.
>>>
>>> Thanks and Regards
>>> Nandani Aggarwal
>>>
>>> On Sun, May 20, 2012 at 11:48 PM, Surya Kusumakar <
>>> kusumakar.ofbiz@gmail.com
>>>
>>>> wrote:
>>>>
>>>
>>> Hi Nandini,
>>>>
>>>> Once you add any product to cart, click on View Cart button from front
>>>> end
>>>> of Ofbiz Ecommerce, on View Cart page there is one section named 'Cart
>>>> Items Use in Promotions', this section displays all the associated
>>>> promotions of that added product. You can use this link also :
>>>>
>>>> http://demo-stable.ofbiz.**apache.org/ecommerce/control/**view/showcart<http://demo-stable.ofbiz.apache.org/ecommerce/control/view/showcart>
>>>>
>>>> HTH
>>>>
>>>> --
>>>> Thanks & Regards
>>>> Surya Kusumakar
>>>>
>>>> On Sun, May 20, 2012 at 10:55 PM, Nandani Aggarwal <
>>>> nandani.aggarwal@paxcel.net> wrote:
>>>>
>>>> > Hello All,
>>>> >
>>>> >
>>>> > To display offers or promotions associated with particular product on
>>>> > website front page.
>>>> > Eg: Promotion : On purchase of product "A", customer will get product "
>>>> B"
>>>> > free.
>>>> > On website page , Product A is displayed and along with it , want to
>>>> > display (associated promotion) product "B" as free with it.
>>>> > I am able to apply promotions on applying promotion code or during
>>>> checkout
>>>> > process.But i want to display promotions associated with particular
>>>> product
>>>> > to user before checkout process or applying coupon code to make user
>>>> aware
>>>> > of various benefits or promotions on purchasing particular product.
>>>> >
>>>> > Please suggest me , if any service exist to determine associated
>>>> promotions
>>>> > with particular product Id(independent of cart).
>>>> > Hope to get positive response.
>>>> >
>>>> > Thanks and Regards
>>>> > Nandani Aggarwal
>>>> >
>>>>
>>>> --
>>>> Thanks,
>>>> Deepak Agarwal,
>>>>
>>>> Paxcel Technologies Pvt Ltd.
>>>> Hartron Complex, Sector 18, Gurgaon, India.
>>>> E-Mail: deepak.agarwal@paxcel.net
>>>> Mobile: +91 9910322604
>>>>
>>>>
>
Re: Product Promotions
Posted by Deepak Agarwal <da...@gmail.com>.
Jacques, so is that mean a free gift to a product can not be shown in
product detail page until it is added to shopping cart ?
I think Nandani wants to show a free gift on a product in product detail
page.
On Mon, May 21, 2012 at 12:40 PM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:
> I think you are looking for Products Prices Rules. These are applied
> before adding products into cart, when promotions are always related to the
> cart
>
> Jacques
>
> From: "Nandani Aggarwal" <na...@paxcel.net>
>
> Hello Surya,
>>
>> Thanks a lot for kind reply.
>> Actually i want to know promotions related to product before adding that
>> product into cart.I want to know promotion information independent of
>> cart.The requirement is to display promotion information associated to
>> product before customer adds product to cart.
>>
>> Is there any service exist which gives promotion information independent
>> of
>> cart.
>>
>> Thanks and Regards
>> Nandani Aggarwal
>>
>> On Sun, May 20, 2012 at 11:48 PM, Surya Kusumakar <
>> kusumakar.ofbiz@gmail.com
>>
>>> wrote:
>>>
>>
>> Hi Nandini,
>>>
>>> Once you add any product to cart, click on View Cart button from front
>>> end
>>> of Ofbiz Ecommerce, on View Cart page there is one section named 'Cart
>>> Items Use in Promotions', this section displays all the associated
>>> promotions of that added product. You can use this link also :
>>>
>>> http://demo-stable.ofbiz.**apache.org/ecommerce/control/**view/showcart<http://demo-stable.ofbiz.apache.org/ecommerce/control/view/showcart>
>>>
>>> HTH
>>>
>>> --
>>> Thanks & Regards
>>> Surya Kusumakar
>>>
>>> On Sun, May 20, 2012 at 10:55 PM, Nandani Aggarwal <
>>> nandani.aggarwal@paxcel.net> wrote:
>>>
>>> > Hello All,
>>> >
>>> >
>>> > To display offers or promotions associated with particular product on
>>> > website front page.
>>> > Eg: Promotion : On purchase of product "A", customer will get product "
>>> B"
>>> > free.
>>> > On website page , Product A is displayed and along with it , want to
>>> > display (associated promotion) product "B" as free with it.
>>> > I am able to apply promotions on applying promotion code or during
>>> checkout
>>> > process.But i want to display promotions associated with particular
>>> product
>>> > to user before checkout process or applying coupon code to make user
>>> aware
>>> > of various benefits or promotions on purchasing particular product.
>>> >
>>> > Please suggest me , if any service exist to determine associated
>>> promotions
>>> > with particular product Id(independent of cart).
>>> > Hope to get positive response.
>>> >
>>> > Thanks and Regards
>>> > Nandani Aggarwal
>>> >
>>>
>>> --
>>> Thanks,
>>> Deepak Agarwal,
>>>
>>> Paxcel Technologies Pvt Ltd.
>>> Hartron Complex, Sector 18, Gurgaon, India.
>>> E-Mail: deepak.agarwal@paxcel.net
>>> Mobile: +91 9910322604
>>>
>>>
Re: Product Promotions
Posted by Nandani Aggarwal <na...@paxcel.net>.
Hello ,
I think "ProductPromoEntity" may solve the problem as suggested by chandan.
I am not looking for product price rules , i want to display promotion like
"On purchase of product "A" , product "B" will be given free."
For promotions (mentioned above) , do i have to get list of ProductPromoIds
on basis of productIds and using this list , actions can be determined and
finally display this action information.
Thanks
Nandani
On Mon, May 21, 2012 at 12:40 PM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:
> I think you are looking for Products Prices Rules. These are applied
> before adding products into cart, when promotions are always related to the
> cart
>
> Jacques
>
> From: "Nandani Aggarwal" <na...@paxcel.net>
>
> Hello Surya,
>>
>> Thanks a lot for kind reply.
>> Actually i want to know promotions related to product before adding that
>> product into cart.I want to know promotion information independent of
>> cart.The requirement is to display promotion information associated to
>> product before customer adds product to cart.
>>
>> Is there any service exist which gives promotion information independent
>> of
>> cart.
>>
>> Thanks and Regards
>> Nandani Aggarwal
>>
>> On Sun, May 20, 2012 at 11:48 PM, Surya Kusumakar <
>> kusumakar.ofbiz@gmail.com
>>
>>> wrote:
>>>
>>
>> Hi Nandini,
>>>
>>> Once you add any product to cart, click on View Cart button from front
>>> end
>>> of Ofbiz Ecommerce, on View Cart page there is one section named 'Cart
>>> Items Use in Promotions', this section displays all the associated
>>> promotions of that added product. You can use this link also :
>>>
>>> http://demo-stable.ofbiz.**apache.org/ecommerce/control/**view/showcart<http://demo-stable.ofbiz.apache.org/ecommerce/control/view/showcart>
>>>
>>> HTH
>>>
>>> --
>>> Thanks & Regards
>>> Surya Kusumakar
>>>
>>> On Sun, May 20, 2012 at 10:55 PM, Nandani Aggarwal <
>>> nandani.aggarwal@paxcel.net> wrote:
>>>
>>> > Hello All,
>>> >
>>> >
>>> > To display offers or promotions associated with particular product on
>>> > website front page.
>>> > Eg: Promotion : On purchase of product "A", customer will get product "
>>> B"
>>> > free.
>>> > On website page , Product A is displayed and along with it , want to
>>> > display (associated promotion) product "B" as free with it.
>>> > I am able to apply promotions on applying promotion code or during
>>> checkout
>>> > process.But i want to display promotions associated with particular
>>> product
>>> > to user before checkout process or applying coupon code to make user
>>> aware
>>> > of various benefits or promotions on purchasing particular product.
>>> >
>>> > Please suggest me , if any service exist to determine associated
>>> promotions
>>> > with particular product Id(independent of cart).
>>> > Hope to get positive response.
>>> >
>>> > Thanks and Regards
>>> > Nandani Aggarwal
>>> >
>>>
>>>
>>
Re: Product Promotions
Posted by Jacques Le Roux <ja...@les7arts.com>.
I think you are looking for Products Prices Rules. These are applied before adding products into cart, when promotions are always
related to the cart
Jacques
From: "Nandani Aggarwal" <na...@paxcel.net>
> Hello Surya,
>
> Thanks a lot for kind reply.
> Actually i want to know promotions related to product before adding that
> product into cart.I want to know promotion information independent of
> cart.The requirement is to display promotion information associated to
> product before customer adds product to cart.
>
> Is there any service exist which gives promotion information independent of
> cart.
>
> Thanks and Regards
> Nandani Aggarwal
>
> On Sun, May 20, 2012 at 11:48 PM, Surya Kusumakar <kusumakar.ofbiz@gmail.com
>> wrote:
>
>> Hi Nandini,
>>
>> Once you add any product to cart, click on View Cart button from front end
>> of Ofbiz Ecommerce, on View Cart page there is one section named 'Cart
>> Items Use in Promotions', this section displays all the associated
>> promotions of that added product. You can use this link also :
>>
>> http://demo-stable.ofbiz.apache.org/ecommerce/control/view/showcart
>>
>> HTH
>>
>> --
>> Thanks & Regards
>> Surya Kusumakar
>>
>> On Sun, May 20, 2012 at 10:55 PM, Nandani Aggarwal <
>> nandani.aggarwal@paxcel.net> wrote:
>>
>> > Hello All,
>> >
>> >
>> > To display offers or promotions associated with particular product on
>> > website front page.
>> > Eg: Promotion : On purchase of product "A", customer will get product "
>> B"
>> > free.
>> > On website page , Product A is displayed and along with it , want to
>> > display (associated promotion) product "B" as free with it.
>> > I am able to apply promotions on applying promotion code or during
>> checkout
>> > process.But i want to display promotions associated with particular
>> product
>> > to user before checkout process or applying coupon code to make user
>> aware
>> > of various benefits or promotions on purchasing particular product.
>> >
>> > Please suggest me , if any service exist to determine associated
>> promotions
>> > with particular product Id(independent of cart).
>> > Hope to get positive response.
>> >
>> > Thanks and Regards
>> > Nandani Aggarwal
>> >
>>
>
Re: Product Promotions
Posted by Nandani Aggarwal <na...@paxcel.net>.
Hello Surya,
Thanks a lot for kind reply.
Actually i want to know promotions related to product before adding that
product into cart.I want to know promotion information independent of
cart.The requirement is to display promotion information associated to
product before customer adds product to cart.
Is there any service exist which gives promotion information independent of
cart.
Thanks and Regards
Nandani Aggarwal
On Sun, May 20, 2012 at 11:48 PM, Surya Kusumakar <kusumakar.ofbiz@gmail.com
> wrote:
> Hi Nandini,
>
> Once you add any product to cart, click on View Cart button from front end
> of Ofbiz Ecommerce, on View Cart page there is one section named 'Cart
> Items Use in Promotions', this section displays all the associated
> promotions of that added product. You can use this link also :
>
> http://demo-stable.ofbiz.apache.org/ecommerce/control/view/showcart
>
> HTH
>
> --
> Thanks & Regards
> Surya Kusumakar
>
> On Sun, May 20, 2012 at 10:55 PM, Nandani Aggarwal <
> nandani.aggarwal@paxcel.net> wrote:
>
> > Hello All,
> >
> >
> > To display offers or promotions associated with particular product on
> > website front page.
> > Eg: Promotion : On purchase of product "A", customer will get product "
> B"
> > free.
> > On website page , Product A is displayed and along with it , want to
> > display (associated promotion) product "B" as free with it.
> > I am able to apply promotions on applying promotion code or during
> checkout
> > process.But i want to display promotions associated with particular
> product
> > to user before checkout process or applying coupon code to make user
> aware
> > of various benefits or promotions on purchasing particular product.
> >
> > Please suggest me , if any service exist to determine associated
> promotions
> > with particular product Id(independent of cart).
> > Hope to get positive response.
> >
> > Thanks and Regards
> > Nandani Aggarwal
> >
>
Re: Product Promotions
Posted by Surya Kusumakar <ku...@gmail.com>.
Hi Nandini,
Once you add any product to cart, click on View Cart button from front end
of Ofbiz Ecommerce, on View Cart page there is one section named 'Cart
Items Use in Promotions', this section displays all the associated
promotions of that added product. You can use this link also :
http://demo-stable.ofbiz.apache.org/ecommerce/control/view/showcart
HTH
--
Thanks & Regards
Surya Kusumakar
On Sun, May 20, 2012 at 10:55 PM, Nandani Aggarwal <
nandani.aggarwal@paxcel.net> wrote:
> Hello All,
>
>
> To display offers or promotions associated with particular product on
> website front page.
> Eg: Promotion : On purchase of product "A", customer will get product " B"
> free.
> On website page , Product A is displayed and along with it , want to
> display (associated promotion) product "B" as free with it.
> I am able to apply promotions on applying promotion code or during checkout
> process.But i want to display promotions associated with particular product
> to user before checkout process or applying coupon code to make user aware
> of various benefits or promotions on purchasing particular product.
>
> Please suggest me , if any service exist to determine associated promotions
> with particular product Id(independent of cart).
> Hope to get positive response.
>
> Thanks and Regards
> Nandani Aggarwal
>