Results 1 to 10 of 365

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Location
    County Down, Northern Ireland
    Posts
    302
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Greetings from Ireland. We are trying to get the How Did You Hear About Us ADD ON working on our site www.irishshopper.com. We installed it as per instructions and everything appears 100% in the Control Panel and we successfully added in a number of extra options in the Source Menu. When you go to the site whoever no new field appears asking the new customer how they found the site but whenever you click SUBMIT you get an error message stating you did not complete the field with an answer re how you heard about the site. So it knows about the field/question but isnt showing it on screen. I have this turned off now but can turn it back on if you want to look at it.

    THANK YOU.

  2. #2
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    I'm using zen cart 1.3.9d with COWOA. I installed how_did_you_hear_about_us_v139a and it does work as intended. My question/problem is getting it working with COWOA which makes up about half of the checkouts in my cart.

    Does anyone have how did you hear about us working with COWOA and if so what files did you work with to get it working?

    I have tried copy paste of this rmh referral code

    PHP Code:
    <!-- //rmh referral start -->
     <fieldset>

    <legend><?php echo TABLE_HEADING_REFERRAL_DETAILS?></legend>
    <!--<?php echo zen_draw_separator('pixel_trans.gif''100%''10'); ?> -->
    <!-- <?php echo CATEGORY_SOURCE?> -->
    <label class="inputLabel" for="source" ><?php echo ENTRY_SOURCE?></label>
    <?php echo zen_get_source_list('source', (DISPLAY_REFERRAL_OTHER == 'true' true false)) . '&nbsp;' . (zen_not_null(ENTRY_SOURCE_TEXT) ? '<span class="inputRequirement">' ENTRY_SOURCE_TEXT '</span>'''); ?>
    <br class="clearBoth" />

    <?php
     
    if (DISPLAY_REFERRAL_OTHER == 'true') {
    ?>
    <label class="inputLabel" for="source_other" ><?php echo ENTRY_SOURCE_OTHER?></label>
    <?php echo zen_draw_input_field('source_other''''id="sources_other_name"') .  (zen_not_null(ENTRY_SOURCE_OTHER_TEXT) ? '<span class="inputRequirement">' ENTRY_SOURCE_OTHER_TEXT '</span>'''); ?>
    <br class="clearBoth" />

    </fieldset>
    <?php
    }
    ?>
    <!-- //rmh referral end -->
    from

    /includes/templates/custom/templates/tpl_modules_create_account.php

    into

    /includes/templates/custom/templates/tpl_no_account_default.php


    The input field showed up on the no account checkout form but when the info is entered the referral does not show up in admin/customers/customers


    I also pasted the code into

    /includes/templates/custom/templates/tpl_modules_no_account.php

    the same happens as above. The info doesn't show up in admin.


    What am I missing?

  3. #3
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    ok I been playing around with it some more and now I think I've got it. The referral input area is displaying on the COWOA form and the referral is making it into admin > customers > customers

    So far looks good unless something yet to be discovered was adversely affected by my edits.

    The 2 files I edited were

    includes/templates/custom/templates/tpl_modules_no_account.php

    with rmh code from

    includes/templates/custom/templates/tpl_modules_create_account.php

    and

    /includes/modules/no_account.php

    with rmh code from

    /includes/modules/create_account.php

    The /includes/modules/no_account.php was trickier because it's not at first obvious what needs to be changed.

 

 

Similar Threads

  1. How Did You Hear About Us? mod
    By yeah! in forum All Other Contributions/Addons
    Replies: 15
    Last Post: 28 Dec 2011, 06:28 PM
  2. Database Errors - Duplicate Entries - How Did You Hear About Us Mod
    By limelites in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 7 Sep 2010, 08:59 PM
  3. How Did You Hear About Us Mod...2 Instances Possible??
    By jdw1979 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 26 Mar 2010, 02:14 PM
  4. How Did You Hear Did You About Us -- I want to install it correctly
    By johnd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Feb 2008, 03:21 AM
  5. Error in admin - PayPal - when using How Did You Hear About us mod
    By TrvlFox in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 23 Nov 2007, 03:23 PM

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