Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Send or Spend box in customer account info...

    Hi, when a customer has a gv balance available the send or spend box becomes visible.

    How do I keep this box visible at all times int he customer account information? Here is the code:

    PHP Code:
    <?php
    // only show when there is a GV balance
      
    if ($customer_has_gv_balance ) {
    ?>
    <div id="sendSpendWrapper">
    <?php require($template->get_template_dir('tpl_modules_send_or_spend.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_send_or_spend.php'); ?>
    </div>
    <?php
      
    }
    ?>
    <br class="clearBoth" />
    </div>
    Thank you.

  2. #2
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: GV Balance Box?

    Anyone? Help?

  3. #3
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Send or Spend box in customer account info...

    If the customer does not have a GV balance, why would you want to show the box?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Send or Spend box in customer account info...

    Utilizing it for other information. I don't use the GV feature.

  5. #5
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Help to alter this code?

    Hi, how would I change this so that it is shown all the time? Not only when there is a gv balance?

    PHP Code:
    <?php
    // only show when there is a GV balance
      
    if ($customer_has_gv_balance ) {
    ?>
    <div id="sendSpendWrapper">
    <?php require($template->get_template_dir('tpl_modules_send_or_spend.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_send_or_spend.php'); ?>
    </div>
    <?php
      
    }
    ?>
    <br class="clearBoth" />
    </div>

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Help to alter this code?

    Comment out two lines:
    //if ($customer_has_gv_balance ) {

    //}
    PHP Code:
    <?php
    // only show when there is a GV balance
      //if ($customer_has_gv_balance ) {
    ?>
    <div id="sendSpendWrapper">
    <?php require($template->get_template_dir('tpl_modules_send_or_spend.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_send_or_spend.php'); ?>
    </div>
    <?php
      
    //}
    ?>
    <br class="clearBoth" />
    </div>

  7. #7
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Send or Spend box in customer account info...

    joyjoy - Your 2 threads on the same subject have been merged - DO NOT post new threads for the same issue.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 

Similar Threads

  1. Replies: 5
    Last Post: 9 Aug 2012, 09:57 PM
  2. Customer account info with ID
    By ellivir in forum General Questions
    Replies: 1
    Last Post: 25 Apr 2012, 12:04 PM
  3. Can I make all my zencart websites to send order/customer/payment info to CRM system?
    By dogbreed in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 31 Dec 2008, 01:25 PM
  4. Customer account info not passing through
    By agamic in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 6 May 2007, 08:32 AM
  5. Modify login box or create new account info box?
    By torgil in forum Addon Sideboxes
    Replies: 4
    Last Post: 8 Nov 2006, 12:30 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