Shopping cart creation

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

Shopping cart creation

Suraj Alex

Hi All,
   I am new to ofbiz. How can i create a shopping cart and shopping cart
item. Is there any service to create both?

Thanks,
    Suraj Alex


Reply | Threaded
Open this post in threaded view
|

Re: Shopping cart creation

Vivek Mishra-2
Hello Suraj,

Have you traced the flow suggested by me.

Kind Regards,
--
Vivek

Suraj Alex wrote:
>
> Hi All,
>   I am new to ofbiz. How can i create a shopping cart and shopping
> cart item. Is there any service to create both?
>
> Thanks,
>    Suraj Alex
>
>


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

Re: Shopping cart creation

cjhorton
In addition to what Vivek suggested in your other message, check out the
ecommerce controller.xml preprocessing event keepcartupdated.  It will
eventually lead you to:

    public static ShoppingCart getCartObject(HttpServletRequest request,
Locale locale, String currencyUom) {

....
        if (cart == null) {
            cart = new WebShoppingCart(request, locale, currencyUom);
            session.setAttribute("shoppingCart", cart);
....
        return cart;



On Thu, Feb 12, 2009 at 4:19 AM, Vivek Mishra
<[hidden email]>wrote:

> Hello Suraj,
>
> Have you traced the flow suggested by me.
>
> Kind Regards,
> --
> Vivek
>
>
> Suraj Alex wrote:
>
>>
>> Hi All,
>>  I am new to ofbiz. How can i create a shopping cart and shopping cart
>> item. Is there any service to create both?
>>
>> Thanks,
>>   Suraj Alex
>>
>>
>>
>