| Author |
Calculating Shipping
|
|
| mandar.limaye@gmail.com 2006-03-09, 5: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
| |
| Ravi Shankar 2006-03-09, 5: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
>
>
| |
| mandar.limaye@gmail.com 2006-03-10, 7:53 am |
| 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 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:
>
| |
| Ravi Shankar 2006-03-10, 5: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 created
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:
> 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:
>
>
>
| |
| mandar.limaye@gmail.com 2006-03-10, 5: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 created
> 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:
>
| |
| Ravi Shankar 2006-03-11, 7:47 am |
| 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:
>
>
>
| |
| mandar.limaye@gmail.com 2006-03-13, 2: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:
>
|
|
|
|