Contributions
One Page Checkout
The #1 most requested contribution is now a reality. Drastically increase sales and cart conversions with this module. This module features:
<ul type="disc">
<li>Real one page checkout where customer can enter shipping/billing information and view order totals and confirm the order. Eliminates the need of 4 extra pages from the checkout process.</li>
<li>Works with vouchers/coupons module: <a href="http://www.oscommerce.com/community/contributions,282/category,all/search,vouchers">http://www.oscommerce.com/community/contributions,282/category,all/search,vouchers</a> version 5.20a</li>
<li>Admin area to turn it on or off, optional auto-generation of user account password, turn on/off side columns to prevent users from navigating away from checkout</li>
<li>Most billing/shipping modules are fully compatible</li>
<li>No extra navigation/pages for customer to select billing/shipping addresses when they don’t want to use the default, they can add/edit their address right on the page</li>
<li>Does not require JavaScript (but page will have to refreshed in this case)</li>
</ul>
<p>Demo URL: <a href="http://www.itwebexperts.com/onepagecheckout/">www.itwebexperts.com/onepagecheckout/</a> screenshots are also in the contribution files. Sorry, no free support will be provided for this module. Module developed by <a href="http://www.itwebexperts.com">www.itwebexperts.com</a>.
Expand All / Collapse All
1. In the new_address.php, it should be at the top "addNewAddress" not "saveAddress"
2. In the onepage_checkout.php you need to remove the blank return that is at the bottom underneath "success:true" in the saveAddress function
Oh so you want to know about the PayPal Express? This would be if they are using PayPal Pro only though. Specifically "PayPal Pro for osCommerce 2.2MS2+
Direct Payment & Express Checkout
Developed and maintained by:
Brian Burton (dynamoeffects)"
Commented out: checkout.js
if(checkoutClass.amountRemaininginTotal == true){
if ($(':radio[name="payment"]:checked').size() <= 0){
if ($('input[name="payment"]:hidden').size() <= 0){
errMsg += '------------------------------------------------' + "n" +
' Payment Selection Error ' + "n" +
'------------------------------------------------' + "n" +
'You must select a payment method.' + "n";
}
}
}
Added: payment_method.php
At the very top
<?php //---PayPal WPP Modification START ---//-- ?>
<?php if (!$ec_enabled || isset($_GET['ec_cancel']) || (!tep_session_is_registered('paypal_ec_payer_id') && !tep_session_is_registered('paypal_ec_payer_info'))) { ?>
<?php //---PayPal WPP Modification END ---//-- ?>
At the very bottom
<?php
//---PayPal WPP Modification START ---//
} else {
tep_paypal_wpp_switch_checkout_method(FILENAME_CHECKOUT_PAYMENT);
}
//---PayPal WPP Modification END ---//
?>
IF the user is not using the direct payment portion then they will need to:
Add this as well, underneath $selection = $payment_modules->selection();
// Skips PayPal Pro Module, only used for express checkout
for ($i = 0, $n = sizeof($selection); $i < $n; $i++) {
if ($selection[$i]['id'] == 'paypal_wpp') {
array_splice($selection, $i, 1);
break;
}
}
credits to twocats_us for solving the bugs
file uploaded just says the same as text above
latest release is at www.itwebexperts.com/opc1.5.zip file is too big (over 300k) for the OSC contributions that is why we put it there.
we no longer are developing this package anymore, feel free to post your updates or fixes.
Not really a lot of new features, mainly cleanup. One new feature is hide shipping address and ship methods. This one should have less issues then the last messy release. Before reporting bugs make sure you can reproduce the issue at www.itwebexperts.com/onepagecheckout and make a video of the issue in a JING screencast
small fix forgot semi-colon on a sql query, full 1.3 package.
Same as contribution 1.3, just note to use the sql query from sql.sql in the zip file, not the one from install.html, the one from install.html has been removed.
New Features:
1) in admin > config > one page checkout added Telephone Required option
2) in admin > config > one page checkout added Auto-show shipping/billing options
3) in admin > config > one page checkout added Zipcode on different line option
4) Added state select on edit address
5) in admin > config > one page checkout added option to allow showing shipping address to the right of or below billing address
6) in admin > config > one page checkout added option to allow not showing shipping address and shipping methods if weight of order = 0
Bug Fixes:
1) Tab loosing focus on ajax request.
2) Redeem coupon errors
3) on edit address if a state without a tax was selected the tax remained
4) free shipping not an option when was the case
5) paypal fix in installation.
6) selecting /deselecting diff shipping shipping method is lost.
7) order not saving comments
8) different shipping address not saving state
9) fields filled in different order don't update billing options
Version 1.2
#1: cart quantities on checkout.php are updated automatically without clicking update button (update button is now removed)
#2: buysafe support added
#3: logged in customers can update address fields on checkout.php without using the address book popup (option in admin > config > one page checkout for this)
#4: Some fixes for KTG coupons
#5: customer account is now created before going to checkout_process
#6: made OPC respect required values settings for customer fields
#7: fixed alignment of state/province field so it stays aligned when selected
#8: Paypal express support added
#9 Worldpay Junior support added
#10 Added support for the vouchers part of the vouchers/coupons module (before only supported coupons)
#11 Added optional popup loader to keep customers from selecting shipping and payment modules before they finish loading (option in admin > config > one page checkout for this)
#12 Added compatibility for sites that don't use State/Province
#13 Customer accounts are now created before going to checkout_process.php
#1: fixed bug when logged in customer refreshes page javascript error
#2: When updating the quantities at the top of One Page Checkout is delayed until a second click on the update button
#3: Firing off the order totals more often then necessary. When calling (js)updateShippingMethods()
#4: Session IDs are being doubled in the URL when entering the One Page Checkout.
#5: minor osCommerce standards issues
#6: IMAGE_UPDATE_CART and IMAGE_LOGIN added to language file
#7: includes/checkout/cart.php Missing closing anchor
#8: Shipping Tax fix
#9: Bugfix for Paypal Standard and paypal IPN payment modules where it wasn't updating shipping method
#10: Bugfix for latin/swedish/norwegian characters when using other charsets
#11: Protex payment module installation instructions
#12: KTG coupon module support added
Fixes:
- more compatibility for other languages
- paypal ipn pre-order not updating shipping order totals
- fixed bug when logged in customer refreshes page javascript error
all known issues resolved, should be compatible with auto-form fillers now.
- rewrote javascript, loads faster
- fixed bugs like quantity updates
#1: fixed an issue with having single payment methods and getting the pre_confirmation_check error.
#2: fixed an issue where it would require a password even if the fields weren’t present
#3: did some more cleanup with the checkout.js file
#4: fixed some language defines
Updates to code and install
bugs fixed:
#1: Taxes in pricing
#2: Added the defines for the address book window buttons
#3: removed the ability to remember the customers entered information for one page checkout
#4: done some cleanup in the source for the full js functions vs ones that require php
#5: fixed an issue with the password entry where it was being double encrypted resulting in not being able to log in
#6: fixed an issue where the charset's didn't match up, now the checkout file and it's ajax requests are UTF-8
Fixes:
- If there is only 1 payment type, say credit card, the credit card fields do not show up
- Shipping methods pricing is updated correctly now when adding/removing items from cart
- Admin Account Creation set to true now works where it sends customer auto generated password if this is set to true
- Shipping/Payment methods not being selected by default
- Some updates from var sessions to $_SESSION ( for globals compatibility )
- Shipping address not populating for logged in customers ( on initial page load )
Version 1.02
- Added compatibility with SEO URLs, was having issue with repeated checkout page
- Fixed address recording bug in orders page
Fixed bug that was requiring login to checkout even if admin had it set to optional.
The #1 most requested contribution is now a reality. Drastically increase sales and cart conversions with this module. This module features:
<ul type="disc">
<li>Real one page checkout where customer can enter shipping/billing information and view order totals and confirm the order. Eliminates the need of 4 extra pages from the checkout process.</li>
<li>Works with vouchers/coupons module: <a href="http://www.oscommerce.com/community/contributions,282/category,all/search,vouchers">http://www.oscommerce.com/community/contributions,282/category,all/search,vouchers</a> version 5.20a</li>
<li>Admin area to turn it on or off, optional auto-generation of user account password, turn on/off side columns to prevent users from navigating away from checkout</li>
<li>Most billing/shipping modules are fully compatible</li>
<li>No extra navigation/pages for customer to select billing/shipping addresses when they don’t want to use the default, they can add/edit their address right on the page</li>
<li>Does not require JavaScript (but page will have to refreshed in this case)</li>
</ul>
<p>Demo URL: <a href="http://www.itwebexperts.com/onepagecheckout/">www.itwebexperts.com/onepagecheckout/</a> screenshots are also in the contribution files. Sorry, no free support will be provided for this module. Module developed by <a href="http://www.itwebexperts.com">www.itwebexperts.com</a>.
Note: Contributions are used at own risk.