Jump to content



Photo
* * * * * 5 votes

Simple Checkout - for 2.3.1 (official support thread)


  • Please log in to reply
364 replies to this topic

#221 ONLINE   altoid

altoid
  • Community Sponsor
  • 993 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Hollidaysburg, Pennsylvania

Posted 18 April 2012 - 09:39

@surrfman

Everyone thanks for chiming in!


Above all, the developer is super talented, I respect and appreciate her knowledge and hard-work.

Sincerly,

Timmy C


Timmy C thanks for the follow up and sharing on what you did with consult with those other folks. I'll be watching this add on for further developments, as the concept is great as is the look/feel of the presentation of the checkout process.

Thanks
I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.
I remember what it was like when I first started with osC. It can be overwhelming.
However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.
There are several good pros here on osCommerce. Look around, you'll figure out who they are.

#222   surrfman

surrfman
  • Members
  • 363 posts
  • Real Name:Timmy C
  • Gender:Male
  • Location:Great State of Michigan

Posted 18 April 2012 - 16:55

Have another idea... It was mentioned during my research, possibly code could be inserted into, I would think, the <head> of the checkout.php file. The code would tell the checkout to switch to the stock OSC checkout when it detected an IE8 or other troublesome browser. I know in scanning OSC files, I seen something to that effect, have no idea where. Would it require making sure both checkout methods are turned on in admin?

Also, I have found a site that offers cross-testing testing of all browers, any platform, from their site. First 30 minutes is free. Offers cross-platform developer tools, and debugging of all brower versions. I'd try it, knowing 30 minutes would be wasted trying to figure out what to do!

Here is their site: http://www.browserstack.com/

Here is one that offers even more for less: http://saucelabs.com...CFSWFQAodAnYFvQ

Also found this reading kinda in the groove: http://www.viiratech...er-browser.html
This guy I kinda understand, but not sure how to implement. if it is a stand alone file, code inserted in another existing file. It provides some direction on detecting the browser, but how to get the stuff to tell which checkout to use, that's where I'm lost in the space/time continum.

Anyone have any ideas?

Timmy C

#223   surrfman

surrfman
  • Members
  • 363 posts
  • Real Name:Timmy C
  • Gender:Male
  • Location:Great State of Michigan

Posted 18 April 2012 - 17:54

Not sue how to write the admin stuff, all coolness aside, what about something in admin/checkout allowing the store owner to select which browser to re-direct?

This kinda thinking is what happens when yer a genius who's switch doesn't have an off position!!!

Timmy C

#224   fulluvscents

fulluvscents
  • Members
  • 305 posts
  • Real Name:Jetta
  • Gender:Female
  • Location:Fort Wayne, Indiana

Posted 19 April 2012 - 01:59

@surrfman particularly - and anyone with a MAC.

Please go through the test site in whatever environment you're browsing from, and see if it's working now (http://simplecheckou...om/checkout.php).

Please state your browser, platform (PC or MAC), and any issues that you run into. If I don't respond, it's because I'm gathering information and working on the fixes. Obviously, I can't fix anything if I'm spending all my time responding to each and every question or issue.

#225   surrfman

surrfman
  • Members
  • 363 posts
  • Real Name:Timmy C
  • Gender:Male
  • Location:Great State of Michigan

Posted 19 April 2012 - 03:40

Tried a guest account & to create an account, both got to where the information was input, clicking confirm, gets the Windows hour-glass wait symbol. that's as far as i can get. browser froze, had to do a crtl-alt-delete to kill browser. I do notice there are several small icons, lined-up vertically, mostly just to the outside of the left of any box in center of page; there are some on the right, but not every time I tried to input infomation, seems clicking on confirm increases the count of these icons, Not sure what the iocn is, looks like a small shield with a couple vertical lines in it's center. I am running the test on Windows XP Professional with all service packs, IE8 is the browser. When i switch to Firefox, works perfectly!

#226   ggrant3

ggrant3
  • Members
  • 322 posts
  • Real Name:Greg

Posted 19 April 2012 - 12:47

I just tried a couple purchases and I am experiencing something I was experiencing with my Simple Checkout setup. The first order went through fine but when I went to place a second order a minute later (with the same information) I got the following error when I entered my email address.

"Your E-Mail Address already exists in our records - please log in with the e-mail address or create an account with a different address."

In my shop I would experience this same problem even up to a week after placing the first test order with the same email address.

So for some reason when you checkout as a guest it is still storing the email address in the db and insisting that the person with that email address has an account setup when they actually do not. And there is no way to "login" with that email address if someone didn't setup a password to begin with.

Btw, I am using Firefox 11.0 with a pc

Edited by ggrant3, 19 April 2012 - 12:47.


#227   surrfman

surrfman
  • Members
  • 363 posts
  • Real Name:Timmy C
  • Gender:Male
  • Location:Great State of Michigan

Posted 19 April 2012 - 17:04

Checking back test site this morning, I have the same issue with guest account not releasing, on any browser I put it to!

Another of my genius ideas: I have version 1.6 installed, what if this redirect idea could to re-direct to the earlier version, when browser has a problem. Would having two simple checkout versions enabled be an issue?

Dang... $16.00 for fuel to mow the grass; wonder what the township would say if I went for the natural look!

Timmy C

#228   chemist4

chemist4
  • Members
  • 103 posts
  • Real Name:Tim
  • Gender:Male
  • Location:Missouri

Posted 19 April 2012 - 18:46

@surrfman particularly - and anyone with a MAC.

Please go through the test site in whatever environment you're browsing from, and see if it's working now (http://simplecheckou...om/checkout.php).

Please state your browser, platform (PC or MAC), and any issues that you run into. If I don't respond, it's because I'm gathering information and working on the fixes. Obviously, I can't fix anything if I'm spending all my time responding to each and every question or issue.


Using Safari 5 on Mac OS 10.6.8, everything works up to the shipping/payment page, where the radios do not stay checked. With shipping, the chosen amount is changed in the total but the radio becomes unchecked. If I then select a payment method it also does not stay checked and the shipping returns to the cheapest option. And then clicking the "Continue" button gives me the error that I need to select a payment method.

#229   fulluvscents

fulluvscents
  • Members
  • 305 posts
  • Real Name:Jetta
  • Gender:Female
  • Location:Fort Wayne, Indiana

Posted 21 April 2012 - 04:14

There was a comma where there shouldn't have been, and a span without a closing bracket (>)

The span itself should have destroyed the script in any browser, but it didn't.

In your local TEST files from the v2.2 contribution, do the following and please post back if that fixes anything that you're experiencing.

Line 360:

   .on('click', '#submitCreate, #submitGuest', function(){if ($('#NewAccount .required_icon:visible').size() > 0) alert('<?php echo MESSAGE_FIELDS_REQUIRED;?>');else if ($('#NewAccount .error_icon:visible').size() > 0) alert('<?php echo MESSAGE_FIELDS_ERROR;?>');else {$('#NewAccount').find('input, select, textarea').each(function(){if ($(this).val() == $(this).attr('title')) $(this).val('');});$.post(url,'action='+$(this).attr('id')+'&'+$('#NewAccount').find('input, select, textarea').serialize(),function(data){if (data.msg != '') alert(data.msg);if (data.status == 'success'){$('#Account').dialog('destroy');$('#checkout').show().find('#shippingAddress, #billingAddress').trigger('refresh').end().find('#cartContent').parent().load(url +' #cartContent', function(){$('#cartContent').trigger('refresh');});$('#NewAccount').dialog('destroy');}else alert('<?php echo MESSAGE_ACCOUNT_ERROR;?>');}, 'json');}});});},

Remove the comma from the end of that line.

Line 426:

	    <div class="cartRow6 cartDelete" data-pID="'.$products[$i]['id'].'"><span class="ui-icon ui-icon-trash"</span></div>

Change to:

	    <div class="cartRow6 cartDelete" data-pID="'.$products[$i]['id'].'"><span class="ui-icon ui-icon-trash"></span></div>




I am running this through an IE tester. I still have two issues from my end. The first is the cart delete button not working. The second is that shipping resets to cheapest method when payment is selected (but my radio buttons stay checked). The first works fine in other browsers that I've tested, but the second is across all browsers.

@surrfman

I don't think anyone is interested in entertaining bogus workarounds. Let's get this thing fixed. The old OPC for 2.2 is how old now? I can tell you for a fact that the latest contribution STILL has bugs with fixes that have never been publicly posted. This was just contributed a few months ago. I am not about to leave it hanging with bugs and half cocked "fixes" that don't really fix anything.

@ggrant3

Read one of my very first posts about the guest checkout. I wrote it that way and knew that I wrote it that way. When I've dealt with the bugs/browser issues, I will consider providing instructions that take the "guest" checkout a step further. I still say if they come back, they aren't a guest. They are a client. At this point, that is not a bug. It was intentional.

#230   fulluvscents

fulluvscents
  • Members
  • 305 posts
  • Real Name:Jetta
  • Gender:Female
  • Location:Fort Wayne, Indiana

Posted 21 April 2012 - 08:50

A few hours later and here I am again.

Instead of those two modifications, just check the test site again. I got more done than I expected.

#231 ONLINE   altoid

altoid
  • Community Sponsor
  • 993 posts
  • Real Name:Steve
  • Gender:Male
  • Location:Hollidaysburg, Pennsylvania

Posted 21 April 2012 - 11:01

Jetta, my ie is 9.0 64 bit, but I ran a test anyway. Did the COD option, all OK.

FYI only for you and thanks for your work.
I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.
I remember what it was like when I first started with osC. It can be overwhelming.
However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.
There are several good pros here on osCommerce. Look around, you'll figure out who they are.

#232   ggrant3

ggrant3
  • Members
  • 322 posts
  • Real Name:Greg

Posted 21 April 2012 - 13:48

@fulluvscents

I can understand your point about "if they come back they aren't a guest", but my view is that a lot of people (myself included) just don't want to register with all of their information at every place they shop because they feel like it will open up the doorway to spam, mail marketing, cold calls, etc.

Yes, even with a regular order their information is supplied, but it is supplied only with the intent of receiving their goods or being contacted "if there is a problem".

I personally hate being required to sign up on various websites and I normally don't, I just leave and find someone else selling the same item that doesn't require me to sign up.

Also, being setup the way you have it/designed it, how are they even suppose to be able to login when they come back the second time? Because they would be told their email already exists in the system and they need to login. But if they never "signed up" in the first place, then they never created a password. So technically it would be impossible for them to sign up with their original email.

That means that "if" they decided to sign up this time (on their second visit, and they aren't already frustrated enough) they would have to use a different email address this time only adding to their frustration.

#233   tedbooks

tedbooks
  • Members
  • 165 posts
  • Real Name:ted books

Posted 21 April 2012 - 18:14

i have not been around for a long time, but i am testing to see if i can upgrade my store.
i just installed your contribution and i am having a problem.
my left and right columns are not showing up., any idea as to what is happening.
also in the old fec checkout when a guest would register an @ would be added to the beginning of his email address so he could not login.

#234   tapa

tapa
  • Members
  • 31 posts
  • Real Name:Did S
  • Gender:Male
  • Location:LV

Posted 21 April 2012 - 20:15

@ggrant3

In my site I need only Guest accounts, with Name, Surname, Company name, Country, Phone and E-mail.
So I use v1.6 of Simple Checkout (in v2.2 it's similar).

!!! This is not recommended if you need standart account !!!

In checkout.php I remove:

   else
    {
    $check_email_query = tep_db_query("select count(*) as total from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($_POST['email']) . "'");
    $check_email = tep_db_fetch_array($check_email_query);
    if ($check_email['total'] > 0)
	 {
	 $return['status'] = 'error';
	 $return['msg'] = ENTRY_EMAIL_ADDRESS_ERROR_EXISTS;
	 $return['action'] = 'login';
	 }
    }

Then I remove all unnecessary fields and payment option.

#235   fulluvscents

fulluvscents
  • Members
  • 305 posts
  • Real Name:Jetta
  • Gender:Female
  • Location:Fort Wayne, Indiana

Posted 22 April 2012 - 02:36

My focus is on the fact that the latest version is not working in all browsers, and I personally like it better than the previous one, as do some others. It works in chrome, mozilla, and IE 9. The issues known exist in IE8 and Safari. At this point, since the updates I made, I've been informed that there are still issues in Safari.

I'm using an IE tester, but the tester itself is not accurate. None of them are. I'm also testing in IE9 under IE8 mode, but this is also not accurate because IE9 does not imitate IE8's javascript program, which is precisely what I need. My only other resorts are the feedback of others, or using virtual machines which extends beyond anything that I care to do, since I'm not willing to go out and BUY the operating systems that I need to run these browsers. So, it comes down to feedback.

I'm going to download Safari for PC and test that as well, but I'm not sure how this will compare to safari on mac.

@tapa

Thank you for posting that.

@ggrant3

I am not here to debate the semantics of a guest checkout. I already KNOW the points that you've made. I contributed a "single page checkout" with an optional guest checkout feature and made it clear at that time that I did not put a lot of focus in the guest checkout aspect, and I am not up to debating the reasons why. Take it or leave it or make it work the way you want it to, until something better comes along. If I extend the instructions in the next upload for a full fledged guest checkout, then take advantage of that.

@altoid

Thank you as well.

#236   surrfman

surrfman
  • Members
  • 363 posts
  • Real Name:Timmy C
  • Gender:Male
  • Location:Great State of Michigan

Posted 22 April 2012 - 16:39

You guys are really entertaining, great to get a chuckle just before the Sprint Cup race begins!!!

Anyway... did some checking on getting legacy versions of Internet Explorer to run on Windows 7... If the Windows 7 machine is running anything other than the base "home" version, yer already set-up to run the included "Windows XP" compatibilty mode feature; It is a full version of XP SP3 which should include IE8. From my understanding, seems both IE9 and IE 8 can be run almost, if not simutaneously. The feature was designed for the business user to accept migrating to Windows 7 while mitigating expenses of a complete change of program software.

Here is a link to the info: blog.dotsmart.net/2009/06/24/using-windows-7s-xp-mode-to-run-ie-6-and-ie-7-side-by-side/]

@ ggrant3... Dude, we aren't gonna get this guy just the way you want it! Sit back and watch until this gets hashed through, then take it to a paid code guy. That's my plan, then I'll turn it back over to the community. One of my dream features would be be able to select fields (especially that one for all those foreign countries, USAofA should always be first,) and sort order in the admin panel. Maybe that guest idea could be a future update, as I echo your thoughts on pissin' off customers with unecessary exhanges of info.

@ fulluvscents... "Bogus" Ouch, ya got me back!!!

Tony Stewart starts 23rd... he'll pull out the win TodayI!! When I fielded my Karting Team, he was just a 15 year old teenager!


Have a great Sunday!!!!

Timmy C

Edited by Jan Zonjee, 24 April 2012 - 10:17.


#237   Brainbug125

Brainbug125
  • Members
  • 44 posts
  • Real Name:bob

Posted 22 April 2012 - 18:57

I still say if they come back, they aren't a guest. They are a client. At this point, that is not a bug. It was intentional.



Ummm... What about an option to decide in Admin?
A guest will be a guest until he ' s gettin tired to write each time all his info down .
Admin decide.
In my case I prefer to deal with people knowing their contacts and info.
But not all are like me... Some just needs to be payed not interesting in their info


@surrfman

I have names and contact info.


Agree with you Thats the way i prefer

Edited by Brainbug125, 22 April 2012 - 19:10.


#238   Brainbug125

Brainbug125
  • Members
  • 44 posts
  • Real Name:bob

Posted 22 April 2012 - 19:23

@ggrant3

Take it or leave it or make it work the way you want it to, until something better comes along. If I extend the instructions in the next upload for a full fledged guest checkout, then take advantage of that.


Yup....agree

#239   ggrant3

ggrant3
  • Members
  • 322 posts
  • Real Name:Greg

Posted 22 April 2012 - 23:06

Wow, really??

Why is everyone coming down on me when I just asked a simple (and valid) question?

I completely understand Jetta isn't building this specifically for me. In fact maybe someone could point out the post where I gave a list of demands, because I can't seem to find one.

I appreciate not only her work but everyone's work on here that designs and "gives away" contributions to modify people's sites for various wanted/needed functions that aren't standard.

I simply brought up a concern which also included what I thought was an error. I still don't see how if a customer signs out as a guest on their first visit and then comes back a week later to purchase again how they will be able to "login" in with the previously used email address. Because it prevents them from using that address again unless they login, but I just don't see how they can login if they never created a password. I thought it was an error that needed to be addressed. Apparently it isn't since Jetta said that is the way she designed it.

#240   surrfman

surrfman
  • Members
  • 363 posts
  • Real Name:Timmy C
  • Gender:Male
  • Location:Great State of Michigan

Posted 23 April 2012 - 05:47

@ggrant3... No one is coming down on you, don't take responses so personal!

i'm with ya on whole guest idea; kinda next to impossible to log-in a week later with "non exsistant" password!

Kinda defeats the part & parcel idea of a simple one-pager checkout, with semi-"guest checkout" features!

I'm lov'n it!!!! Ya'll come back now, hear!!!