Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.
Nidhi Gaggarwal
Greenhorn
Joined: May 17, 2010
Posts: 4
posted
0
I am involved in developing an e-commerce site. There I require to get shipping amount which was applicable before free shipping promo code was applied. Once we apply free shipping promo code, the conventional way of getting shipping amount gets 0.
Nidhi Gaggarwal wrote:I have to send this data to third party after free shipping promo code applied.
Would that not have been useful to tell us when you originally asked the question?
So, getting this value before promo code applied does not make sense.
But that's the problem you're asking us to solve.
Nidhi Gaggarwal
Greenhorn
Joined: May 17, 2010
Posts: 4
posted
0
Ok good... if this information is useful to you...
As said by you, So get the shipping amount before applying the promo code... this does not make sense, I meant to say this
to Summarize, I have to send the following data to third party:
shipping discount which we got after applying free shipping promo code.
I hope now it makes a clear picture of the requirement.
And I'm saying that if you get invalid/inappropriate data the way you're doing it now, do it in a different order, or change the nature of the requirement.