♥raiwa Posted May 1, 2018 Author Share Posted May 1, 2018 https://apps.oscommerce.com/89uS9&modular-checkout-pages About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted May 24, 2018 Author Share Posted May 24, 2018 Version 1.0.1. uploaded: https://apps.oscommerce.com/89uS9&modular-checkout-pages-bs Change_log 1.0.1: - moved order totals instantiation from product module to main page file. this allows to place the product module below the payment information module where order totals are used. thanks to @inra311 for the report and testing. About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted May 30, 2018 Author Share Posted May 30, 2018 Version 1.0.2. uploaded: https://apps.oscommerce.com/89uS9&modular-checkout-pages-bs Change_log 1.0.2: - fixed inverted panel titles in tpl_cm_cc_summary. thanks to @inra311 for the report. About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
inra311 Posted June 3, 2018 Share Posted June 3, 2018 I found two mistakes when editing (via button 'change address') the shipping or payment address in the modular checkout. Maybe someone can confirm if this is a general mistake or is with my shop installation ony: a) In the 'New shipping address' form, there are no asterisks that indicate which fields are required. b) When the customer has only one address entry in his address book, the address book entries are not shown (OK so far). When the customer now decides not to change the current address, he cannot 'cancel' or go 'back', he has to leave the page with 'Continue' --> Then the empty address fields overwrite the current shipping/payment address so that a blank address is created and stored. He can even finalize the order with no shipping or payment address at all then! (If he has two or more addresses in his address book, the primary address is always pre-selected with the radio button, and this one will be kept when leaving ( --> 'continue') the page with empty new address fields , no problem in this case) Link to comment Share on other sites More sharing options...
♥raiwa Posted June 3, 2018 Author Share Posted June 3, 2018 Hello Ingo @inra311, a.) this is like this in the core checkout_new_address.php which is also used in modular checkout. Nothing to do with modular checkout. If you wish to show the asterisks there, just copy the code from create_account.php to checkout_new_address.php b.) yes, thank you for the report. $customer_default_address_id is missing in the global list. Please add it to cm_csa_shipping_address.php global $oscTemplate, $process, $customer_id, $sendto, $sessiontoken, $redirect_to_shipping, $customer_default_address_id; and cm_cpa_paymant_address.php: global $oscTemplate, $process, $customer_id, $billto, $sessiontoken, $redirect_to_payment_page, $customer_default_address_id; Let me know and I'll update with this fix About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
inra311 Posted June 3, 2018 Share Posted June 3, 2018 The fix for b) seems to cure the problem . Thanks >>If you wish to show the asterisks there, just copy the code from create_account.php to checkout_new_address.php Wouldn't it make sense to have the asterisks wherever we have both required and non-required entries ? I am not sure which part exactly to copy to which position? Any help would be helpful (not an issue of this addon of course, maybe someone else might jump in) (I also modified my create account page so that company name, suburb, telephone number and fax number can be entered but are not required. It still seems strange to me that there is no option anywhere in admin to select which ones should be required and which ones not!) Link to comment Share on other sites More sharing options...
♥raiwa Posted June 3, 2018 Author Share Posted June 3, 2018 9 minutes ago, inra311 said: Wouldn't it make sense to have the asterisks wherever we have both required and non-required entries ? I am not sure which part exactly to copy to which position? Any help would be helpful (not an issue of this addon of course, maybe someone else might jump in) I had this suggested to include in core, but it was rejected. I found my modified file: checkout_new_address.php About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
inra311 Posted June 3, 2018 Share Posted June 3, 2018 Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2018 Share Posted June 12, 2018 Hi, I have problem in modular checkout with pay by PayPal standard button. When select this option and click next nothing appear on next page. Other options working great. Can you help me, how to fix that. Thanks Link to comment Share on other sites More sharing options...
♥raiwa Posted June 12, 2018 Author Share Posted June 12, 2018 Hello @glamocanilaktasi, Can you please give me more information: your exact store version (if 2.3.4.1. CE Frozen or previous cversion.) The PayPal App version, your PHP version and what exact happens, any error message? If you get a blank page, can you please check your error log. About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
♥raiwa Posted June 12, 2018 Author Share Posted June 12, 2018 Sorry forgot: - would be good to know the sort order of your modules in checkout_payment.php and checkout_confirmation.php - if you have modified anything on these 2 pages, in the provided modules or added any aditional modules. I just checked again in 2 test stores and it works flawless. About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2018 Share Posted June 12, 2018 2 hours ago, raiwa said: Sorry forgot: - would be good to know the sort order of your modules in checkout_payment.php and checkout_confirmation.php - if you have modified anything on these 2 pages, in the provided modules or added any aditional modules. I just checked again in 2 test stores and it works flawless. 2 hours ago, raiwa said: Sorry forgot: - would be good to know the sort order of your modules in checkout_payment.php and checkout_confirmation.php - if you have modified anything on these 2 pages, in the provided modules or added any aditional modules. I just checked again in 2 test stores and it works flawless. Hi, I have problem in modular checkout with pay by PayPal standard button. When select this option and click next nothing appear on next page. Other options working great. Can you help me, how to fix that. Thanks Thank you for you answer. My version is v2.3.4 responsive PayPal App v5.018 PHP Version: 5.6.35 (Zend: 2.6.0) No error messages only blank page. In error log apeare [12-Jun-2018 16:53:09 UTC] PHP Fatal error: Cannot redeclare class language in ....../includes/classes/language.php on line 16 if you need my test page to see what happened I would be glad to send you. Thank you Link to comment Share on other sites More sharing options...
♥raiwa Posted June 12, 2018 Author Share Posted June 12, 2018 There are hundreds of different 2.3.4 responsive versions, can you please give the aproximate download date. Then this is important: - would be good to know the sort order of your modules in checkout_payment.php and checkout_confirmation.php - if you have modified anything on these 2 pages, in the provided modules or added any aditional modules Then the blank page means that there are errors, they are just not displayed. The error message in your error log is what I need but it should show more than you posted. Visiting your store with the blank page doesn't help. About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2018 Share Posted June 12, 2018 Modules Group Sort Order Action Set Account Password account 100 Page Heading checkout_confirmation 100 Products checkout_confirmation 200 Order summary checkout_confirmation 300 Payment information checkout_confirmation 400 Comments checkout_confirmation 500 Finalize Order Button checkout_confirmation 600 StepWizard checkout_confirmation 700 Page Heading checkout_payment 100 Payment Address checkout_payment 200 Payment Methods checkout_payment 300 Comments checkout_payment 400 Continue Button checkout_payment 500 StepWizard checkout_payment 600 Page Heading checkout_payment_address 100 Payment Address checkout_payment_address 200 Address Book Entries checkout_payment_address 300 New Payment Address checkout_payment_address 400 Continue Button checkout_payment_address 500 StepWizard checkout_payment_address 600 Page Heading checkout_shipping 100 Shipping Address checkout_shipping 200 Shipping Methods checkout_shipping 300 Comments checkout_shipping 400 Continue Button checkout_shipping 500 StepWizard checkout_shipping 600 Page Heading checkout_shipping_address 100 Shipping Address checkout_shipping_address 200 Address Book Entries checkout_shipping_address 300 New Shipping Address checkout_shipping_address 400 Continue Button checkout_shipping_address 500 StepWizard checkout_shipping_address 600 Redirect Old Order checkout_success 500 Thank You checkout_success 1000 Product Notifications checkout_success 2000 Product Downloads checkout_success 3000 Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2018 Share Posted June 12, 2018 Is this will help you? Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2018 Share Posted June 12, 2018 Version 2.3.4 Instaled 2017-05-12 [12-Jun-2018 16:53:09 UTC] PHP Fatal error: Cannot redeclare class language in /home/administracija/public_html/glamocani-laktasi.com/demopoligon/includes/classes/language.php on line 16 Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2018 Share Posted June 12, 2018 <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License browser language detection logic Copyright phpMyAdmin (select_lang.lib.php3 v1.24 04/19/2002) Copyright Stephane Garin <[email protected]> (detect_language.php v0.1 04/02/2002) */ class language { var $languages, $catalog_languages, $browser_languages, $language; function language($lng = '') { $this->languages = array('ar' => 'ar([-_][[:alpha:]]{2})?|arabic', 'bg' => 'bg|bulgarian', 'br' => 'pt[-_]br|brazilian portuguese', 'ca' => 'ca|catalan', 'cs' => 'cs|czech', 'da' => 'da|danish', 'de' => 'de([-_][[:alpha:]]{2})?|german', 'el' => 'el|greek', 'en' => 'en([-_][[:alpha:]]{2})?|english', 'es' => 'es([-_][[:alpha:]]{2})?|spanish', 'et' => 'et|estonian', 'fi' => 'fi|finnish', 'fr' => 'fr([-_][[:alpha:]]{2})?|french', 'gl' => 'gl|galician', 'he' => 'he|hebrew', 'hu' => 'hu|hungarian', 'id' => 'id|indonesian', 'it' => 'it|italian', 'ja' => 'ja|japanese', 'ko' => 'ko|korean', 'ka' => 'ka|georgian', 'lt' => 'lt|lithuanian', 'lv' => 'lv|latvian', 'nl' => 'nl([-_][[:alpha:]]{2})?|dutch', 'no' => 'no|norwegian', 'pl' => 'pl|polish', 'pt' => 'pt([-_][[:alpha:]]{2})?|portuguese', 'ro' => 'ro|romanian', 'ru' => 'ru|russian', 'sk' => 'sk|slovak', 'sr' => 'sr|serbian', 'sv' => 'sv|swedish', 'th' => 'th|thai', 'tr' => 'tr|turkish', 'uk' => 'uk|ukrainian', 'tw' => 'zh[-_]tw|chinese traditional', 'zh' => 'zh|chinese simplified'); $this->catalog_languages = array(); $languages_query = tep_db_query("select languages_id, name, code, image, directory from " . TABLE_LANGUAGES . " order by sort_order"); while ($languages = tep_db_fetch_array($languages_query)) { $this->catalog_languages[$languages['code']] = array('id' => $languages['languages_id'], 'name' => $languages['name'], 'image' => $languages['image'], 'directory' => $languages['directory']); } $this->browser_languages = ''; $this->language = ''; $this->set_language($lng); } function set_language($language) { if ( (tep_not_null($language)) && (isset($this->catalog_languages[$language])) ) { $this->language = $this->catalog_languages[$language]; } else { $this->language = $this->catalog_languages[DEFAULT_LANGUAGE]; } } function get_browser_language() { $this->browser_languages = explode(',', getenv('HTTP_ACCEPT_LANGUAGE')); for ($i=0, $n=sizeof($this->browser_languages); $i<$n; $i++) { reset($this->languages); while (list($key, $value) = each($this->languages)) { if (preg_match('/^(' . $value . ')(;q=[0-9]\\.[0-9])?$/i', $this->browser_languages[$i]) && isset($this->catalog_languages[$key])) { $this->language = $this->catalog_languages[$key]; break 2; } } } } } ?> Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2018 Share Posted June 12, 2018 I have not modified anything on these 2 pages, and not added any additional modules Link to comment Share on other sites More sharing options...
ArtcoInc Posted June 12, 2018 Share Posted June 12, 2018 @glamocanilaktasi Do you have the original ZIP file you downloaded with the osC code? If so, what is the date on all of the files within that ZIP file (not the date of the ZIP file itself)? M Link to comment Share on other sites More sharing options...
♥raiwa Posted June 12, 2018 Author Share Posted June 12, 2018 I just checked and the store on the domain which appears in the error message is not responsive bootstrap, it is a heavy modified standard 2.3.4 store. Did you have it working before you installed the modular checkout and did you have any modification applied to your old, unmodified checkout_confirmation.php Can you do a fast test: 1. Replace the provided checkout_confirmation.php in the modular checkout package with your old checkout_confirmation.phgp 2. Then replace it with an original checkout_confirmation.php of your 2.3.4 store package. The error says that the language class is already declared somewhere and that you can't redeclare it (if it's really this the error you get on checkout_confirmation.php). The problem is not inside the language class itself, but that it is called twice on the page or one of the modules. So I can only imagine that you have some modification or addition which produces the problem. In an unmodified store it works. About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2018 Share Posted June 12, 2018 This is my original version: INFORMATION Application osCommerce Category E-Commerce Current Version 2.3.4.1 Last Updated 21 November 2017 Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2018 Share Posted June 12, 2018 I was add some new modules in a shop but never modified checkout page Link to comment Share on other sites More sharing options...
♥raiwa Posted June 12, 2018 Author Share Posted June 12, 2018 It seems your store is not the bootstrapped responsive community version. It is the official 2.3.4.1 version installed from your CPanel. And if it is the store referenced in the error message, you have at least discount code added on the checkout payment page. Modular checkout Pages is not for your store version, sorry. About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Guest Posted June 12, 2018 Share Posted June 12, 2018 This is my old working checkout_confirmation.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_PAYMENT)); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } // if there is nothing in the customers cart, redirect them to the shopping cart page if ($cart->count_contents() < 1) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } // avoid hack attempts during the checkout procedure by checking the internal cartID if (isset($cart->cartID) && tep_session_is_registered('cartID')) { if ($cart->cartID != $cartID) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } } // if no shipping method has been selected, redirect the customer to the shipping method selection page if (!tep_session_is_registered('shipping')) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } if (!tep_session_is_registered('payment')) tep_session_register('payment'); if (isset($HTTP_POST_VARS['payment'])) $payment = $HTTP_POST_VARS['payment']; if (!tep_session_is_registered('comments')) tep_session_register('comments'); if (isset($HTTP_POST_VARS['comments']) && tep_not_null($HTTP_POST_VARS['comments'])) { $comments = tep_db_prepare_input($HTTP_POST_VARS['comments']); } // load the selected payment module require(DIR_WS_CLASSES . 'payment.php'); $payment_modules = new payment($payment); require(DIR_WS_CLASSES . 'order.php'); $order = new order; $payment_modules->update_status(); if ( ($payment_modules->selected_module != $payment) || ( is_array($payment_modules->modules) && (sizeof($payment_modules->modules) > 1) && !is_object($$payment) ) || (is_object($$payment) && ($$payment->enabled == false)) ) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL')); } if (is_array($payment_modules->modules)) { $payment_modules->pre_confirmation_check(); } // load the selected shipping module require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping($shipping); require(DIR_WS_CLASSES . 'order_total.php'); $order_total_modules = new order_total; $order_total_modules->process(); // Stock Check $any_out_of_stock = false; if (STOCK_CHECK == 'true') { for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { if (tep_check_stock($order->products[$i]['id'], $order->products[$i]['qty'])) { $any_out_of_stock = true; } } // Out of Stock if ( (STOCK_ALLOW_CHECKOUT != 'true') && ($any_out_of_stock == true) ) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART)); } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_CONFIRMATION); $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); $breadcrumb->add(NAVBAR_TITLE_2); require(DIR_WS_INCLUDES . 'template_top.php'); ?> <h1><?php echo HEADING_TITLE; ?></h1> <?php if ($messageStack->size('checkout_confirmation') > 0) { echo $messageStack->output('checkout_confirmation'); } if (isset($$payment->form_action_url)) { $form_action_url = $$payment->form_action_url; } else { $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'); } echo tep_draw_form('checkout_confirmation', $form_action_url, 'post'); ?> <div class="contentContainer"> <h2><?php echo HEADING_SHIPPING_INFORMATION; ?></h2> <div class="contentText"> <table border="0" width="100%" cellspacing="1" cellpadding="2"> <tr> <?php if ($sendto != false) { ?> <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo '<strong>' . HEADING_DELIVERY_ADDRESS . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br />'); ?></td> </tr> <?php if ($order->info['shipping_method']) { ?> <tr> <td><?php echo '<strong>' . HEADING_SHIPPING_METHOD . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo $order->info['shipping_method']; ?></td> </tr> <?php } ?> </table></td> <?php } ?> <td width="<?php echo (($sendto != false) ? '70%' : '100%'); ?>" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if (sizeof($order->info['tax_groups']) > 1) { ?> <tr> <td colspan="2"><?php echo '<strong>' . HEADING_PRODUCTS . '</strong> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> <td align="right"><strong><?php echo HEADING_TAX; ?></strong></td> <td align="right"><strong><?php echo HEADING_TOTAL; ?></strong></td> </tr> <?php } else { ?> <tr> <td colspan="3"><?php echo '<strong>' . HEADING_PRODUCTS . '</strong> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <?php } for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td valign="top">' . $order->products[$i]['name']; if (STOCK_CHECK == 'true') { echo tep_check_stock($order->products[$i]['id'], $order->products[$i]['qty']); } if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) { for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) { echo '<br /><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'] . '</i></small></nobr>'; } } echo '</td>' . "\n"; if (sizeof($order->info['tax_groups']) > 1) echo ' <td valign="top" align="right">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n"; echo ' <td align="right" valign="top">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table> </div> <h2><?php echo HEADING_BILLING_INFORMATION; ?></h2> <div class="contentText"> <table border="0" width="100%" cellspacing="1" cellpadding="2"> <tr> <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo '<strong>' . HEADING_BILLING_ADDRESS . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo tep_address_format($order->billing['format_id'], $order->billing, 1, ' ', '<br />'); ?></td> </tr> <tr> <td><?php echo '<strong>' . HEADING_PAYMENT_METHOD . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo $order->info['payment_method']; ?></td> </tr> </table></td> <td width="70%" valign="top" align="right"><table border="0" cellspacing="0" cellpadding="2"> <?php if (MODULE_ORDER_TOTAL_INSTALLED) { echo $order_total_modules->output(); } ?> </table></td> </tr> </table> </div> <?php if (is_array($payment_modules->modules)) { if ($confirmation = $payment_modules->confirmation()) { ?> <h2><?php echo HEADING_PAYMENT_INFORMATION; ?></h2> <div class="contentText"> <table border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="4"><?php echo $confirmation['title']; ?></td> </tr> <?php if (isset($confirmation['fields'])) { for ($i=0, $n=sizeof($confirmation['fields']); $i<$n; $i++) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $confirmation['fields'][$i]['title']; ?></td> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $confirmation['fields'][$i]['field']; ?></td> </tr> <?php } } ?> </table> </div> <?php } } if (tep_not_null($order->info['comments'])) { ?> <h2><?php echo '<strong>' . HEADING_ORDER_COMMENTS . '</strong> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></h2> <div class="contentText"> <?php echo nl2br(tep_output_string_protected($order->info['comments'])) . tep_draw_hidden_field('comments', $order->info['comments']); ?> </div> <?php } ?> <div class="contentText"> <div style="float: left; width: 60%; padding-top: 5px; padding-left: 15%;"> <div id="coProgressBar" style="height: 5px;"></div> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td align="center" width="33%" class="checkoutBarFrom"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" class="checkoutBarFrom">' . CHECKOUT_BAR_DELIVERY . '</a>'; ?></td> <td align="center" width="33%" class="checkoutBarFrom"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '" class="checkoutBarFrom">' . CHECKOUT_BAR_PAYMENT . '</a>'; ?></td> <td align="center" width="33%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td> </tr> </table> </div> <div style="float: right;"> <?php if (is_array($payment_modules->modules)) { echo $payment_modules->process_button(); } echo tep_draw_button(IMAGE_BUTTON_CONFIRM_ORDER, 'check', null, 'primary'); ?> </div> </div> </div> <script type="text/javascript"> $('#coProgressBar').progressbar({ value: 100 }); </script> </form> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Link to comment Share on other sites More sharing options...
♥raiwa Posted June 12, 2018 Author Share Posted June 12, 2018 Confirmed: this file is from standard, official 2.3.4.1, not BS responsive, You can't use Modular Checkout Pages in your store version. About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.