kibiribi Posted April 22, 2012 Share Posted April 22, 2012 I need to change some fields in express checkout page (instead of 5 step process): email name lastname phone According to following recommendations I've changed Shipping - countries http://www.prestasho...e-registration/ "What you need to do is : - Go to the back office -> Shipping - Then Choose your country - Clic on edit and you will be able to specify if you need post code, company, city, etc". When I try to register as guest or register as user I've got validation error message: Please check city, id_country. I tried to fix this problem by adding of hidden fields and change hidden fields with values - country and city in page - order-opc-new-account.tpl <input type="hidden" name="city" id="city" value="Moscow" \> <input type="hidden" namв=e="id_country" id="id_country" value="177" /> where 177 = Russia country code acc. to http://www.prestasho...ss-save-button/ When I press on Submit button - the problem the same "Please check city, id_country." :-( Please advice, what am I doing wrong ? Link to comment Share on other sites More sharing options...
kibiribi Posted April 22, 2012 Author Share Posted April 22, 2012 I solved problem due to forum post. This post help me - http://www.prestashop.com/forums/topic/121943-remove-country-dropdown-completely/ Strange,, I can't use hiden fields for validation :-( this trick can help : real transparent 1 pixel image input form :-) <input type="image" name="id_country" id="id_country" value="177" checked="checked" src="../../img/empty-code.gif" style="border:0px"> <input type="image" name="city" id="city" value="Moscow" checked="checked" src="../../img/empty-code.gif" style="border:0px"> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now