Results 1 to 10 of 673

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Recover Cart

    You might try editing /YOUR_ADMIN/includes/extra_datafiles/recover_cart_filenames.php:
    Code:
    <?php
    /*
      $Id: recover_cart_filenames.php, v4.00.00a 2012/04/23 testuser -> iChoze -> Zen Cart v1.5 $ Exp $
    */
    	define('FILENAME_RECOVER_CART_SALES', 'recover_cart_sales.php');
    	define('FILENAME_STATS_RECOVER_CART_SALES', 'stats_recover_cart_sales.php');
    	define('TABLE_SCART', DB_PREFIX . 'scart');
    ?>
    As it stands (v4.00.00a), the tools associated with this plugin will not show in the menu unless you're a superuser. Try changing each of the first two defines, removing the items marked in red above:
    Code:
    <?php
    /*
      $Id: recover_cart_filenames.php, v4.00.00a 2012/04/23 testuser -> iChoze -> Zen Cart v1.5 $ Exp $
    */
    	define('FILENAME_RECOVER_CART_SALES', 'recover_cart_sales');
    	define('FILENAME_STATS_RECOVER_CART_SALES', 'stats_recover_cart_sales');
    	define('TABLE_SCART', DB_PREFIX . 'scart');
    ?>

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Recover Cart

    While I'm on a roll ... the module isn't PHP 5.3+ ready as /YOUR_ADMIN/recover_cart_sales.php still uses ereg_replace and contains a short-open tag. Change line #81 from
    Code:
    		return ereg_replace('2037' . '$', $year, date(DATE_FORMAT, mktime(0, 0, 0, $month, $day, 2037))); /*lat9-c*/
    to
    Code:
    		return preg_replace('/2037$/', $year, date(DATE_FORMAT, mktime(0, 0, 0, $month, $day, 2037))); /*lat9-c*/
    and line #164 from
    Code:
        <td class="pageHeading" align="left" colspan=6><? echo HEADING_EMAIL_SENT; /*lat9-c*/ ?></td>
    to
    Code:
        <td class="pageHeading" align="left" colspan=6><?php echo HEADING_EMAIL_SENT; /*lat9-c*/ ?></td>

 

 

Similar Threads

  1. Shipping Rates in Cart [support thread]
    By Steven300 in forum Addon Shipping Modules
    Replies: 95
    Last Post: 12 May 2023, 02:39 AM
  2. Shopping Cart Steps Images [Support Thread]
    By Trinity14 in forum Addon Templates
    Replies: 21
    Last Post: 11 Apr 2021, 05:35 AM
  3. v151 AJAX Add to Cart [Support Thread]
    By balihr in forum All Other Contributions/Addons
    Replies: 133
    Last Post: 20 Oct 2020, 02:16 AM
  4. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 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