aveeva Posted May 17, 2019 Share Posted May 17, 2019 I have couple of shipping methods DHL & FedEx, if selected products exits in cart show only selected shipping method, how to archive using shopping cart pricing rule or any other way to do this? Quote Link to comment Share on other sites More sharing options...
ginerjm Posted May 17, 2019 Share Posted May 17, 2019 Without some code to look at or more details on what you are dealing with I'm at a loss to help you. I can only imagine that your logic that handles the POST from this form examines the product that "exits" in the (shopping?) cart and then determines if the correct shipping method was selected. If not you simply send back the form with the user's entries re-posted to it and an error message. I suppose you could also write some JS code to do that check before the form is submitted (maybe with an 'onsubmit' call from the submit button) and eliminate the post to the server until the input is all correct. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.