Items in a basket prior to order
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > Commerce Server General > Items in a basket prior to order




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Items in a basket prior to order  
Ken Brown


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 12:48 PM

Greetings,

Is there a way, either through the bizdesk or in one of the tables, to see
what a user has in their basket prior to it becoming an order?

TIA,

Ken







[ Post a follow-up to this message ]



    Re: Items in a basket prior to order  
gustavo echeverry


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 12:48 PM

hi ken
nop, you'll have to do this with code, actually there's a way but you will
need to
read a marshalled field located in the basketgroup table (marshal_data) ....
if you
get how to read it ;)

using .NET you could do something like this (assuming you are already
authenticated)

Microsoft.CommerceServer.Runtime.Orders.Basket canasta = null;
canasta = contexto.OrderSystem.GetBasket(new Guid(contexto.UserID));

if(canasta.OrderForms[0].LineItems.Count > 0){

foreach(LineItem item in canasta.OrderForms[0].LineItems){
// here you can access the properties like:
// item.Quantity
}
}

hope it helps


"Ken Brown" <kbrown@nospamplease.formulaboats.com> wrote in message
news:uG%23uFVTgEHA.380@TK2MSFTNGP10.phx.gbl...
> Greetings,
>
> Is there a way, either through the bizdesk or in one of the tables, to see
> what a user has in their basket prior to it becoming an order?
>
> TIA,
>
> Ken
>
>







[ Post a follow-up to this message ]



    Re: Items in a basket prior to order  
Ken Brown


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 12:48 PM

Gustavo,

Thanks for the quick response.  Do you know if there's an easy (or not
extremely difficult) way to extend the business desk to perform this task?

Ken

"gustavo echeverry" <gecheverry@intergrupo.comNOSPAM> wrote in message
news:uoj1qeTgEHA.1644@tk2msftngp13.phx.gbl...
> hi ken
> nop, you'll have to do this with code, actually there's a way but you will
> need to
> read a marshalled field located in the basketgroup table (marshal_data)
> ....
> if you
> get how to read it ;)
>
> using .NET you could do something like this (assuming you are already
> authenticated)
>
> Microsoft.CommerceServer.Runtime.Orders.Basket canasta = null;
> canasta = contexto.OrderSystem.GetBasket(new Guid(contexto.UserID));
>
> if(canasta.OrderForms[0].LineItems.Count > 0){
>
>   foreach(LineItem item in canasta.OrderForms[0].LineItems){
>         // here you can access the properties like:
>         // item.Quantity
>   }
> }
>
> hope it helps
>
>
> "Ken Brown" <kbrown@nospamplease.formulaboats.com> wrote in message
> news:uG%23uFVTgEHA.380@TK2MSFTNGP10.phx.gbl... 
>
>







[ Post a follow-up to this message ]



    Re: Items in a basket prior to order  
gustavo echeverry


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 10:51 PM

Ken
to extend the bizdesk you have to develop a module knowing:

Dynamic Hypertext Markup Language (DHTML)
Extensible Markup Language (XML)
Extensible Stylesheet Language (XSL)
XML Query Language (XQL)
Active Data Objects (ADO)
HTML Components (HTC), also known as DHTML Behaviors
Active Server Pages (ASP)

but in my opinion is rather complicated and time consuming in development
time,
i'd choose another option intead.

has to be done using bizdesk?

"Ken Brown" <kbrown@nospamplease.formulaboats.com> wrote in message
news:%233U10zTgEHA.3348@TK2MSFTNGP12.phx.gbl...
> Gustavo,
>
> Thanks for the quick response.  Do you know if there's an easy (or not
> extremely difficult) way to extend the business desk to perform this task?
>
> Ken
>
> "gustavo echeverry" <gecheverry@intergrupo.comNOSPAM> wrote in message
> news:uoj1qeTgEHA.1644@tk2msftngp13.phx.gbl... 
will[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Re: Items in a basket prior to order  
Ken Brown


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-13-04 10:51 PM

Gustavo

Not necessarily.  I was just wondering since most of my info is already
there.

Ken

"gustavo echeverry" <gecheverry@intergrupo.comNOSPAM> wrote in message
news:%23R9O4OUgEHA.2908@TK2MSFTNGP10.phx.gbl...
> Ken
> to extend the bizdesk you have to develop a module knowing:
>
> Dynamic Hypertext Markup Language (DHTML)
> Extensible Markup Language (XML)
> Extensible Stylesheet Language (XSL)
> XML Query Language (XQL)
> Active Data Objects (ADO)
> HTML Components (HTC), also known as DHTML Behaviors
> Active Server Pages (ASP)
>
> but in my opinion is rather complicated and time consuming in development
> time,
> i'd choose another option intead.
>
> has to be done using bizdesk?
>
> "Ken Brown" <kbrown@nospamplease.formulaboats.com> wrote in message
> news:%233U10zTgEHA.3348@TK2MSFTNGP12.phx.gbl... 
> will 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:59 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register