Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2010
    Posts
    552
    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
    552
    Plugin Contributions
    0

    Default Re: GV Balance Box?

    Anyone? Help?

  3. #3
    Join Date
    Jun 2003
    Posts
    33,825
    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
    552
    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
    552
    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
    20,981
    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,825
    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. 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
  2. How do I send BCC to myself when I Send Email to Customer?
    By Zinfandel in forum General Questions
    Replies: 3
    Last Post: 20 Aug 2008, 01:55 PM
  3. cannot send mail -- using gmail account
    By karey in forum General Questions
    Replies: 0
    Last Post: 30 Mar 2008, 04:30 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. Lining up info correctly on the My Account / Order Info Page
    By eist1 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Sep 2006, 09:34 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
  •