Yes, you can start by overriding one declaration:
<link rel="stylesheet" href="https://auxano.foxycart.com/themes/standard/styles.css" type="text/css" media="screen" charset="utf-8" /> <style type="text/css" media="screen"> #fc_checkout_container fieldset, #fc_receipt_container fieldset { margin-left:0; } </style>
You can stick that override in your own CSS file if you want, rather than inline. Just make sure it comes after the /themes/standard/styles.css call.
Yes. Using the built-in jQuery, it'd look like this:
<script type="text/javascript" charset="utf-8"> $j(document).ready(function(){ $j('#li_cc_cvv2').remove(); }); </script>
Put that down by your closing </body>
Yes, with just a bit of jQuery:
<script type="text/javascript" charset="utf-8"> $j(document).ready(function(){ $j('#fc_custom_fields_container').insertAfter('#fc_shipping_container'); }); </script>
Put that down by your closing </body>. If you want to move it to a different place in the code, just change the target of the insertAfter() function.
Sure. Just get a little creative with your checkout template. By adding this code (after you call the checkout placeholders), your customer_phone will now be required:
v0.3.0 and later:
<script type="text/javascript" charset="utf-8"> /* <![CDATA[ */ $j(document).ready(function(){ // add the required class $j("#customer_phone").addClass("fc_required"); // add an asterisk to the label $j("#li_customer_phone label.fc_label_left").append("<span class=\"fc_ast\">*<\/span>"); // add an error label after the phone $j("#customer_phone").after('<label for="customer_phone" class="fc_error" style="display:none">Please enter your phone number.<\/label>'); // Now add the onblur error checking events $j("#customer_phone").blur(function() { if (this.value == "") { fc_UpdateErrorDisplay(this.name,true); } else { fc_UpdateErrorDisplay(this.name,false); } }); }); /* ]]> */ </script>
v0.2.9 and earlier:
<script type="text/javascript" charset="utf-8"> /* <![CDATA[ */ $j(document).ready(function(){ // add a new required field fc_requiredFields[fc_requiredFields.length] = "customer_phone"; $j("#customer_phone").addClass("fc_required"); // add an error label after the phone $j("#customer_phone").after('<label for="customer_phone" class="fc_error" style="display:none">Please enter your phone number.</label>'); // update required fields error messags as the fields change. $j("input.fc_required").blur(function() { if (this.value == "") { fc_UpdateErrorDisplay(this.name,true); } else { fc_UpdateErrorDisplay(this.name,false); } }); }); /* ]]> */ </script>
Sure. Just add some love like this:
<script type="text/javascript" charset="utf-8"> /* <![CDATA[ */ $j(document).ready(function(){ // add a new purchase order field $j("#purchase_order").after('<input type="hidden" name="purchase_order" id="purchase_order_hidden" value="N/A">'); // remove the old one $j("#li_purchase_order").remove(); // add a note for the customers $j("#li_nopayment").after("<li>We will invoice you directly after your pickup is complete.</li>"); }); /* ]]> */ </script>
Yes. Add this in the head section of your page.
<script type="text/javascript" charset="utf-8"> $j(document).ready(function(){ $j('#save_cc').attr('checked','checked'); }); </script>
Try clearing your image cache. Log into your admin panel, click Templates → Image Cache → Clear all cached images. If that doesn't fix the problem, let us know.
Example to convert from yyyy-mm-dd hh:mm:ss to mm/dd/yyyy:
$format = '%m/%d/%Y'; // New desired format $time = '2007-05-04 20:53:57'; // The timestring (which you'd get from the XML, but it's hardcoded here just as an examle) $time = strtotime($time); // Convert the original to epoch time $time_new = strftime($format,$time); // Convert from epoch time to the new format
Reference: http://us2.php.net/strftime