Calculating Shipping
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 > Calculating Shipping




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

    Calculating Shipping  
mandar.limaye@gmail.com


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


 
03-09-06 10:52 PM

Hi
I want to calculate the shipping even before user selects the shipping
address? How I should do this?
The requirement is that when ever user adds the item to basket the
shipping needs to be calculated therfore the user havn't filled the
information related to shipping details and I want to calculate
shipping.
I tried to use pipeline with shipping componet but it requires the
shipping_address_Id.
How can I do this?

Mandar






[ Post a follow-up to this message ]



    RE: Calculating Shipping  
Ravi Shankar


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


 
03-09-06 10:52 PM

Hi Mandar,

Have a look at the link
http://msdn.microsoft.com/library/d....asp?frame=true
It talks about setting the shipping_method_id on the basket...

You'd need to define a shipping method which you'd be able to retrieve by
name and apply that to the lineitems. Then have a look at the components in
the total pipeline that compute shipping and bring them up into the basket
pipeline and you should be set.
--
Ravi Shankar


"mandar.limaye@gmail.com" wrote:

> Hi
> I want to calculate the shipping even before user selects the shipping
> address? How I should do this?
> The requirement is that when ever user adds the item to basket the
> shipping needs to be calculated therfore the user havn't filled the
> information related to shipping details and I want to calculate
> shipping.
> I tried to use pipeline with shipping componet but it requires the
> shipping_address_Id.
> How can I do this?
>
> Mandar
>
>





[ Post a follow-up to this message ]



    Re: Calculating Shipping  
mandar.limaye@gmail.com


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


 
03-10-06 12:53 PM

Hi Ravi
Thanks. I reffered the link. But I am working with ASP. I tried to use
your suggestions.
I am using ordersitelet asp example. I had changed the basket pipeline,
added the shipping components from total pipeline
(splitter,shippingrouter and shipping discount). The pipeline is
running but shipping total is not accessible. I tried to access the
shipment collection but it is throwing error and
order._cy_Shipping_total is null.
Where Am I making mistake?

Thanks in advance.
Mandar


Ravi Shankar wrote:
[vbcol=seagreen]
> Hi Mandar,
>
> Have a look at the link
> http://msdn.microsoft.com/library/d....asp?frame=true
> It talks about setting the shipping_method_id on the basket...
>
> You'd need to define a shipping method which you'd be able to retrieve by
> name and apply that to the lineitems. Then have a look at the components i
n
> the total pipeline that compute shipping and bring them up into the basket
> pipeline and you should be set.
> --
> Ravi Shankar
>
>
> "mandar.limaye@gmail.com" wrote:
> 






[ Post a follow-up to this message ]



    Re: Calculating Shipping  
Ravi Shankar


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


 
03-10-06 10:54 PM

Hi Mandar,

The splitter components works on "addresses" & "shipping methods". It is
responsible for creating the shipments directory.. so if you do not have
shipping addresses selected at the line item level, it would not have create
d
the shipments directory. Check the properties of the splitter component in
the pipeline editor and you could reconfigure it...

W.r.t the shipping_total.. you need to copy it across to some non "_" key
for it to persist... the component properties would tell you which values ge
t
written.
--
Ravi Shankar


"mandar.limaye@gmail.com" wrote:

> Hi Ravi
> Thanks. I reffered the link. But I am working with ASP. I tried to use
> your suggestions.
> I am using ordersitelet asp example. I had changed the basket pipeline,
> added the shipping components from total pipeline
> (splitter,shippingrouter and shipping discount). The pipeline is
> running but shipping total is not accessible. I tried to access the
> shipment collection but it is throwing error and
> order._cy_Shipping_total is null.
> Where Am I making mistake?
>
> Thanks in advance.
> Mandar
>
>
> Ravi Shankar wrote:
> 
>
>





[ Post a follow-up to this message ]



    Re: Calculating Shipping  
mandar.limaye@gmail.com


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


 
03-10-06 10:54 PM

Hi Ravi Shankar,
I was able to solve the problem and able to get the values.
Thanks.
Now I need to manage the free product. Based on order total I want to
display the products and user will select one product.
Do suggest me directions to accomodate this?

Thanks in advance.


Mandar

Ravi Shankar wrote:
[vbcol=seagreen]
> Hi Mandar,
>
> The splitter components works on "addresses" & "shipping methods". It is
> responsible for creating the shipments directory.. so if you do not have
> shipping addresses selected at the line item level, it would not have crea
ted
> the shipments directory. Check the properties of the splitter component in
> the pipeline editor and you could reconfigure it...
>
> W.r.t the shipping_total.. you need to copy it across to some non "_" key
> for it to persist... the component properties would tell you which values 
get
> written.
> --
> Ravi Shankar
>
>
> "mandar.limaye@gmail.com" wrote:
> 






[ Post a follow-up to this message ]



    Re: Calculating Shipping  
Ravi Shankar


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


 
03-11-06 12:47 PM

Good to see your problem is solved.
For your next problem/issue I'd apprecate if you start a new thread, it
makes the tracking simpler.
--
Ravi Shankar


"mandar.limaye@gmail.com" wrote:

> Hi Ravi Shankar,
> I was able to solve the problem and able to get the values.
> Thanks.
> Now I need to manage the free product. Based on order total I want to
> display the products and user will select one product.
> Do suggest me directions to accomodate this?
>
> Thanks in advance.
>
>
> Mandar
>
> Ravi Shankar wrote:
> 
>
>





[ Post a follow-up to this message ]



    Re: Calculating Shipping  
mandar.limaye@gmail.com


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


 
03-13-06 07:47 AM

Hi
Thanks and sorry. I will start new thread.

Mandar

Ravi Shankar wrote:
[vbcol=seagreen]
> Good to see your problem is solved.
> For your next problem/issue I'd apprecate if you start a new thread, it
> makes the tracking simpler.
> --
> Ravi Shankar
>
>
> "mandar.limaye@gmail.com" wrote:
> 






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:46 PM.      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