I want to display the ****pping, tax handling and grand total information in
the Basket. I could display upto Sub Total. After that every thing is
appearing $0.00.
Firtly I have tried to include all the ****pping information
Then I have run the Basket and total pipelines as follows
pipeInfo = New PipelineInfo("Basket")
pipeInfo("CacheName") = "discounts"
pipeInfo.Profiles.Add("User", CommerceContext.Current.UserProfile)
Basket.RunPipeline(pipeInfo)
pipeInfo = New PipelineInfo("Total")
Basket.RunPipeline(pipeInfo)
Then I tried to get the following information from the Basket form
****ppingTotal =
CType(txContext.CartOrderForm.****ppingTotal.ToString(), Decimal)
If Not (IsDBNull(****ppingTotal)) Then
****ppingTotalTextLbl.Text = (****ppingTotal).ToString("C")
End If
taxTotal = CType(txContext.CartOrderForm.TaxTotal.ToString(),
Decimal)
If Not (IsDBNull(taxTotal)) Then
taxTotalTextLbl.Text = (taxTotal).ToString("C")
End If
Total = CType(txContext.CartOrderForm.Total.ToString(),
Decimal)
If Not (IsDBNull(Total)) Then
CartTotalTextLbl.Text = (Total).ToString("C")
End If
I am getting error in the total pipeline due to which I am not getting any
****pping, tax or other information.
I need some definite solution to show my ****pping information in my
Basket.
Actually I want to implement Order-Level discount like Free ****iping. In
such
a case ****pping value would be $0.00, while in any other case it should
show
somw value.


|