close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

adding elements to the checkout form

Thread began 10/07/2015 7:47 am by Jamie | Last modified 10/15/2015 2:41 pm by Jamie | 4000 views | 19 replies

Jamie

ok, have added that

<?php  if ($FrithsCart->TotalColumn("IsContactLens") > 0) { ?>
<li>
<div class="checkoutOptions" id="select-practice">
<div class="formFieldset">
<h2>Select Your Practice</h2>
</div>
<div style="clear:both; font-size: 0.9em; margin-bottom: 10px;">
<div>So that we can check your order against your recent eye-test, please select the Friths practice that you had your test at. <span style="font-style: italic; text-align:right;">If you didn't have your test at a Friths practice, please select 'Other Optician'.</span></div>
</div>
<div>
<select class="select sidebarPracticesDropdown" name="Practice_name" id="Practice_name" required>
<option value="">Select Your Practice</option>
<?php
while(!$PracticesDropDown->atEnd()) {
?>
<option value="<?php echo($PracticesDropDown->getColumnVal("PracticeName")); ?>"><?php echo($PracticesDropDown->getColumnVal("PracticeName")); ?></option>
<?php
$PracticesDropDown->moveNext();
}
$PracticesDropDown->moveFirst(); //return RS to first record
?>
<option value="Other Optician">Other Optician</option>
</select>
</div>
<div style="clear:both; "><label><input type="checkbox" name="Eye_test_confirmation" value="Yes" id="Eye_test_confirmation" required> I have read and understand the following <a href="<?php echo $_SERVER['REQUEST_URI']; ?>#modal" style="font-size:14px;">information about eye tests</a></label></div>

</div>
</li>
<?php } ?>



but regardless of whether a contact lens is in the cart or not, the options are not being shown..

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...