Jump to content
NimaP

One Page Checkout Support

Recommended Posts

Hi sammie,

 

Thanks for your reply.

I only need DCC module, I don't want to install CCGV module.

 

Best Regards,

Share this post


Link to post
Share on other sites
Thanks for your reply.

I only need DCC module, I don't want to install CCGV module.

 

Best Regards,

 

Okay, it is your choice. I can only say that installing the module which is specially created to work with one page checkout is easier to install and you can disable the vouchers in your admin. I only use the discount coupons...

 

 

cheers

Share this post


Link to post
Share on other sites
Was anyone able to make the telephone number field a required field? If so how?

 

Hi Sofia,

 

includes/checkout/billing_Address.php

find

<td class="main"><?php echo ENTRY_TELEPHONE; ?><br><?php echo tep_draw_input_field('billing_telephone', (isset($_SESSION['onepage']['customer']) ? $_SESSION['onepage']['customer']['telephone'] : ''), 'style="width:80%;float:left;"'); ?></td>

 

change it to

  <td class="main"><?php echo ENTRY_TELEPHONE; ?><br><?php echo tep_draw_input_field('billing_telephone', (isset($_SESSION['onepage']['customer']) ? $_SESSION['onepage']['customer']['telephone'] : ''), 'class="required" style="width:80%;float:left;"'); ?></td>

Share this post


Link to post
Share on other sites
Hi,

Now this module Works with CCGV module: http://www.oscommerce.com/community/contri...search,vouchers version 5.20a

 

But I want to know whether it can support Discount Coupon Codes - DCC module ?

 

http://addons.oscommerce.com/info/4269

 

Thanks & Best Regards,

David

 

 

I have the DCC installed on my shop and was unable to get it working with One page checkout. This was discussed earlier in this thread but cant be bothered to search the thread for it. Basically, you need a coder. IT Webexperts quoted me $300 to have them work together.

 

Sophia

Share this post


Link to post
Share on other sites

Has anyone figured out how to solve the issue when you log in and then try to update your billing address on the checkout page (the address does not change until the page is reloaded). The shipping address works fine after fixing the obvious typo in the code, but the billing address is still borked and won't refresh properly... I'm leaning toward checkout.js as the source of the issue...... anyway, if you know more than I do (which would be pretty easy!) do share the fix. :) Thanks!

 

PS It works fine on the demo site. So either they have something newer than 1.06 or it's something that relies on something else that can vary between servers/file versions.

Share this post


Link to post
Share on other sites
Has anyone figured out how to solve the issue when you log in and then try to update your billing address on the checkout page (the address does not change until the page is reloaded). The shipping address works fine after fixing the obvious typo in the code, but the billing address is still borked and won't refresh properly... I'm leaning toward checkout.js as the source of the issue...... anyway, if you know more than I do (which would be pretty easy!) do share the fix. :) Thanks!

 

PS It works fine on the demo site. So either they have something newer than 1.06 or it's something that relies on something else that can vary between servers/file versions.

This is the function that updates the address in checkout.js

 

   updateAddressHTML: function (type){
	var checkoutClass = this;
	this.queueAjaxRequest({
		url: this.pageLinks.checkout,
	data: 'action=' + (type == 'shipping' ? 'getShippingAddress' : 'getBillingAddress'),
		type: 'post',
		beforeSendMsg: 'Updating ' + (type == 'shipping' ? 'Shipping' : 'Billing') + ' Address',
		success: function (data){
			$('#' + type + 'Address').html(data);
		},
		errorMsg: 'There was an error loading your ' + type + ' address, please inform IT Web Experts about this error.'
	});
},

Share this post


Link to post
Share on other sites
This is the function that updates the address in checkout.js

 

Hi Steve,

 

Thanks for the reply. I was looking at that function exactly just a few days ago, but had no idea what to do with it. Perhaps I'll try swapping the 'shipping' condition for billing.

Share this post


Link to post
Share on other sites

Never mind, I solved it.

 

Change line 433 in checkout.php from onePage.updateAddressHTML('payment'); to onePage.updateAddressHTML('billing');

 

Just a typo.

Edited by t_jones_tech

Share this post


Link to post
Share on other sites

I have the Babelfish Transulation installed prior to adding one page checkout. I noticed that if my site is not in english and a customer clicks on checkout they get this error "URL: https://secured.mysite/catalog/checkout_shi...sCsid=..."

 

!-- languages //-->

<tr>

<td>

 

<?php

$Babellink = "http://babelfish.yahoo.com/translate_url?doit=done&url=";

$MainURL = "http://" . $_SERVER["HTTP_HOST"];

$URLlink = $_SERVER["REQUEST_URI"];

$LINKext = "&lp=en_"; # Edit this from en to what ever your original language refernce is.

 

$info_box_contents = array();

$info_box_contents[] = array('text' => 'Babelfish Translation');

 

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('text' => '

 

<!-- BEGIN ALL EDITING -->

<table width="175" border="0">

<tr>

<td><script type="text/javascript">

//<![CDATA[

document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$URLlink.'\"><img src=\"images/languages/english.gif\" width=\"18\" height=\"12\" border=\"1\" alt=\"English\"></a>");

document.close();

//]]>

</script></td>

<td><script type="text/javascript">

//<![CDATA[

document.write("<a style=\"color:#000000;font-weight:normal;\" target=\"_top\" href=\"'.$Babellink.$MainURL.$URLlink.$LINKext.'zh\"><img src=\"images/languages/chinese.gif\" width=\"18\" height=\"12\" border=\"1\" alt=\"Chinese\" /></a>");

document.close();

//]]>

Share this post


Link to post
Share on other sites

The above code is the only file added to mysite from the Babelfish Contribution. Does anyone know where I can change the direction of the page to skip checkout_shipping.php and go to checkout.php?

Share this post


Link to post
Share on other sites
The above code is the only file added to mysite from the Babelfish Contribution. Does anyone know where I can change the direction of the page to skip checkout_shipping.php and go to checkout.php?

 

The error message I get is acturally "HTTP request failed with error SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:lib(20):func(144):reason(134) (60) for URL: https://secured.mysite...."

 

My SSL cert works except for this situation.

Share this post


Link to post
Share on other sites
The error message I get is acturally "HTTP request failed with error SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:lib(20):func(144):reason(134) (60) for URL: https://secured.mysite...."

 

My SSL cert works except for this situation.

That babelfish javascript is interfering with the javascript for one page checkout, why is it there ?, what are you translating?

 

Steve

Share this post


Link to post
Share on other sites

Hello...

 

First of all, _GREAT_ contrib!! Its working GREAT with STS (after some bugfixes)!

 

Is there anyone who has a solution for this contrib in One Page Checkout?

http://addons.oscommerce.com/info/5825

 

It's a great contrib - and it's really needed!

 

It shouldnt be so hard to do it.. because its only a few lines in checkout_process.php that should be changed. If someone knows, PLEASE respond!!

 

Thanks,

Robin.

Share this post


Link to post
Share on other sites
Hello...

 

First of all, _GREAT_ contrib!! Its working GREAT with STS (after some bugfixes)!

 

Is there anyone who has a solution for this contrib in One Page Checkout?

http://addons.oscommerce.com/info/5825

 

It's a great contrib - and it's really needed!

 

It shouldnt be so hard to do it.. because its only a few lines in checkout_process.php that should be changed. If someone knows, PLEASE respond!!

 

Thanks,

Robin.

 

simply do a search in the download files using simple search and replace and add the code in one page checkout, ie create account html, order email will still be html

Share this post


Link to post
Share on other sites
simply do a search in the download files using simple search and replace and add the code in one page checkout, ie create account html, order email will still be html

 

Thanks!

 

I have done that, but when I have added a order the customer details is deleted from their account.....

 

Can you please try to help me out? :)

Share this post


Link to post
Share on other sites

Well folks, I have everything mostly working, but with the 'PayPal IPN Module 2.3.4.7' payment module, when a user is not logged in, he/she receives the pop-up error "There was an error setting payment method.......etc." This error occurs while the checkout page is processing the freshly entered billing address info. Seems to work fine when the user logs in, so there must be a difference in how it is interacting with the module based on logon state. I've already tried commenting out the two error message lines suggested earlier in this thread, no luck. Ideas and solutions most welcome.

Edited by t_jones_tech

Share this post


Link to post
Share on other sites
Thanks!

 

I have done that, but when I have added a order the customer details is deleted from their account.....

 

Can you please try to help me out? :)

Hi send me link to the version of that contribution you are using

Share this post


Link to post
Share on other sites
Well folks, I have everything mostly working, but with the 'PayPal IPN Module 2.3.4.7' payment module, when a user is not logged in, he/she receives the pop-up error "There was an error setting payment method.......etc." This error occurs while the checkout page is processing the freshly entered billing address info. Seems to work fine when the user logs in, so there must be a difference in how it is interacting with the module based on logon state. I've already tried commenting out the two error message lines suggested earlier in this thread, no luck. Ideas and solutions most welcome.

 

 

Make them login first, you can use FEC to combine login/create account to one file, then install account create success skip, so now you only have 2 pages to checkout,

problem solved,

 

Is all i can suggest i tried using a paypal direct standard and one page checkout did some strange things

Share this post


Link to post
Share on other sites

Hi - This looks like a great contibution, but I'm having some problems with it.

I've installed all the files, made the modifications to the correct files and now I queried my database and it give me this:

 

Error

 

SQL query:

 

INSERT INTO configuration_group( configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible )

VALUES ( 7575, 'One Page Checkout', 'Settings for one page checkout', 16, 1 ) ;

 

MySQL said: Documentation

#1146 - Table 'eveningsidestore.configuration_group' doesn't exist

 

I don't understand what I've done wrong. I also can't find this contibution in the admin section to turn on or off. My store looks like it hasn't been affected at all, nothing has changed. Anyone can help? Thanks

 

Liz

Share this post


Link to post
Share on other sites
That babelfish javascript is interfering with the javascript for one page checkout, why is it there ?, what are you translating?

 

Steve

 

 

Thanks Steve for such help again.

 

 

The purpose of the babelfish contribution is to translate the entire site into a few different languages. Even when I disabled one page checkout I got the error. Could it be something else?

Share this post


Link to post
Share on other sites
Hi - This looks like a great contibution, but I'm having some problems with it.

I've installed all the files, made the modifications to the correct files and now I queried my database and it give me this:

 

Error

 

SQL query:

 

INSERT INTO configuration_group( configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible )

VALUES ( 7575, 'One Page Checkout', 'Settings for one page checkout', 16, 1 ) ;

 

MySQL said: Documentation

#1146 - Table 'eveningsidestore.configuration_group' doesn't exist

 

I don't understand what I've done wrong. I also can't find this contibution in the admin section to turn on or off. My store looks like it hasn't been affected at all, nothing has changed. Anyone can help? Thanks

 

Liz

 

Hi Liz

 

for some reason its saying you dont have the configuration_group table are you runing the sql on the right database?

 

Steve

Share this post


Link to post
Share on other sites
Hi Liz

 

for some reason its saying you dont have the configuration_group table are you runing the sql on the right database?

 

Steve

 

I thought I was! There is only one datebase on the account. There are two logins though, didn't think that made a difference.

 

I'm getting this error now when I go to sign in as a customer to the store:

1054 - Unknown column 'guest_account' in 'field list'

 

select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id, guest_account from customers where customers_email_address = 'lizrose95@aol.com' and guest_account='0'

 

[TEP STOP]

 

 

I'm gonna see if reinstalling the files from the contribution helps. Maybe I missed something?

Share this post


Link to post
Share on other sites
Hi Liz

 

for some reason its saying you dont have the configuration_group table are you runing the sql on the right database?

 

Steve

 

 

Hi Steve -

 

So I redid the install and figured out how to run the SQL query in the database (btw you were right, there were two and I queried the wrong one before) and it appeared to work, but not quite.

 

I get this when I try to checkout as a guest customer:

1054 - Unknown column 'customers_dummy_account' in 'field list'

 

insert into orders (customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, customers_dummy_account, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, date_purchased, orders_status, currency, currency_value) values ('', 'Liz Seivert', '', '1111 Fake St.. #7', '', 'West Seneca', '14555', 'NY', 'United States', '', 'llz925@aol.com', '2', '', 'Liz', '', '1111 Fake St.. #7', '', 'West Seneca', '14555', 'NY', 'United States', '2', 'Liz ', '', '1111 Fake St.. #7', '', 'West Seneca', '14555', 'NY', 'United States', '2', 'Check/Money Order', '', '', '', '', now(), '1', 'USD', '1.00000000')

 

[TEP STOP]

______________________________

And I get this if I try to login as a customer account:

 

1054 - Unknown column 'guest_account' in 'field list'

 

select customers_id, customers_firstname, customers_password, customers_email_address, customers_default_address_id, guest_account from customers where customers_email_address = 'lizrose95@aol.com' and guest_account='0'

 

[TEP STOP]

 

Plus the admin site is still not showing anything but a blank page. Your help is much appreciated!!

Liz

Share this post


Link to post
Share on other sites
Thanks Steve for such help again.

 

 

The purpose of the babelfish contribution is to translate the entire site into a few different languages. Even when I disabled one page checkout I got the error. Could it be something else?

Hi Sorry for the delay,

 

for delay it might be something to do with this what im not sure

$MainURL = "http://" . $_SERVER["HTTP_HOST"];

$URLlink = $_SERVER["REQUEST_URI"];

 

Steve

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×