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?
Top comments (1)
Solved :
});
});
});