Page 1 of 1
Help: All Form inputs have vanished in Orders
Posted: Sun Aug 03, 2014 5:35 am
by Dramatic
I have solved all my cart problems, and along the way upgraded the orders module. But suddenly, all the form fields have vanished from the first orders screen (billing and shipping addresses) - all the labels and template HTML are there, so it is only the{input_foo} smarty tags which are not being processed.
CMS Core: 1.11.10
Cart2: 1.1.3
CGECommerceBase: 1.5.2
CGExtensions: 1.41.2
CGSimpleSmarty: 1.7.4
FrontEndUsers: 1.24
JQueryTools 1.2.6
Orders: 1.16.3
It's not a template error, since it still happens if I switch back to the supplied default template.
...which Module Manager tells me are all latest versions, not that I always trust it. (Those modules I have checked in forge are latest versions)
Re: Help: All Form inputs have vanished in Orders
Posted: Sun Aug 03, 2014 5:48 am
by Dramatic
here's what I mean:
Code: Select all
<form id="ma5380moduleform_2" method="post" action="http://url-removed/index.php?page=checkout-2" class="cms_form" enctype="multipart/form-data">
<div class="hidden">
<input type="hidden" name="mact" value="Orders,ma5380,default,0" />
<input type="hidden" name="ma5380returnid" value="68" />
</div>
<div class="billing_info">
<fieldset>
<div class="label">Company</div>
<div class="label"><span class="required">First Name:* </span></div><br />
<div class="label"><span class="required">Last Name:*</span> </div><br />
<div class="label"><span class="required">Address Line 1:*</span></div> <br />
<div class="label">Address Line 2:</div> <br />
<div class="label"><span class="required">City:* </div></span><br />
<div class="label"><span class="required">State/Province:*</div> </span><br />
<div class="label"><span class="required">Zip/Postal Code:* </div></span><br />
<div class="label"><span class="required">Country:* </div></span><br />
<div class="label">Phone: </div><br />
<div class="label">Email:* </div><br />
</fieldset>
Re: Help: All Form inputs have vanished in Orders
Posted: Sun Aug 03, 2014 8:56 am
by Jos
Check the release notes of Orders 1.16.3:
Release Notes for 1.16.3 -- Orders
Improved billing form template.
COMPATIBILITY PROBLEM: YOU MUST:
a: reset the prototype billing form template to factory defaults
b: create a new billing form template
c: style the new template.
Improved security and performance.
Adds support for handling modules.
http://dev.cmsmadesimple.org/project/files/413
Re: Help: All Form inputs have vanished in Orders
Posted: Sun Aug 03, 2014 10:45 pm
by Dramatic
Thanks Jos,
I think I missed that because it was a dependency upgrade.
Have reset, but lost a lot of customisation in doing so.
The new problem is that it seems to be ignoring the "Allowed countries" setting in Orders->Preferences and just offering a full country dropdown.
It is ignoring the States/Provinces list too (I did have my shipping zones in there, but am no longer using it).
For now I've replaced
Code: Select all
{cge_country_options selected=$billing->get_country()}
with
Code: Select all
<option selected="selected" value="NZ">New Zealand</option>
...but that seems rather hackish.
Re: Help: All Form inputs have vanished in Orders
Posted: Wed Aug 27, 2014 2:34 am
by Simon66
Did you resolve this at all?
I'm having the same problems with 'Valid Countries' & 'Valid States' not working.
I can't add Australian states either.