Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 1 votes

[Contribution] MATC


120 replies to this topic

#1 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 28 May 2008, 19:17

Download Contribution at: http://addons.oscommerce.com/info/5750

#2 cdfcool

  • Community Member
  • 20 posts
  • Real Name:Claudio di Francesco
  • Gender:Male
  • Location:Germany

Posted 29 May 2008, 13:15

Hello Olof, thanks for it, but.....

i´m looking for a way to check the conditions anyway, if the customer has disabled javascript in his browser. Any idea?

kind regards, claudio

#3 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 01 June 2008, 06:23

Hello Claudio,
I actually I don't know of any other way to check if a checkbox is checked other than using javascript. Please tell me if you find any :)
But how often does it happen nowadays that visitors have javascript disabled?

#4 cdfcool

  • Community Member
  • 20 posts
  • Real Name:Claudio di Francesco
  • Gender:Male
  • Location:Germany

Posted 01 June 2008, 09:28

View PostOlof Larsson, on Jun 1 2008, 06:23 AM, said:

Hello Claudio,
I actually I don't know of any other way to check if a checkbox is checked other than using javascript. Please tell me if you find any :)
But how often does it happen nowadays that visitors have javascript disabled?
Hello Olof,

i don´t know too how often Visitors without java come in, but in Germany we have laws, that make this agreements necessary. So it must be assured that the Visitors have read, understood and accepted these terms, they have to confirm that in this checkbox.

We are now looking for a way to implement MATC for those who use java, but also a way to make checkouts impossible, if there is someone without java and wants to checkout without agreement of the terms.

It can be with a additional line that shows the visitor he didn´t agree or a simple redirect on this confirm-page. The way should be, first checking if java is active, if not, going a php-way to check the box, it can be another box at the same place, but with the same function.

I hope my english is not too bad, and you understan, what i mean.

MATC is one of the best agreement-tools i´ve seen for osc, but this little feature is for us Germans important to eliminate the possibility to purchase unchecked. The agreement in the account-creation is not critical if not checked, only the checkout is relevant, it averts the possibility for the customer to get unlimited return-time-limits.

kind regards, Claudio

#5 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 01 June 2008, 18:47

Your English is great :)

MATC v2.2 now online

javascript can be disabled.

#6 cdfcool

  • Community Member
  • 20 posts
  • Real Name:Claudio di Francesco
  • Gender:Male
  • Location:Germany

Posted 02 June 2008, 00:06

Your Work is great too...

In the checkout_confirmation doesn´t appear the red line which informs the customer that he has to check the box (ENTRY_GENDER_MATC), when java is disabled.

One small Bug i found: If the agree is disabled in create-account, the error that no box is checked appears, but there is no box to check... :)

Another Thing: Is it possible to separate the Textareas in Create Account and Checkout a little bit? There should be used different Text for each, this would make it perfect. It would be fine, if there were different Texts to use (e.g. TEXT_INFORMATION for the Create_account and TEXT_INFORMATION_PLAIN for Checkout.

BIGGGEST THANKS to you, you made my day now ;)

Edited by cdfcool, 02 June 2008, 00:16.


#7 jay2xra

  • Community Member
  • 15 posts
  • Real Name:matato

Posted 04 June 2008, 02:51

View Postcdfcool, on Jun 2 2008, 01:06 AM, said:

Your Work is great too...

In the checkout_confirmation doesn´t appear the red line which informs the customer that he has to check the box (ENTRY_GENDER_MATC), when java is disabled.

One small Bug i found: If the agree is disabled in create-account, the error that no box is checked appears, but there is no box to check... :)

Another Thing: Is it possible to separate the Textareas in Create Account and Checkout a little bit? There should be used different Text for each, this would make it perfect. It would be fine, if there were different Texts to use (e.g. TEXT_INFORMATION for the Create_account and TEXT_INFORMATION_PLAIN for Checkout.

BIGGGEST THANKS to you, you made my day now ;)


I'm using anti robot validation contrib in user account creation. as long as i have entered a correct validation code, even without checking the MATC checkbox, by just pressing enter, the account will successfully be created and will completely bypass MATC. What do you think?

#8 Paul J. McCain

  • Community Member
  • 30 posts
  • Real Name:PaulJ. M cCain

Posted 04 June 2008, 05:04

hi,
I am having a problem where when my users click the "submit button" after checking the box to accept terms, the page simply refreshes and does not confirm the order. please help!!
Paul

#9 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 04 June 2008, 07:29

Hello,
It seems a made a mistake in the previous version. I uploaded a new version 2.2a. Please test this version and tell me what happens. Thank you for your help in developing by errortesting.

Thanks and Regards, Olof

#10 cdfcool

  • Community Member
  • 20 posts
  • Real Name:Claudio di Francesco
  • Gender:Male
  • Location:Germany

Posted 04 June 2008, 08:34

Hi Olof,

in the last Version unfortunately customers were redirected after a paypal-payment to the confirmation-page, so they couldn´t arrive at the checkout-process and -success.

can you have a look on it before i install this new version, because i have a productive shop, where custumers should buy successful?

thank you, claudio

#11 jay2xra

  • Community Member
  • 15 posts
  • Real Name:matato

Posted 04 June 2008, 09:51

everything works except for that cool disabled button effect.. any advice where to look into?

#12 Pyrophoenix

  • Community Member
  • 4 posts
  • Real Name:S.

Posted 04 June 2008, 17:06

First of all Thank you for that nice feature!

I'm having a problem on checkout_confirmation.php

I can checkout even without ticking the box! Any idea what is wrong?

Best Regards

#13 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 04 June 2008, 19:46

View Postcdfcool, on Jun 4 2008, 08:34 AM, said:

Hi Olof,

in the last Version unfortunately customers were redirected after a paypal-payment to the confirmation-page, so they couldn´t arrive at the checkout-process and -success.

can you have a look on it before i install this new version, because i have a productive shop, where custumers should buy successful?

thank you, claudio


I think the new version (2.2a) will fix this problem.

#14 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 04 June 2008, 19:48

View Postjay2xra, on Jun 4 2008, 09:51 AM, said:

everything works except for that cool disabled button effect.. any advice where to look into?

Hi,
Make sure javascript is enabled.
Make sure you have installed the contribution correctly.
Advice: use the Program Beyond Compare

:)

#15 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 04 June 2008, 19:50

View PostPyrophoenix, on Jun 4 2008, 05:06 PM, said:

First of all Thank you for that nice feature!

I'm having a problem on checkout_confirmation.php

I can checkout even without ticking the box! Any idea what is wrong?

Best Regards

Sorry this is my foolish mistake :blush:
Update to version 2.2a please.

If this does not fix it please ask again.

#16 Pyrophoenix

  • Community Member
  • 4 posts
  • Real Name:S.

Posted 05 June 2008, 07:45

View PostOlof Larsson, on Jun 4 2008, 09:50 PM, said:

Sorry this is my foolish mistake :blush:
Update to version 2.2a please.

If this does not fix it please ask again.

It is version 2.2a unfortunatly ^^'

#17 Pyrophoenix

  • Community Member
  • 4 posts
  • Real Name:S.

Posted 05 June 2008, 07:52

View PostPyrophoenix, on Jun 5 2008, 09:45 AM, said:

It is version 2.2a unfortunatly ^^'
I'm pretty sure that it's a mistake of programmation from my end. I will keep you informed! ^^

#18 Pyrophoenix

  • Community Member
  • 4 posts
  • Real Name:S.

Posted 05 June 2008, 08:09

View PostPyrophoenix, on Jun 5 2008, 09:52 AM, said:

I'm pretty sure that it's a mistake of programmation from my end. I will keep you informed! ^^

Tada ^^...Definitly my mistake...I missed up a line while upgrading to 2.2a...

On checkout_confirmation.php around 360 you need to be carful to put down echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER,'id="TheSubmitButton"') . "\n"; ^^

Anyway still a kickin'ass module!!! Thanks a lot! ^^

[Edit]

Just found out something...how can we change font color? ^^ white on white is a bit difficult to see ^^

#19 Olof Larsson

  • Community Member
  • 91 posts
  • Real Name:Olof Larsson
  • Gender:Male
  • Location:Sweden

Posted 05 June 2008, 12:14

View PostPyrophoenix, on Jun 5 2008, 08:09 AM, said:

Tada ^^...Definitly my mistake...I missed up a line while upgrading to 2.2a...

On checkout_confirmation.php around 360 you need to be carful to put down echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER,'id="TheSubmitButton"') . "\n"; ^^

Anyway still a kickin'ass module!!! Thanks a lot! ^^

[Edit]

Just found out something...how can we change font color? ^^ white on white is a bit difficult to see ^^


Nice ^^
About the bgcolor: You will find it in the javascript in matc.php

#20 RMH

  • Community Member
  • 8 posts
  • Real Name:RMH

Posted 05 June 2008, 18:19

View PostPaul J. McCain, on Jun 4 2008, 07:04 AM, said:

hi,
I am having a problem where when my users click the "submit button" after checking the box to accept terms, the page simply refreshes and does not confirm the order. please help!!
Paul


I'm having the same problem with 2.2a, when a customer is trying to confirm an order the page only refreshes with or without the chack box ticked.
The module works perfectly when a customer shall register a new account but not when he tries to confirm the order.