aveeva Posted April 26, 2019 Share Posted April 26, 2019 (edited) The Business Logic is: If product is already purchased, upgrade the product I have a customer input form to get information, along with some fields which should be auto populated based on what the customer chooses. Screen Shot: https://i.stack.imgur.com/Fkyim.png Note: Price and Shipping Weight are done with Ajax, When we come to the shipping cost I am getting it from Magento, using a PHP function. form : https://paste.ofcode.org/335FVUhpBGbazQtrcPLVQUs PHP : sp_cost.php https://paste.ofcode.org/hvG2sP9TW9CEPgMMuKXNuw From the above code I am given the predefined value, $results = getShippingEstimate('14419','1',"IN","642001"); How can i get country and zipcode from the user entry and return the shipping cost? Edited April 26, 2019 by aveeva Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.