Jump to content

toughmama

Members
  • Content count

    59
  • Joined

  • Last visited

2 Followers

Profile Information

Recent Profile Visitors

9,086 profile views
  1. toughmama

    [CONTRIBUTION] Sloppy Words Cleaner

    Thx Rainer, Duly noted...
  2. toughmama

    Phone Orders

    Thanks Jack... wonderful. Cheers
  3. toughmama

    JcM New products carousel v7.0 Phoenix

    Phoenix 1.0.5.3 - using latest version downloaded today... - Note - It only happens on the furthest right image
  4. toughmama

    JcM New products carousel v7.0 Phoenix

    When viewing reducing screen, last picture has problem with jumbled info. When viewing on smartphone, no carousel, but viewing SIDEWAYS, you you do get to see 2 products in carousel, but last image is also jumbled.
  5. toughmama

    JcM New products carousel v7.0 Phoenix

    When adding to cart...Picture does not load into the Modul cart
  6. toughmama

    [CONTRIBUTION] Sloppy Words Cleaner

    Just did an install on Phoenix Edition v1.0.5.3 - it did not go well. ideas... ?
  7. toughmama

    Phone Orders

    That is a nice link... but I was unable to make it work... still a PHP newbee What I have is <div class="contentText"> <div class="input-group mb-3"> <?php echo tep_draw_form('search_customers', tep_href_link('phone_orders.php','','SSL'), 'post') . tep_draw_hidden_field('search_form', 'active'); ?> <div style="display:inline-block"> <?php echo TEXT_PHONE_ORDERS_SEARCH_EMAIL.' '. tep_draw_input_field('search_email').'<br>'. TEXT_PHONE_ORDERS_SEARCH_FIRSTNAME.' '. tep_draw_input_field('search_firstname').'<br>'. TEXT_PHONE_ORDERS_SEARCH_LASTNAME.' '. tep_draw_input_field('search_lastname').'<br>'. TEXT_PHONE_ORDERS_SEARCH_PHONE.' '. tep_draw_input_field('search_phone'); ?> </div> ======================================== IF IN FORM FORMAT... THIS IS THE CODE IN WHAT THE PICTURE IS BELOW. <form> <div class="input-group mb-3"> <div class="input-group-prepend"> <span class="input-group-text">Person</span> </div> <input type="text" class="form-control" placeholder="1st Name"> <input type="text" class="form-control" placeholder="Last Name"> </div> <div> <input type="text" class="form-control" placeholder="Phone #"> <input type="text" class="form-control" placeholder="Email"> </div> </form>
  8. toughmama

    Phone Orders

    How do you code it to look like this... make in more inline I used old style code to make it look the new way which is not right... <table><tr><td> Please help/advise. Thx.
  9. Hey Jack,

    Re. Honey Pot Captcha - Latest Upload - a file is missing

    In the NEW Files, you are missing the Contact us

    Failed opening 'includes/honeypot/modules/honeypot_verify_contact_us.php'

    ===============

    Cheers,  Todd

    1. Jack_mcs

      Jack_mcs

      Please see this.

    2. toughmama

      toughmama

      Thx Jack,
      Modified a few things after going thru the forum, and all working now...   Thank you.   Cheers,  Todd

      FYI Only - The most recent instructions still showed /honeypot_verify_contact_us.php
      =====
      3) For contact_us.php,

      FIND:
          $actionRecorder = new actionRecorder('ar_contact_us', (tep_session_is_registered('customer_id') ? $customer_id : null), $name);

      ADD ABOVE:
          /*** BEGIN HONEYPOT ***/
          include('includes/honeypot/modules/honeypot_verify_contact_us.php');
          /*** END HONEYPOT ***/ 

  10. toughmama

    [add-on] Discount Code (support)

    Worked like a dream. Thanks.
  11. toughmama

    [add-on] Discount Code (support)

    OK... I got this code to work... $this->output[] = array('title' => TEXT_DISCOUNT . (!empty($order_info) ? ' (' . $sess_discount_code . ' - ' . $check['discount_values'] . ')' : '') . ':', Output is: Discount (bf2014 - 25%): -$16.98 NOW Trying to get it to look like this: 25% Discount (bf2014): -$16.25 How do I re-arrange the code ?
  12. toughmama

    [add-on] Discount Code (support)

    I love this contrribution I was wondering if there is a way to add the ACTUAL Discount PERCENT given. Right now, I have the Discount Code... but would also like to have the discount % added too Discount (bf2014): to this Discount (bf2014 - 25%): Sub-Total: $67.90 Discount (bf2014): -$16.98 USPS Slow Mail (via FedEx SmartPost): $15.00 Total: $65.93 Cheers, Todd
  13. Dom, Awesome Contribution... kudo's to you. I had before the upgrade 1 year ago and missed it. It will help bring more business back for sure. Thanks for all the extra help in adding in the star rating. Cheers, Todd http://www.theskylantern.com/TnT/customer_testimonials.php
  14. toughmama

    Margin Report v2.10

    Re. Duplicate products because some some product are listed/linked to different categories Here is a fix for the margin_report.php to have single product listing. -------------------------------------- Line 142 if (strpos($this->sql_query, 'distinct') || strpos($this->sql_query, 'group by')) { //$count_string = 'distinct ' . tep_db_input($count_key); $count_string = tep_db_input($count_key); } else { $count_string = tep_db_input($count_key); } ============= Line 405 - change to: $listing_sql = "select p.products_id, p.products_price as products_price, p.products_cost, pd.products_name, IF(s.status, s.specials_new_products_price, NULL) as specials_price, if(s.status, s.specials_new_products_price-p.products_cost, p.products_price-p.products_cost) as margin_dollars, if(s.status, (s.specials_new_products_price-p.products_cost)/s.specials_new_products_price*100, (p.products_price-p.products_cost)/p.products_price*100) as margin_percentage from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.language_id = '" . (int)$languages_id . "' and p.products_id = pd.products_id and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$_GET['manufacturers_id'] . "'"; ============= Line 416 - change to: $listing_sql = "select distinct p.products_id, p.products_price as products_price, p.products_cost, pd.products_name, IF(s.status, s.specials_new_products_price, NULL) as specials_price, if(s.status, s.specials_new_products_price-p.products_cost, p.products_price-p.products_cost) as margin_dollars, if(s.status, (s.specials_new_products_price-p.products_cost)/s.specials_new_products_price*100, (p.products_price-p.products_cost)/p.products_price*100) as margin_percentage from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.language_id = '" . (int)$languages_id . "' and p.products_id = pd.products_id";
×