Results 1 to 10 of 1222

Threaded View

  1. #11
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: My Checkout Without Account Mod

    Quote Originally Posted by dw08gm View Post
    OK. The differences in code are as follows:

    Add the following code to tpl_modules_no_account.php right below the privacy conditions section"

    Code:
    <?php
      if (CUSTOMERS_REFERRAL_STATUS == 2) {
    ?>
    <?php echo zen_draw_hidden_field('customers_referral', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_referral', '15') . ' id="customers_referral" value="COWOA"'); ?>
    <?php } ?>

    My tpl_modules_no_account.php has the following code at the end:

    Code:
    <?php
      if (CUSTOMERS_REFERRAL_STATUS == 2) {
    ?>
    <fieldset>
    <legend><?php echo TABLE_HEADING_REFERRAL_DETAILS; ?></legend>
    <label class="inputLabel" for="customers_referral"><?php echo ENTRY_CUSTOMERS_REFERRAL; ?></label>
    <?php echo zen_draw_input_field('customers_referral', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_referral', '15') . ' id="customers_referral"'); ?>
    <br class="clearBoth" />
    </fieldset>
    <?php } ?>
    The file that included this information is not in the tpl_modules_no_account.php file, it is in the admin/customer.php. On v1.5.0 on line 1186 and on v1.3.9 line 1169.
    Last edited by countrycharm; 29 May 2012 at 03:20 PM.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

 

 

Similar Threads

  1. Checkout without account problem
    By weblasomnath in forum Addon Templates
    Replies: 0
    Last Post: 23 Nov 2010, 02:56 PM
  2. Checkout without account
    By GDOrn in forum All Other Contributions/Addons
    Replies: 194
    Last Post: 14 Sep 2010, 08:05 PM
  3. Fast and Easy Checkout - Checkout Without Account not showing
    By Lee-oh in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 3 Feb 2010, 05:09 PM
  4. question about the checkout without account mod
    By hxkknba in forum Addon Payment Modules
    Replies: 1
    Last Post: 12 Oct 2009, 05:48 PM
  5. Changing checkout flow with Checkout Without Account (COWOA)?
    By pe7er in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Feb 2008, 06:09 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR