Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

One page checkout HELP!


kalkal

Recommended Posts

Posted

Im in the process of installing The "One Page Checkout" contribution.

One of the steps is to add something after "global $cart" in includes/modules/payment/paypal_standard.php

The words "global $cart" dont appear in paypal_standard.php only "global $cart_PayPal_Standard_ID;"....is this what they are talking about?

 

Any help would be greatly appreciated!

 

Kurt

Posted

So i followed all the instructions for the "One Page Checkout" contribution and when i was done nothing in my store changed!

There are still 4 pages of checkout, and there are no option in the admin for One Page Checkout.

 

Problems I had with the instructions are

One of the steps is

 

in catalog/includes/modules/payment/paypal_standard.php

AFTER

 

global $cart

 

 

ADD

 

/* One Page Checkout - BEGIN */

global $onePageCheckout;

/* One Page Checkout - END */

 

While "global $cart" is not to be found in catalog/includes/modules/payment/paypal_standard.php !!

 

 

The very next step in the same file is-

 

AFTER

 

$email_order .= EMAIL_TEXT_PRODUCTS . "\n" .

EMAIL_SEPARATOR . "\n" .

$products_ordered .

EMAIL_SEPARATOR . "\n";

 

for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) {

$email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n";

}

 

 

ADD

 

/* One Page Checkout - BEGIN */

$sendToFormatted = tep_address_label($customer_id, $sendto, 0, '', "\n");

if (ONEPAGE_CHECKOUT_ENABLED == 'True'){

$sendToFormatted = $onePageCheckout->getAddressFormatted('sendto');

}

 

$billToFormatted = tep_address_label($customer_id, $billto, 0, '', "\n");

if (ONEPAGE_CHECKOUT_ENABLED == 'True'){

$billToFormatted = $onePageCheckout->getAddressFormatted('billto');

}

/* One Page Checkout - END */

 

While this has already been done!!

 

 

Some of the last steps include editing these files which dont exist in my catalog!!

 

catalog/includes/modules/payment/protx_direct.php

catalog/protx_process.php

 

 

 

Any help????

 

Kurt

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...