PDA

View Full Version : Purchase Without Account Extra Product Fields contributtion for osCommerce version 2.3



michael_s
07-12-2013, 03:59 AM
One mistakes in the Install Guide corrected.

Correction In catalog/create_account.php

***FIND:
if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process') && isset($HTTP_POST_VARS['formid']) && ($HTTP_POST_VARS['formid'] == $sessiontoken)) {

***CHANGE TO:
// PWA BOF
if (isset($HTTP_GET_VARS['guest']) && $cart->count_contents() < 1) tep_redirect(tep_href_link(FILENAME_SHOPPING_CART) );
// PWA EOF
$process = false;
if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process') && isset($HTTP_POST_VARS['formid']) && ($HTTP_POST_VARS['formid'] == $sessiontoken)) {
// PWA EOF

But uploaded FULL PACKAGE

More... (http://addons.oscommerce.com/info/8457)