Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

One Page Checkout Support


Guest

Recommended Posts

I haven't been able to figure out the problem with the "Change Address" buttons. My source code shows the exact same HTML for them as is on the ITWebExperts demo page.

 

<table id="changeBillingAddressTable" border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
	<td class="main" align="right"><a id="changeBillingAddress" href="http://www.itwebexperts.com/onepagecheckout/checkout_payment_address.php"><img src="includes/languages/english/images/buttons/button_change_address.gif" border="0" alt="IMAGE_CHANGE_ADDRESS" title=" IMAGE_CHANGE_ADDRESS " width="146" height="22"></a></td>
</tr>
</table>

 

(Note that the defines for this and other buttons are missing on their site. I added them to my /includes/languages/english/checkout.php)

 

I've had this on the live site for a couple of days now and have processed a few orders (one came in just now). So it's working, after a fashion. But what bothers me more than the "Change Address" buttons not working is the same problem with the "Login" button. Existing account holders will no doubt be delighted to return and find this new, compact checkout. But they won't be able to login and may give up rather than try and login elsewhere.

Edited by tokyoguy
Link to comment
Share on other sites

I haven't been able to figure out the problem with the "Change Address" buttons. My source code shows the exact same HTML for them as is on the ITWebExperts demo page.

 

<table id="changeBillingAddressTable" border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
	<td class="main" align="right"><a id="changeBillingAddress" href="http://www.itwebexperts.com/onepagecheckout/checkout_payment_address.php"><img src="includes/languages/english/images/buttons/button_change_address.gif" border="0" alt="IMAGE_CHANGE_ADDRESS" title=" IMAGE_CHANGE_ADDRESS " width="146" height="22"></a></td>
</tr>
</table>

 

(Note that the defines for this and other buttons are missing on their site. I added them to my /includes/languages/english/checkout.php)

 

I've had this on the live site for a couple of days now and have processed a few orders (one came in just now). So it's working, after a fashion. But what bothers me more than the "Change Address" buttons not working is the same problem with the "Login" button. Existing account holders will no doubt be delighted to return and find this new, compact checkout. But they won't be able to login and may give up rather than try and login elsewhere.

 

pm for a possible solution to the change address in STS to try, just had a freelancer look at the project and they appear to have ressolved the issue in V1.03, the other problems you have may be ressolvable by a similar process. Could well be the best $40 I spent!

 

I would like it testing so I can confirm it works before posting the solution.

 

Thanks

Johnny

Getting better with mods but no programmer am I.

Link to comment
Share on other sites

It is meant to be compatible with most if not all payment modules, go ahead and try it on a test server first

I did, of course, try it.

 

On going into checkout.php "There was an error setting payment method, please inform IT Web Experts about this error."

Link to comment
Share on other sites

Other question.

 

Has anyone got an idea where i can find the "Please fill in your billing address for payment options" text to edit?

 

Thanks very much!

 

 

edit: 16:52

 

found it checkout.php <- how obvious

Edited by joske12345
Link to comment
Share on other sites

I did, of course, try it.

 

On going into checkout.php "There was an error setting payment method, please inform IT Web Experts about this error."

 

Did you let IT Web Experts know, so they can fix it?

Link to comment
Share on other sites

I will warn everyone now, payment modules are mostly supported for oscommerce version 2.2 ms2, at some point the oscommerce team changed how the payment modules work. ( ie. they use $paymentmodule->confirmation() to pull up the entry fields and enter orders, rather than using the $paymentmodule->selection() function for the entry fields and the confirmation function for entering orders )

there's code there in the includes/classes/onepage_checkout.php to comment or uncomment to support these, remember to never set the checkout to live without testing your payment method with it, as sometimes it can take some tweaking to get it working 100%.

 

Also, there's a new update coming soon for the charsets.

 

Here's the deal: AJAX only supports sending data back using the UTF-8 charset so we've added a function to help this process work with database data and input entered data to hopefully stop the issues with encodings once and for all.

Link to comment
Share on other sites

I will warn everyone now, payment modules are mostly supported for oscommerce version 2.2 ms2, at some point the oscommerce team changed how the payment modules work. ( ie. they use $paymentmodule->confirmation() to pull up the entry fields and enter orders, rather than using the $paymentmodule->selection() function for the entry fields and the confirmation function for entering orders )

there's code there in the includes/classes/onepage_checkout.php to comment or uncomment to support these, remember to never set the checkout to live without testing your payment method with it, as sometimes it can take some tweaking to get it working 100%.

Stephen

 

Thanks for helping me sort the Protx Direct problem. I am running RC2a, but fixed as above indicating MS2 !!

 

Confusing? But what the hell, it works.

Link to comment
Share on other sites

Hi Stephen Walker,

 

#2: Added the defines for the address book window buttons

 

great, now can I see the buttons in German translation ;-))

 

You know that there is some hard-coded text in checkout (Make Changes? , Already have an account? , If you would like to....)?

 

Do you have a tip for my shipping-/payment-problem ?

i have install the following payment_methods:

a. paypal

b. secupay

c. money order

d. cash on delivery

e. invoice (only for good customers)

and

f. cash on fetching

 

and i have install the following shipping_methods:

a. zones

b. pickup

 

With the contrib "ship2pay" i control, that only can choice the shipping_methods a. if one of the payment_methods a.-e. selected.

If the customers selected the payment_method f., he can only choice the shipping_method b.

 

In the "normal" checkout-way i have no problems with this relation between payment_method and shipping_method.

If a customer select on the first page the shipping-method "zones" he see on the next page only the payment-methods a.-e.

Selected the customer the shipping-method "pickup" he see and can only selected on the next page the payment-method "cash on fetching"

 

With the contrib "one page checkout" the customers see all shipping-methods and payment-methods, but if he selected "zones" and "cash on fetching"

he get an error-message like "There was an error setting payment method, please inform IT Web Experts about this error." Or the other way, the

customer selected "pickup" and one of the payment-methods "paypal, secupay, money order, ...." he get the same error-message.

 

Thanks a lot!

Link to comment
Share on other sites

I have the discount coupon codes and another paypal module that doesn't have the paypal_standard.php and everything worked fine.

 

How did you get the discount coupon to work with this?

 

Thanks,

Sophia

Link to comment
Share on other sites

i installed this contribution and it broke my shipping module (royal mail overseas shipping). I even tried to disable the one page checkout in admin but my total for airmail shipping still shows as $0.00

 

Can someone please help?

 

Here is my royal mail code for airmail shipping:

 

<?php

/*

rmairmail.php

 

Royal Mail Airmail

 

Shipping module for osCommerce

 

Version 2.07 - 14 May 2009

 

A shipping module for UK based osCommerce stores.

 

This version created by Chris Lander from an original contribution

by Stuart Newton (contribution #4473).

 

 

This program is free software; you can redistribute it and/or modify

it under the terms of the GNU General Public License as published by

the Free Software Foundation; either version 2 of the License, or

(at your option) any later version.

 

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

GNU General Public License for more details.

 

You should have received a copy of the GNU General Public License

along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

*/

 

class rmairmail {

var $code, $title, $description, $enabled, $num_zones;

 

// class constructor

function rmairmail() {

global $order, $total_weight;

$this->code = 'rmairmail';

$this->title = MODULE_SHIPPING_RMAIRMAIL_TEXT_TITLE;

$this->description = MODULE_SHIPPING_RMAIRMAIL_TEXT_DESCRIPTION;

$this->sort_order = MODULE_SHIPPING_RMAIRMAIL_SORT_ORDER;

$this->icon = DIR_WS_ICONS . 'shipping_rmairmail.gif'; // upload icon to catalog/images/icon directory

$this->tax_class = MODULE_SHIPPING_RMAIRMAIL_TAX_CLASS;

$this->enabled = ((MODULE_SHIPPING_RMAIRMAIL_STATUS == 'True') ? true : false);

$this->num_zones = 2; // Europe and Rest Of World

 

// Set a few required variables

$dest_country = $order->delivery['country']['iso_code_2']; // Get the destination country

$dest_zone = $this->num_zones; // Set default shipping zone to last zone available

$error = false; // Reset error flag

 

// Only Non-UK Customers to see shipping method. Hide for UK customers

if ($dest_country == 'GB') {

$this->enabled = false;

}else{ // Destination MUST be outside UK

for ($i=1; $i<=$this->num_zones; $i++) {

$constant = 'MODULE_SHIPPING_RMAIRMAIL_COUNTRIES_'.$i;

if (defined($constant)) {

$countries_table = constant('MODULE_SHIPPING_RMAIRMAIL_COUNTRIES_' . $i);

$country_zones = split("[,]", $countries_table);

if (in_array($dest_country, $country_zones)) {

$dest_zone = $i;

break;

}

}

}

}

 

// When cart value above method maximum value

// or where insurance available the insured value exceeded

// Do not use this method

if ($order->info['total'] > MODULE_SHIPPING_RMAIRMAIL_MAX_VALUE) {

$this->enabled = false;

}

 

// Calculate shipping weight taking into account

// Maximum Package Weight you will ship

// Package Tare weight

// Larger packages percent increase

//

// as is done in ..../includes/classes/shipping.php line# 70 - 79

//

if (SHIPPING_BOX_WEIGHT >= $total_weight*SHIPPING_BOX_PADDING/100) {

$shipping_weight = $total_weight+SHIPPING_BOX_WEIGHT;

} else {

$shipping_weight = $total_weight + ($total_weight*SHIPPING_BOX_PADDING/100);

}

 

if ($shipping_weight > SHIPPING_MAX_WEIGHT) { // Split into many boxes

$shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT);

$shipping_weight = $shipping_weight/$shipping_num_boxes;

}

 

// When ship weight over method maximum

// Do not use this method

if ( $shipping_weight > MODULE_SHIPPING_RMAIRMAIL_MAX_WEIGHT) {

$this->enabled = false;

}

 

}

 

// class methods

function quote($method = '') {

global $order, $shipping_weight, $shipping_num_boxes;

 

// Set a few required variables

$dest_country = $order->delivery['country']['iso_code_2']; // Get the destination country

$dest_zone = $this->num_zones; // Set default shipping zone to last zone available

$error = false; // Reset error flag

 

// Only Non-UK Customers to see shipping method. Hide for UK customers

if ($dest_country != 'GB') {

for ($i=1; $i<=$this->num_zones; $i++) {

$countries_table = constant('MODULE_SHIPPING_RMAIRMAIL_COUNTRIES_' . $i);

$country_zones = split("[,]", $countries_table);

if (in_array($dest_country, $country_zones)) {

$dest_zone = $i;

break;

}

}

}

 

// Destination within UK

if ($dest_country == 'GB') {

$error = true;

} else {// Destination is NOT within UK

// Get the cost to ship to the destination zone

$shipping = -1; // Flag no shipping cost available

$zones_cost = constant('MODULE_SHIPPING_RMAIRMAIL_COST_' . $dest_zone);

 

$zones_table = split("[:,]" , $zones_cost);

$size = sizeof($zones_table);

 

// Determine if shipping cost is available

for ($i=0; $i<$size; $i+=2) {

if ($shipping_weight <= $zones_table[$i]) {

$shipping = $zones_table[$i+1];

if(tep_not_null($method) ) {

// Text shown on Checkout_Confirmation

$shipping_method = ''; // Leaving this entry blank causes only the shipping title to show i.e Royal Mail 1st Class Std

}else{

// Text shown on Checkout_shipping

$shipping_method = '';

// Display delivery weight?

if (constant('MODULE_SHIPPING_RMAIRMAIL_DISPLAY_WEIGHT') == 'True') {

// Delivery Weight : x items of n.nnnn Kg's

$shipping_method = MODULE_SHIPPING_RMAIRMAIL_TEXT_WAY. ' : ';

if ($shipping_num_boxes > 1) { // Shipment split between several boxes/packets

$shipping_method = $shipping_method . $shipping_num_boxes . ' '.MODULE_SHIPPING_RMAIRMAIL_TEXT_ITEMS.' ';

}else{

$shipping_method = $shipping_method . $shipping_num_boxes . ' '.MODULE_SHIPPING_RMAIRMAIL_TEXT_ITEM.' ';

}

$shipping_method = $shipping_method . $shipping_weight. ' ' . MODULE_SHIPPING_RMAIRMAIL_TEXT_UNITS;

}

// Display delivery times?

if (constant('MODULE_SHIPPING_RMAIRMAIL_DISPLAY_TIME') == 'True') {

// Ships within 3 to 5 days

$shipping_method = $shipping_method . ' (';

$shipping_method = $shipping_method . ucfirst(MODULE_SHIPPING_RMAIRMAIL_DELIVERY_SHIPPING_TIME) . ')';

}

}

break;

}

}

 

// No shipping cost found

if ($shipping == -1) {

$shipping_cost = 0;

$shipping_method = MODULE_SHIPPING_RMAIRMAIL_UNDEFINED_RATE;

// Shipping charge found, so add together all costs

} else {

$shipping_cost = ($shipping * $shipping_num_boxes) + constant('MODULE_SHIPPING_RMAIRMAIL_HANDLING_' . $dest_zone);

}

}

 

$this->quotes = array('id' => $this->code,

'module' => MODULE_SHIPPING_RMAIRMAIL_TEXT_TITLE,

'methods' => array(array('id' => $this->code,

'title' => $shipping_method,

'cost' => $shipping_cost)));

 

// Need to apply tax ?

if ($this->tax_class > 0) {

$this->quotes['tax'] = tep_get_tax_rate($this->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']);

}

 

if (tep_not_null($this->icon)) $this->quotes['icon'] = tep_image($this->icon, $this->title);

 

if ($error == true) $this->quotes['error'] = MODULE_SHIPPING_RMAIRMAIL_INVALID_ZONE;

 

return $this->quotes;

}

 

 

function check() {

if (!isset($this->_check)) {

$check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_SHIPPING_RMAIRMAIL_STATUS'");

$this->_check = tep_db_num_rows($check_query);

}

return $this->_check;

}

 

function install() {

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Enable RM Airmail', 'MODULE_SHIPPING_RMAIRMAIL_STATUS', 'True', 'Do you want to offer this shipping option?', '6', '0', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");

 

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Tax Class', 'MODULE_SHIPPING_RMAIRMAIL_TAX_CLASS', '0', 'Use the following tax class on the shipping fee.', '6', '0', 'tep_get_tax_class_title', 'tep_cfg_pull_down_tax_classes(', now())");

 

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_SHIPPING_RMAIRMAIL_SORT_ORDER', '9', 'Sort order of display (1 shown first 99 etc shown last to customer)', '6', '0', now())");

 

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Maximum weight to ship', 'MODULE_SHIPPING_RMAIRMAIL_MAX_WEIGHT', '2', 'Enter the maximum weight to ship in Kg\'s', '6', '0', now())");

 

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Maximum value to ship', 'MODULE_SHIPPING_RMAIRMAIL_MAX_VALUE', '39', 'Enter the maximum value to ship in £', '6', '0', now())");

 

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Display delivery weight', 'MODULE_SHIPPING_RMAIRMAIL_DISPLAY_WEIGHT', 'True', 'Do you want to display the shipping weight? (e.g. Delivery Weight : 2.7674 Kg\'s)', '6', '0', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");

 

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Display delivery time', 'MODULE_SHIPPING_RMAIRMAIL_DISPLAY_TIME', 'True', 'Do you want to display the shipping time? (e.g. Ships within 3 to 5 days)', '6', '0', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");

 

for ($i = 1; $i <= $this->num_zones; $i++) {

$default_countries = '';

if ($i == 1) {

$default_countries = 'AL,AD,AM,AT,AZ,BY,BE,BA,BG,HR,CY,CZ,DK,EE,FO,FI,FR,GE,DE,GI,GR,GL,HU,IS,IE,I

T,KZ,KG,LV,LI,LT,LU,MK,MT,MD,MC,NL,NO,PL,PT,RO,RU,SM,SK,SI,ES,SE,CH,TJ,TR,TM,UA,U

Z,VA';

$shipping_table = '.1:1.21,.12:1.31,.14:1.45,.16:1.57,.18:1.7,.2:1.82,.22:1.95,.24:2.06,.26:2.1

8,.28:2.31,.3:2.44,.34:2.66,.38:2.88,.42:3.1,.46:3.32,.5:3.54,.56:3.87,.62:4.2,.6

8:4.53,.74:4.86,.8:5.19,.9:5.74,1:6.29,1.2:7.29,1.4:8.29,1.6:9.29,1.8:10.29,2:11.

29';

}

if ($i == 2) {

$default_countries = 'All Others'; // this must be the lastest zone

$shipping_table = '.1:1.68,.12:1.93,.14:2.19,.16:2.44,.18:2.7,.2:2.94,.22:3.18,.24:3.41,.26:3.6

4,.28:3.88,.3:4.11,.34:4.59,.38:5.07,.42:5.55,.46:6.03,.5:6.51,.56:7.2,.62:7.89,.

68:8.58,.74:9.27,.8:9.96,.9:11.11,1:12.26,1.2:14.46,1.4:16.66,1.6:18.86,1.8:21.06

,2:23.26';

}

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Zone " . $i ." Countries', 'MODULE_SHIPPING_RMAIRMAIL_COUNTRIES_" . $i ."', '" . $default_countries . "', 'Comma separated list of two character ISO country codes that are part of Zone " . $i . ".', '6', '0', now())");

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Zone " . $i ." Shipping Table', 'MODULE_SHIPPING_RMAIRMAIL_COST_" . $i ."', '" . $shipping_table . "', 'Shipping rates to Zone " . $i . " destinations based on a group of maximum order weights. Enter values upto 5,2 decimal places. (12345.67) eg: 2:8.25,10:20.7 - Weights upto 2Kg would cost 8.25, Weights of 2-10kg will cost 20.70. Do not enter KG or currency symbols.', '6', '0', now())");

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Zone " . $i ." Handling Fee', 'MODULE_SHIPPING_RMAIRMAIL_HANDLING_" . $i ."', '0', 'If you want to add extra costs to customers for jiffy bags etc, the cost can be entered below (eg enter 1.50 for a value of £1.50)', '6', '0', now())");

}

}

 

function remove() {

tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')");

}

 

function keys() {

$keys = array('MODULE_SHIPPING_RMAIRMAIL_STATUS'

,'MODULE_SHIPPING_RMAIRMAIL_TAX_CLASS'

,'MODULE_SHIPPING_RMAIRMAIL_SORT_ORDER'

,'MODULE_SHIPPING_RMAIRMAIL_MAX_WEIGHT'

,'MODULE_SHIPPING_RMAIRMAIL_MAX_VALUE'

,'MODULE_SHIPPING_RMAIRMAIL_DISPLAY_WEIGHT'

,'MODULE_SHIPPING_RMAIRMAIL_DISPLAY_TIME'

);

for ($i=1; $i<=$this->num_zones; $i++) {

$keys[] = 'MODULE_SHIPPING_RMAIRMAIL_COUNTRIES_' . $i;

$keys[] = 'MODULE_SHIPPING_RMAIRMAIL_COST_' . $i;

$keys[] = 'MODULE_SHIPPING_RMAIRMAIL_HANDLING_' . $i;

}

return $keys;

}

}

?>

Link to comment
Share on other sites

i installed this contribution and it broke my shipping module (royal mail overseas shipping). I even tried to disable the one page checkout in admin but my total for airmail shipping still shows as $0.00

 

Can someone please help?

 

Here is my royal mail code for airmail shipping:

Remove shipping module (royal mail overseas shipping and re-install that module that often fixes 0 price

Link to comment
Share on other sites

please ignore my post about shipping problems. the items were above maximum weight. However I still need help with making DISCOUNT COUPON CODE work with the one page checkout.

Link to comment
Share on other sites

Where on the onepage checkout page does the coupon field appear? Mine is missing.

 

Are you using CCGV or coupons by indgo?

cause one page checkout has code for CCGV built in to it

Edited by steve_s
Link to comment
Share on other sites

Are you using CCGV or coupons by indgo?

cause one page checkout has code for CCGV built in to it

 

I have Discount Coupon Codes. CCGV is not compatible with OScommerce MS 2.2 which I have. I tried coupons by indgo but had problems so using the Discount Coupon Code.

 

Any idea how to make it work with onepagecheckout?

Link to comment
Share on other sites

I have Discount Coupon Codes. CCGV is not compatible with OScommerce MS 2.2 which I have. I tried coupons by indgo but had problems so using the Discount Coupon Code.

 

Any idea how to make it work with onepagecheckout?

 

Do you have any valid coupons set up maybe if no valid coupon coupon box doesnt show, i know there is some code you can comment out

 

Did you have a box on checkout_payment.php where you would enter the coupon code in or an infobox?

 

If so easiest way is to move <form>down in checkout.php then include the coupon box make sure the <form> is below the coupon box that should work have yet to try it myself on coupons by indgo

Edited by steve_s
Link to comment
Share on other sites

yet to try it myself on coupons by indgo

 

Hi Steve,

i use coupon by ingo too. Can you help me, what must i change?

Or can you send me your checkout.php?!?

 

Many thanks

Anja

Link to comment
Share on other sites

Hi Steve,

i use coupon by ingo too. Can you help me, what must i change?

Or can you send me your checkout.php?!?

 

Many thanks

Anja

 

I haven't added it yet easiest way i can see so far without changing code is to includes the coupon box in right column, so they can enter code in there for now, and not to use custom right column.

 

Sophia you can also try bottom method in checkout.php and alter a bit to your discount coupons

 

or try this in catalog/includes/boxes/coupon_payment.php

find

 tep_hide_session_id() . '<br>');

change to

 tep_hide_session_id() . '<br></form>');

 

now in checkout.php find line that begins with

<td width="100%" valign="top">

change to

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">

				   <tr>

			<td class="main"><b><?php echo TEXT_COUPON_HEADING; ?></b></td>

			  </tr>

		<tr>

			<td><?php require(DIR_WS_INCLUDES . 'boxes/coupon_payment.php'); ?></td>

			  </tr>

		</table>

 

That will have the coupon box at the top of the checkout page before the products in cart, layout should remain the same if not play around abit

Edited by steve_s
Link to comment
Share on other sites

Alas I am struggling with 1.04 completley.

 

No Java.

 

Errors when amending anything in the products section error Fatal error: Call to a member function pre_confirmation_check() on a non-object in /home/simplydr/public_html/w4/includes/classes/onepage_checkout.php on line 611

 

Johnny

 

I have the same problem. I am runnning RC2, manually uprgraded from RC1 and with mods. It comes up when one hits the update button on the checkout page or tries to continue through the checkout.

 

I have tried the MS2 "comment switches" in includes/classes/onepage_checkout.php This does not help.

 

I am using STS with no problems but still the same error with STS off or on.

 

Any help would be greatly appreciated.

 

Thanks,

 

Gregg

Link to comment
Share on other sites

I have the same problem. I am runnning RC2, manually uprgraded from RC1 and with mods. It comes up when one hits the update button on the checkout page or tries to continue through the checkout.

 

I have tried the MS2 "comment switches" in includes/classes/onepage_checkout.php This does not help.

 

I am using STS with no problems but still the same error with STS off or on.

 

Any help would be greatly appreciated.

 

Thanks,

 

Gregg

 

Check all the java files are included its a java error as reported earlier in thread

Link to comment
Share on other sites

I am getting this error when using IE7 also, Firefox has no errors.

 

Fatal error: Call to a member function pre_confirmation_check()

 

Also noted, on IE7 javascript does not work at all for this page. IE7 indicates a JS error at line 0 in file /includes/checkout/checkout.js file. Researching.

 

Otherwise, awesome contribution.

 

-------------UPDATE-----------------

Problem located in /includes/checkout/checkout.js file

I commented out the following section at the beginning of the file (why is there php work in a js file?)

 

<?php // Start - CREDIT CLASS Gift Voucher Contribution ?>

 

var submitter = null;

 

function submitFunction() {

 

submitter = 1;

 

}

 

<?php // End - CREDIT CLASS Gift Voucher Contribution ?>

 

IE7 now fully functional!

Edited by icelos69
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...