Simplify RTD checkout process March 14, 2017 04:23PM |
Registered: 7 years ago Posts: 5 |
Re: Simplify RTD checkout process March 14, 2017 04:49PM |
Admin Registered: 16 years ago Posts: 2,160 |
Re: Simplify RTD checkout process March 14, 2017 04:57PM |
Admin Registered: 16 years ago Posts: 2,160 |
<script type="text/javascript"> function rtd_custom_fixes() { if (document.getElementById('cart_view')) document.getElementById('cart_view').style.display='none'; } var LocalComposeCheck_pre=0; var LocalComposeCheck=0; Compose = (function() { var cached_function = Compose; return function() { if (!arguments[0] || arguments[0]=='' || arguments[0]=='setqty') { if (LocalComposeCheck_pre==0) { var stepcode=''; stepcode+="<div id='local_step_1' style='display:block;'>\n"; stepcode+="<center><h3>Design Confirmation<h3></center>\n"; stepcode+="<center><b>Please confirm the following:<b></center>\n"; stepcode+="<ul>\n"; stepcode+="<li>I have proof read this document for spelling and grammar mistakes</li>\n"; stepcode+="<li>I assume full responsibility for the content and layout as it is displayed here</li>\n"; stepcode+="<li>I approve this design for production</li>\n"; stepcode+="<li>I own the rights to use any photo I used in this design</li>\n"; stepcode+="</ul>\n"; stepcode+="<center>\n"; stepcode+="By proceeding, you will confirm all the points listed above<br><br>\n"; stepcode+="<b>Do you confirm them all?</b><br><br><br>\n"; stepcode+="<input type='button' class='SizesStyle' OnClick=\"local_CheckFields();\" Value='Yes'>"; stepcode+=" \n"; stepcode+="<input type='button' class='SizesStyle' OnClick=\"main_display_area('panel_items');document.getElementById('tabs_floatingdiv').style.display='none';\" Value='No'>\n"; stepcode+="</center>\n"; stepcode+="</div>\n"; WriteInFloating(stepcode,800,800); } else { cached_function.apply(this, arguments); } } else { cached_function.apply(this, arguments); LocalComposeCheck_pre=0; } }; }()); function local_CheckFields() { document.getElementById('tabs_floatingdiv').style.display='none'; LocalComposeCheck_pre=1; Compose(); } ComposeEnd = (function() { var cached_function = ComposeEnd; return function() { cached_function.apply(this, arguments); if (LocalComposeCheck==0) LocalComposeCheck=1; }; }()); // ************* when showing cart after composition, automatically place the order RefreshCartEnd = (function() { var cached_function = RefreshCartEnd; return function() { cached_function.apply(this, arguments); if (LocalComposeCheck==1) { LocalComposeCheck=0; main_display_area('commands'); var custom_cartID = document.getElementById("cart_commands_submitorder"); var custom_cartevnt = custom_cartID["onclick"]; if (typeof(custom_cartevnt) == "function") { WriteInFloating = (function() { var cached_function = WriteInFloating; return function() { cached_function.apply(this, arguments); document.getElementById('tabs_floatingdiv').style.display='none'; document.getElementById('panel_commands').style.display='block'; if (document.getElementById('generating_progressbar')) document.getElementById('generating_progressbar').style.display='block'; }; }()); custom_cartevnt.call(custom_cartID); } } }; }()); </script>
Re: Simplify RTD checkout process March 15, 2017 10:13AM |
Registered: 7 years ago Posts: 5 |
Re: Simplify RTD checkout process March 15, 2017 12:25PM |
Admin Registered: 16 years ago Posts: 2,160 |