Results 1 to 10 of 34

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Adding additonal confirmation box 2 chkout

    I know I am confusing myself. I have found other threds that refer to jscript files and a few others. But nothing that seems to be helping. The checkboxes are in place and worded correctly. As I have stated before, this is a requirement from my merchant processor before they will approve my account. Even a little clue as to where I need to validate the checkbox would be great. I tried looking for where the box for _CONDITIONS_ is confirmed by doing a search in the developers tool kit. That didn't turn up anything. I'll try some more searches.

  2. #2
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Adding additonal confirmation box 2 chkout

    I am thinking it has to be in a jscript file somewhere.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Adding additonal confirmation box 2 chkout

    Add this:
    define('DISPLAY_CONDITIONS_ON_CHECKOUT', 'true');

    Right above where you have:
    PHP Code:
    if (DISPLAY_CONDITIONS_ON_CHECKOUT == 'true') {
      if (!isset(
    $_POST['conditions']) || ($_POST['conditions'] != '1')) {
        
    $messageStack->add_session('checkout_payment'ERROR_CONDITIONS_NOT_ACCEPTED'error');
      }

    Does it start to work?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Adding additonal confirmation box 2 chkout

    Nope. That didn't work. I am still getting the same results. I can select the box for confirming the terms and conditions and not the other two boxes. And it will still allow me to continue. If I do not select the terms box I receive the error.

    P.S.
    Thank you for all your help. Please excuse my frustrations. I am truely tring to understand.

  5. #5
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Adding additonal confirmation box 2 chkout

    I have moded 3 files in order to get this far. The one thing I haven't been able to figure out or locate in any file is how zc checks that the customer has placed a checkmark in the box argeeing to the terms. In the admin - config - regs there is a way to turn this on and off. How indepth would it be add additional regulations to the admin panel?

  6. #6
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Adding additonal confirmation box 2 chkout

    Found this in tpl_checkout_payment_default.php. does this have to do with validating the check box for the terms?

    ?>
    <?php echo $payment_modules->javascript_validation(); ?>
    <div class="centerColumn" id="checkoutPayment">
    <?php echo zen_draw_form('checkout_payment', zen_href_link(FILENAME_CHECKOUT_CONFIRMATION, '', 'SSL'), 'post', ($flagOnSubmit ? 'onsubmit="return check_form();"' : '')); ?>

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Adding additonal confirmation box 2 chkout

    What is this constant defined as and where:
    ERROR_RETURNS_NOT_ACCEPTED
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Additonal Images Basenames
    By monkeyjr47906 in forum General Questions
    Replies: 2
    Last Post: 3 Feb 2011, 01:10 AM
  2. Additonal Image Uploader?
    By joyjoy in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 22 Oct 2010, 08:34 PM
  3. Create additonal category side box
    By mthem2003 in forum Basic Configuration
    Replies: 1
    Last Post: 5 Jun 2008, 12:57 AM
  4. Adding another box exactly like Categories box? Thanks for help!
    By marshall in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 8 Jun 2007, 09:41 PM
  5. Adding a link to right hand box and adding pages....Please help
    By Ivum in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Mar 2007, 11:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg