Jump to content
Latest News: (loading..)

zpupster

Members
  • Content count

    339
  • Joined

  • Last visited

Posts posted by zpupster


  1. Mr. Phil,

    I am on lunarpages , and they said there was no chance of lowering the php version on the  server.

    I thought I had a choice of what php version to use on my  site in Cpanel. I guess not  -now.

    alternatively, I could look for another host. I have been with lunarpages for quite some time now. I would hate to change

     

    TY,

    Zpupster


  2. hello support,

    i run OSC 2.3.4 ( frozen or edge ?? do not remember)

    today our site was hit with a lot of errors showing on  the homepage.

    php version was updated from 5.6 to 7.2. Boss was notified not me.

    the provider for this site turned off  errors, so it is time to upgrade.

     

    So what version is working with php 7.2?? 

     

    thanks,

    zpupster

     


  3. Hello Support,

    oscommerce 234 BS

    Is there a way to turn categories on and off in the admin.

    Searched for an addon with --Turn categories  off" ----nothing seems to apply.

    Searched the forum also , and surprised it has not come up before.

    I can always delete the category from the database, but it would seem easier to have a button to turn them on and off --like the products.

    Is anyone using an addon for this??  How are the rest of you  turning categories on and off??

     

    TY,

     

    Craig

     


  4. hello support,

    IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>

    ok removing this the add to cart button works.

    How are oscommerce users handling the Not secure warning in the URL of google Chrome?

     

     

    Craig


  5. hello support,

     I am using 2.3.4 responsive oscommerce.

    my add to cart button quit working .  it does not add the product to the cart.

     

    reading thru some other posts, they had an update to this line of code, but this looks right. any suggestions???????

     


     

    <?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')). 'action=add_product', 'NONSSL'), 'post', 'class="form-horizontal" role="form"'); ?>

     i have recently added this to ,htaccess

     

    IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>

    and

    # BEGIN protect xmlrpc
    <IfModule mod_alias.c>
    Redirect 301 /xmlrpc.php http://127.0.0.1
    </IfModule>
    # END protect xmlrpc

     i am not sure if this has anything to do with it.

     

    craig

     


  6. Hello support,

    I am using oscommerce 234 gold edition.

    looking for an add on that turns categories on and off in the admin.

    tried 2 and they did not fit to my version of oscommerce.

    if some kind soul could advise me of a good add on.

     

    Craig


  7. Hello Jim,

    I installed a fresh bsgold 234. i could not get gary's slideshow to work -which is frustrating because i have it working on another site.

    so i gave yous a try.

    Quote

    Banner Rotator Content Module
    for Modular Front Page
    for osCommerce Online Merchant v2.3.4
    Responsive (Bootstrap)

    Version 1.0.2
    December 2016


     

    I am getting duplicate sub categories . my categories_description structure and on the category page shown.

    I am not sure where it is coming from.

     

    craig

    Capture.JPG

    Capture2.JPG



  8.  

    tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Banner Rotator Max Banners', 'MODULE_FRONT_PAGE_BANNER_ROTATOR_MAX_DISPLAY', '5', 'Maximum number of banners that the Banner Rotator will show', '6', '0', now())");
        }

    I am trying to increase the number of banners that show,  it looks like the max was set to four,  I have 5. tried increasing here -no luck

    'MODULE_FRONT_PAGE_BANNER_ROTATOR_MAX_DISPLAY', '5',

    thanks 

    zpupster


  9. yes they all look like this:

     

    http://thesite.com/string-p-1032.html

    http://thesite.com/string-p-132.html

     

    first click on first category like this:

     

    http://thesite.com/string-c-22.html?osCsid=2d2f3b411c65b7baf97e9c971b7bd18a

     

    and then

     

    http://thesite.com/string-c-22.html

    http://thesite.com/string-c-45.html

     

    i do not where it came from or how to track this down, searching my site for string well that would be difficult due to many appearances.

     

    is it just putting the word string for empty quotes.???

     

     

    i will wait for a response but Jack if you do not have an answer then i will probably uninstall and reinstall.

     

    what is the preferred version for BSGold?

     

    thanks,

    craig


  10. Jim,  my thinking is like this,  if i add the global  variable like this to class method in  the freight request module below:

    global $order, $shipping_weight,

    and put a statement in like this:

    $shipping_weight = ($shipping_weight < 150 ? 150 : $shipping_weight);

    and this is where i have trouble to turn off request freight module:

     

    if ($check_flag == false) {
              $this->enabled = false;
            }

    this is the request freight module that appears all the time, we would like it to appear only if the weight is over 150.

     

     

    <?php
    /*
      $Id: rfq.php,v 1.3 2006/02/13 14:29:56 naegle Exp $
      Based upon flat.php / spu.php by M. Halvorsen (http://www.arachnia-web.com)
    
    
    
    
      osCommerce, Open Source E-Commerce Solutions
      http://www.oscommerce.com
    
    
    
    
    
    
      Copyright (c) 2003 osCommerce
    
    
      Released under the GNU General Public License
      
       CHANGES: NOV-20-05
       - formatted to work with latest checkout procedure
       - updated the db queries
       CHANGES: NOV-21-05
       - included icon
       - fixed table configuration
       CHANGES: FEB-13-06
        - Added Disable Zone
      
    */
    
    
      class rfq {
        var $code, $title, $description, $icon, $enabled;
    
    
    // class constructor
        function rfq() {
     global $order;
          $this->code = 'rfq';
          $this->title = MODULE_SHIPPING_RFQ_TEXT_TITLE;
          $this->description = MODULE_SHIPPING_RFQ_TEXT_DESCRIPTION;
          $this->sort_order = MODULE_SHIPPING_RFQ_SORT_ORDER;
          $this->icon = DIR_WS_ICONS . 'shipping_rfq.gif';
          $this->enabled = ((MODULE_SHIPPING_RFQ_STATUS == 'True') ? true : false);
     if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_RFQ_ZONE > 0) ) {
            $check_flag = false;
            $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id <> '" . MODULE_SHIPPING_RQF_ZONE . "' and zone_country_id <> '" . $order->delivery['country']['id'] . "' order by zone_id");
            while ($check = tep_db_fetch_array($check_query)) {
              if ($check['zone_id'] < 1) {
                $check_flag = true;
                break;
              } elseif ($check['zone_id'] == $order->delivery['zone_id']) {
                $check_flag = true;
                break;
              }
    }
    
    
    if ($check_flag == false) {
              $this->enabled = false;
            }
          }
        }
    
    
    // class methods
      
        function quote($method = '') {
     global $order;
    
    
          $this->quotes = array('id' => $this->code,
                                'module' => MODULE_SHIPPING_RFQ_TEXT_TITLE,
                                'methods' => array(array('id' => $this->code,
                                                         'title' => MODULE_SHIPPING_RFQ_TEXT_WAY,
                                                         'cost' =>  MODULE_SHIPPING_RFQ_COST)));
    
    
          if (tep_not_null($this->icon)) $this->quotes['icon'] = tep_image($this->icon, $this->title);
    
    
          return $this->quotes;
        }
    
    
        function check() {
          if (!isset($this->_check)) {
            $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_SHIPPING_RFQ_STATUS'");
            $this->_check = tep_db_num_rows($check_query);
          }
          return $this->_check;
        }
    
    
        function install() {
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Shipping Quotes', 'MODULE_SHIPPING_RFQ_STATUS', 'True', 'Do you want to offer shipping quotes?', '6', '6', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Quote Fee', 'MODULE_SHIPPING_RFQ_COST', '0.00', 'What is the Quote Fee?', '6', '6', now())");
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Shipping Zone', 'MODULE_SHIPPING_RFQ_ZONE', '0', 'If a zone is selected, DISABLE this shipping method for that zone.', '6', '0', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes(', now())");
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_SHIPPING_RFQ_SORT_ORDER', '6', 'Sort order of display.', '6', '6', now())");
        }
    
    
        function remove() {
          $keys = '';
          $keys_array = $this->keys();
          for ($i=0; $i<sizeof($keys_array); $i++) {
            $keys .= "'" . $keys_array[$i] . "',";
          }
          $keys = substr($keys, 0, -1);
    
    
          tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')");
        }
    
    
        function keys() {
          return array('MODULE_SHIPPING_RFQ_STATUS', 'MODULE_SHIPPING_RFQ_COST', 'MODULE_SHIPPING_RFQ_SORT_ORDER', 'MODULE_SHIPPING_RFQ_ZONE');
        }
      }
    ?>

    take a look, 

    if you can advise me that would be great!!

     

    ty again,

     

    craig


  11. hello support,

     

    i am using oscommerce 2.3.4 gold, UPSXML_v1_5 add on.  we use ups exclusively.

     

    this problem(over 150 lbs) has been discussed but i did not see a way to solve it--for our needs.

     

    i saw people complaining they are getting an error over 150 lbs,

     

    we do not receive an error it just breaks up into packages,, which is nice.\

     

    ultimately, we would like to have it not break into packages.

     

    When it reaches a single item weighing over 150, we would instruct our customers to call to our brick and mortar to get the shipping charges.

     

    i installed an addon Request freight quote.

     

     

    so my problem is how to stop it breaking it up into packages and turn off ups shipping options when it is over 150.

     

    see attached for my admin>configuration> shipping/packaging.


     

    post-279530-0-25091900-1493571315_thumb.jpg


  12. ok picking this back up.

     

    i added this key:

    'MODULE_XTR_SHIPPING_FREEAMOUNT_ZONE'

    i added a tb_db_query adding this to db in install

    tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Xtreme no free shipping', 'MODULE_XTR_SHIPPING_FREEAMOUNT_ZONE', 'True', 'Do you want to offer Xtreme free shipping?', '6', '7', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");

    and this is my written function:

     

    function check() {
          if (!isset($this->_check)) {
            $check_query = tep_db_query("select category_id from " . TABLE_CONFIGURATION . " where category_id >188 
    then 'MODULE_XTR_SHIPPING_FREEAMOUNT_ZONE'");
            $this->_check = tep_db_num_rows($check_query);
          }
          return $this->_check;
        }

    i think this function statement is not right --what i am trying to ask the statement to do is--

    if the category id is greater than 188 ( and less than TBD) offer no free shipping 

     

    from includes>languages>modules>shipping> freeamount.php

    define('MODULE_XTR_SHIPPING_FREEAMOUNT_ZONE', 'We Offer No Free Shipping For Xtr Products.');

  13. below is the free amount -free shipping module I use

     

    1) i am not sure if i have to query the db for the category ids

    2)if i do i will and write some statement similar to this

     

      if ($category_id== NUMBER_ OF_CATEGORY_I_DO_NOT_ WANT_FREE_SHIPPING _ON)
         {
    then (NUMBER_ OF_CATEGORY_I_DO_NOT_ WANT_FREE_SHIPPING _ON== 'False')

    3) no idea where to place it in this code.

    /*
      $Id$ freeamount.php 2
    
    
      The Exchange Project - Community Made Shopping!
      http://www.theexchangeproject.org
    
    
      Copyright (c) 2003
    
    
      Released under the GNU General Public License
    
    
      ----------------------------------------------
      ane - 06/02/02 - modified freecount.php to
      allow for freeshipping on minimum order amount
      originally written by dwatkins 1/24/02
      Modified BearHappy 09/04/04
      ----------------------------------------------
    */
    
    
      class freeamount {
        var $code, $title, $description, $icon, $enabled;
    
    
    // class constructor
        function freeamount() {
          global $order, $customer;
    
    
          $this->code = 'freeamount';
          $this->title = MODULE_SHIPPING_FREEAMOUNT_TEXT_TITLE;
          $this->description = MODULE_SHIPPING_FREEAMOUNT_TEXT_DESCRIPTION;
          $this->sort_order = MODULE_SHIPPING_FREEAMOUNT_SORT_ORDER;
          $this->icon ='';
          $this->enabled = ((MODULE_SHIPPING_FREEAMOUNT_STATUS == 'True') ? true : false);
    
    
          if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_FREEAMOUNT_ZONE > 0) ) {
    
    
            $check_flag = false;
            $check_query = tep_db_query("select zone_id, zone_country_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_SHIPPING_FREEAMOUNT_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");
            $order_shipping_country = $order->delivery['country']['id'];
    
    
            while ($check = tep_db_fetch_array($check_query)) {
    
    
              if ($check['zone_id'] < 1) {
                $check_flag = true;
                break;
              } elseif ($check['zone_id'] == $order->delivery['zone_id']) {
    //          } elseif ($check['zone_country_id'] == $order->delivery['country']['id']) {
                $check_flag = true;
                break;
              }
            }
            if ($check_flag == false) {
              $this->enabled = false;
            }
         }
    }
    
    
    // class methods
        function quote($method = '') {
          global $order, $cart, $shipping_weight, $shipping_num_boxes;
    
    
          $dest_country = $order->delivery['country']['id'];
          $currency = $order->info['currency'];
          $get_total = false;
          $get_weight = false;
          $cart_total = $cart->show_total();
    
    
        // 2008-02-06 Joshwa
        // I rewrote this section that removes the value of any items in the card that are on
        // special because it did not take into account that items can have multiple quantities
        if (MODULE_SHIPPING_FREEAMOUNT_HIDE_SPECIALS == 'True') {
          if ($cart->count_contents() > 0) {
            $products = $cart->get_products();
            for ($i=0, $n=sizeof($products); $i<$n; $i++) {
              if ($special_price = tep_get_products_special_price($products[$i]['id'])) {
                $cart_total -= ($special_price * $products[$i]['quantity']);
              }
            }
          }
        }
        // End of modification by Joshwa
    
    
     if ($cart_total < MODULE_SHIPPING_FREEAMOUNT_AMOUNT)
     {
    if (MODULE_SHIPPING_FREEAMOUNT_DISPLAY == 'True')
      {
    $this->quotes['error'] = MODULE_SHIPPING_FREEAMOUNT_TEXT_ERROR;
      }
    $get_total = false;
      } else {
       $get_total = true;
      }
     $total_weight = $shipping_num_boxes * $shipping_weight;
          if ($total_weight > MODULE_SHIPPING_FREEAMOUNT_WEIGHT_MAX)
         {
    if (MODULE_SHIPPING_FREEAMOUNT_DISPLAY == 'True')
      {
           $this->quotes['error'] = MODULE_SHIPPING_FREEAMOUNT_TEXT_TO_HEIGHT;
      }
    $get_weight = false;
     } else {
      $get_weight = true;
     }
    
    
    if (($get_total == true && $get_weight == true))
    {
    $this->quotes = array('id' => $this->code,
    'module' => MODULE_SHIPPING_FREEAMOUNT_TEXT_TITLE,
    'methods' => array(array('id' => $this->code,
    'title' => MODULE_SHIPPING_FREEAMOUNT_TEXT_WAY,
    'cost' => MODULE_SHIPPING_FREEAMOUNT_COST)));
    }
    
    
    
    
     if (tep_not_null($this->icon)) $this->quotes['icon'] = tep_image($this->icon, $this->title);
    
    
     return $this->quotes;
    
    
    }
    
    
        function check() {
          if (!isset($this->_check)) {
            $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_SHIPPING_FREEAMOUNT_STATUS'");
            $this->_check = tep_db_num_rows($check_query);
          }
          return $this->_check;
        }
    
    
        function install() {
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Free Shipping with Minimum Purchase', 'MODULE_SHIPPING_FREEAMOUNT_STATUS', 'True', 'Do you want to offer minimum order free shipping?', '6', '7', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id,  sort_order, date_added) values ('Maximum Weight', 'MODULE_SHIPPING_FREEAMOUNT_WEIGHT_MAX', '10', 'What is the maximum weight you will ship?', '6', '8', now())");
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Display', 'MODULE_SHIPPING_FREEAMOUNT_DISPLAY', 'True', 'Do you want to display text way if the minimum amount is not reached?', '6', '7', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id,  sort_order, date_added) values ('Minimum Cost', 'MODULE_SHIPPING_FREEAMOUNT_AMOUNT', '50.00', 'Minimum order amount purchased before shipping is free?', '6', '8', now())");
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id,  sort_order, set_function, date_added) values ('Disable for Specials', 'MODULE_SHIPPING_FREEAMOUNT_HIDE_SPECIALS', 'True', 'Do you want to disable free shipping for products on special?', '6', '7', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())");
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_SHIPPING_FREEAMOUNT_SORT_ORDER', '0', 'Sort order of display.', '6', '0', now())");
          tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Shipping Zone', 'MODULE_SHIPPING_FREEAMOUNT_ZONE', '0', 'If a zone is selected, only enable this shipping method for that zone.', '6', '0', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes(', now())");
       }
    
    
        function remove() {
          tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')");
        }
    
    
       function keys() {
         $keys = array(
               'MODULE_SHIPPING_FREEAMOUNT_STATUS',
               'MODULE_SHIPPING_FREEAMOUNT_WEIGHT_MAX',
               'MODULE_SHIPPING_FREEAMOUNT_SORT_ORDER',
               'MODULE_SHIPPING_FREEAMOUNT_DISPLAY',
               'MODULE_SHIPPING_FREEAMOUNT_HIDE_SPECIALS',
               'MODULE_SHIPPING_FREEAMOUNT_AMOUNT',
               'MODULE_SHIPPING_FREEAMOUNT_ZONE'
               );
         return $keys;
       }
     }
    ?>

  14. Hello shipping support,

     

    currently using UPS shipping and freeamount shipping module on 2.3.4 BS.

     

    we have my free amount shipping set for free shipping over 500 dollars.

     

    we have a new category that  we can not offer free shipping for that category only.

     

    Can someone suggest an addon for this, 

     

     

    TY,

    Craig


  15. hello support,

     

    I am using Responsive OSCommerce 2.3.4, We started to use the product attributes.

     

    We are using  it for different model numbers , but the  models have different shipping weights,

     

    i have looked at a few of the add ons and most are for 2.2, and the one i found for 2.3 did not carry over the 

    weight with the model number but had the customer pick their shipping weight as an attribute.

     

     

    Could someone suggest an add on that would help me solve my problem.

     

    many thanks,

     

    Craig


  16. hello,

     

    I am using osc234 bootstrap and UPSXML_v1_5 on our website.

     

    everything has been working great.

     

    today i received errors when 3 customers ordered.

    UPSXML Rates Error: : experienced by customer with id 784 on 2016-01-20 16:11:24
    
    Error from cURL: Error [35]: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version experienced by customer with id 784 on 2016-01-20 16:11:24

     i received an email from ups 

    Security Upgrade Required for UPS® Developer Kit APIs
    
    Action is Required
    
    UPS is in the process of upgrading communication security protocols for all web-based applications, including UPS Developer Kit Application Programming Interfaces (APIs), which are used to integrate UPS functionality into your website and applications.
    
    Effective January 26, 2016, the UPS test environment will require the TLS 1.2 security protocol, and will be available for your system testing.
    
    Effective May 31, 2016, UPS will require the TLS 1.2 security protocol in production. After that date, any communication requests submitted to UPS using older protocols (TLS 1.1 or earlier) will fail.
    
    NOTE: From January 19 through May 31, 2016, you may see intermittent failures for any non-compliant transactions.
    
    Please contact your company's IT department or your development team to ensure that any security protocols currently used meet the TLS 1.2 requirement. If you have Java enabled, you must be using version 1.7 or higher to use TLS 1.2. 

    as for my troubleshooting i double checked my ssl certificate and everything is fine.

     

    i need some suggestions,

     

    thanks


  17. hello usu5 support,

     

    Ultimate Seo Urls 5 by FWR

    is this recommended for bootstrap.

     

    could someone post what a seo url is supposed to look like so i can check it with what is coming up with mine. like this??

     

    site.com/prodcut-9404-digital-cellphone-7005p-2121.html

     

    thanks.

×