Page 47 of 63 FirstFirst ... 37454647484957 ... LastLast
Results 461 to 470 of 623
  1. #461
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    494
    Plugin Contributions
    0

    Default Re: Unable to Save Global Config

    Can we place a FULL SITE link somewhere in the footer?

    In case a mobile user doesn't like mobile view.

  2. #462
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Unable to Save Global Config

    Quote Originally Posted by spawnie69 View Post
    Can we place a FULL SITE link somewhere in the footer?

    In case a mobile user doesn't like mobile view.
    I may be wrong, but I believe the answer is no.

    This template is not creating a separate mobile subdomain (in which case you could provide a link to the standard domain.) It is changing the styling based on the screen size and media device.

  3. #463
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Unable to Save Global Config

    Quote Originally Posted by Jen56789 View Post
    Using a Samsung Phone. I've attached a picture - See how the product picture (top) and Add To Cart button do not fit the screen. Could it be a value in the CMS menu?

    I see what you mean. I fiddled with it a bit using Firebug, but without a full file compare I couldn't find the issue.

    There is div somewhere on the page that is stretching past the edge. That then is pushing the container past the edge and allowing all elemnts with width 100% to also stretch.

    On my test and production sites I have it working correctly so the default should be correct.

    As an aside, I find styling this template to be rather difficult due to the reset.css file.

  4. #464
    Join Date
    Oct 2015
    Posts
    5
    Plugin Contributions
    0

    Default Re: Unable to Save Global Config

    Actually Spawnie69 was right, this problem is solved by one of the latest updates listed at the Numinix site (the Zen Cart site does not list the most recent version)! Installing the files from the 1.6.7 update fixes the bug. I'd advice all users of an earlier version to check whether their product page looks ok on cell phone and if not install the updated files. Thanks Spawnie69 :smile:

    Quote Originally Posted by lindasdd View Post
    I see what you mean. I fiddled with it a bit using Firebug, but without a full file compare I couldn't find the issue.

    There is div somewhere on the page that is stretching past the edge. That then is pushing the container past the edge and allowing all elemnts with width 100% to also stretch.

    On my test and production sites I have it working correctly so the default should be correct.

    As an aside, I find styling this template to be rather difficult due to the reset.css file.

  5. #465
    Join Date
    Sep 2005
    Location
    Ocala, FL
    Posts
    494
    Plugin Contributions
    0

    Default Re: Paypal Express Spacing Issue

    Cool, great to hear Jen56789
    If you happen to accept paypal express you may want to check if you have a spacing issue between the paypal express button and the continue shopping link in the shopping cart with at least one item.
    I have this spacing issue on my samsung phone and my wifes tablet. On desktop looks fine. From what I could find, it was only mentioned once early in the thread but never fixed? not too sure though.
    Attached Images Attached Images  

  6. #466
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: Paypal Express Spacing Issue

    Quote Originally Posted by spawnie69 View Post
    Cool, great to hear Jen56789
    If you happen to accept paypal express you may want to check if you have a spacing issue between the paypal express button and the continue shopping link in the shopping cart with at least one item.
    I have this spacing issue on my samsung phone and my wifes tablet. On desktop looks fine. From what I could find, it was only mentioned once early in the thread but never fixed? not too sure though.
    If anything I would change the CSS styling on that section to display:none; - even though technically you are not supposed to. It is just a distraction.

  7. #467
    Join Date
    Aug 2015
    Location
    UK
    Posts
    14
    Plugin Contributions
    0

    Default Re: Tableau Responsive Theme - Support Thread

    Quote Originally Posted by mikestaps View Post
    This is caused by a change in the includes\modules\pages\index\main_template_vars.php file
    To switch back to the old way first uncomment lines 64 THROUGH 123 and line 126.
    Code:
      /*$sql = "SELECT cd.categories_name, c.categories_image
              FROM   " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
              WHERE      c.categories_id = :categoriesID
              AND        cd.categories_id = :categoriesID
              AND        cd.language_id = :languagesID
              AND        c.categories_status= '1'";
    
      $sql = $db->bindVars($sql, ':categoriesID', $current_category_id, 'integer');
      $sql = $db->bindVars($sql, ':languagesID', $_SESSION['languages_id'], 'integer');
      $category = $db->Execute($sql);
    
      if (isset($cPath) && strpos($cPath, '_'))
      {
        // check to see if there are deeper categories within the current category
        $category_links = array_reverse($cPath_array);
        for($i=0, $n=sizeof($category_links); $i<$n; $i++)
        {
          $sql = "SELECT count(*) AS total
                  FROM   " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
                  WHERE      c.parent_id = :parentID
                  AND        c.categories_id = cd.categories_id
                  AND        cd.language_id = :languagesID
                  AND        c.categories_status= '1'";
    
          $sql = $db->bindVars($sql, ':parentID', $category_links[$i], 'integer');
          $sql = $db->bindVars($sql, ':languagesID', $_SESSION['languages_id'], 'integer');
          $categories = $db->Execute($sql);
    
          if ($categories->fields['total'] < 1)
          {
            // do nothing, go through the loop
          } else {
            $categories_query = "SELECT c.categories_id, cd.categories_name, c.categories_image, c.parent_id
                                 FROM   " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
                                 WHERE      c.parent_id = :parentID
                                 AND        c.categories_id = cd.categories_id
                                 AND        cd.language_id = :languagesID
                                 AND        c.categories_status= '1'
                                 ORDER BY   sort_order, cd.categories_name";
    
            $categories_query = $db->bindVars($categories_query, ':parentID', $category_links[$i], 'integer');
            $categories_query = $db->bindVars($categories_query, ':languagesID', $_SESSION['languages_id'], 'integer');
            break; // we've found the deepest category the customer is in
          }
        }
      } else {
        $categories_query = "SELECT c.categories_id, cd.categories_name, c.categories_image, c.parent_id
                             FROM   " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd
                             WHERE      c.parent_id = :parentID
                             AND        c.categories_id = cd.categories_id
                             AND        cd.language_id = :languagesID
                             AND        c.categories_status= '1'
                             ORDER BY   sort_order, cd.categories_name";
    
        $categories_query = $db->bindVars($categories_query, ':parentID', $current_category_id, 'integer');
        $categories_query = $db->bindVars($categories_query, ':languagesID', $_SESSION['languages_id'], 'integer');
      }
      $categories = $db->Execute($categories_query);
      $number_of_categories = $categories->RecordCount();
      $new_products_category_id = $current_category_id;*/
    
      /////////////////////////////////////////////////////////////////////////////////////////////////////
      //$tpl_page_body = 'tpl_index_categories.php';
      /////////////////////////////////////////////////////////////////////////////////////////////////////
    Next comment out this section (129-196):
    Code:
    //BOF SHOW ALL PRODUCTS FOR PARENT CATEGORIES
       if (SHOW_PRODUCT_INFO_ALL_PRODUCTS == '1') {
        // set a category filter
        $new_products_category_id = $cPath;
      } else {
        // do not set the category
      }
      // create column list
      $define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL,
      'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME,
      'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER,
      'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE,
      'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY,
      'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT,
      'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE);
    
      /*                         ,
      'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW);
      */
      asort($define_list);
      reset($define_list);
      $column_list = array();
      foreach ($define_list as $key => $value)
      {
        if ($value > 0) $column_list[] = $key;
      }
    
      $select_column_list = '';
    
      for ($i=0, $n=sizeof($column_list); $i<$n; $i++)
      {
        switch ($column_list[$i])
        {
          case 'PRODUCT_LIST_MODEL':
          $select_column_list .= 'p.products_model, ';
          break;
          case 'PRODUCT_LIST_NAME':
          $select_column_list .= 'pd.products_name, ';
          break;
          case 'PRODUCT_LIST_MANUFACTURER':
          $select_column_list .= 'm.manufacturers_name, ';
          break;
          case 'PRODUCT_LIST_QUANTITY':
          $select_column_list .= 'p.products_quantity, ';
          break;
          case 'PRODUCT_LIST_IMAGE':
          $select_column_list .= 'p.products_image, ';
          break;
          case 'PRODUCT_LIST_WEIGHT':
          $select_column_list .= 'p.products_weight, ';
          break;
        }
      }
      // always add quantity regardless of whether or not it is in the listing for add to cart buttons
      if (PRODUCT_LIST_QUANTITY < 1) {
        $select_column_list .= 'p.products_quantity, ';
      }
    
      // set the product filters according to selected product type
      $typefilter = 'default';
      if (isset($_GET['typefilter'])) $typefilter = $_GET['typefilter'];
      require(zen_get_index_filters_directory($typefilter . '_filter.php'));
    
      ////////////////////////////////////////////////////////////////////////////////////////////////////////////
      $tpl_page_body = 'tpl_index_product_list.php';
      ////////////////////////////////////////////////////////////////////////////////////////////////////////////
       
       //EOF SHOW ALL PRODUCTS FOR PARENT CATEGORIES
    This will revert to sub-category photos showing when a parent category is selected.

    This is exactly what I wanted to get the category listing back but it seems to break the sort filter and the listing the products by cheapest to highest price. Or the old to new . I am not sure if you can have both. It would be good if you can as the price low to high is a nice feature..

    Has anyone else noticed this and is there a fix somewhere that I have not been able to see on the forum/thread.

    Thank you.

    MG

  8. #468
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Tableau Responsive Theme - Support Thread

    Quote Originally Posted by MIKEYFM View Post
    This is exactly what I wanted to get the category listing back but it seems to break the sort filter and the listing the products by cheapest to highest price. Or the old to new . I am not sure if you can have both. It would be good if you can as the price low to high is a nice feature..

    Has anyone else noticed this and is there a fix somewhere that I have not been able to see on the forum/thread.

    Thank you.

    MG
    I resolved it by doing the following:
    created a file: includes/functions/extra_functions/sort_by_functions.php
    PHP Code:
    <?php

    function order_by_sort_by_sql($sortby$order_by true) {
        if(
    $order_by == true){
        
    $listing_sql ' ORDER BY ';
        }
        switch (
    $sortby) {
            case 
    '1':
                
    //newest
                
    $listing_sql .= " p.products_date_added DESC ";
                break;
            case 
    '3':
                
    //price HIGH->LOW
                
    $listing_sql .= " p.products_price DESC ";
                break;
            case 
    '4':
                
    //price LOW->HIGH
                
    $listing_sql .= " p.products_price ASC ";
                break;
            case 
    '5':
                
    //Name ASC
                
    $listing_sql .= " pd.products_name ASC ";
                break;
            case 
    '6':
                
    //Name DESC
                
    $listing_sql .= " pd.products_name DESC ";
                break;
            case 
    '0':
            default:
                
    //products defualt sort order
                
    $listing_sql .= " p.products_sort_order, pd.products_name";
                break;
        }
        return 
    $listing_sql;
    }
    includes/index_filters/default_filter.php
    commented out: (around line 90ish) also similarly in the includes/modules/advanced_search_results/header_php.php
    PHP Code:
    array('id' => 0'text' => 'Default Order'),
                  array(
    'id' => 1'text' => 'Newest First'),
                  
    //array('id' => 2, 'text' => 'Most Popular'),
                  
    array('id' => 3'text' => 'Price (High to Low)'),
                  array(
    'id' => 4'text' => 'Price (Low to High)'),
                  array(
    'id' => 5'text' => 'Name (A-Z)'),
                  array(
    'id' => 6'text' => 'Name (Z-A)'),
    ...
            case 
    'PRODUCT_LIST_WEIGHT':
              
    $listing_sql .= " order by p.products_weight " . ($sort_order == 'd' 'desc' '') . ", pd.products_name";
              break;
            case 
    'PRODUCT_LIST_PRICE':
              
    $listing_sql .= " order by p.products_price_sorter " . ($sort_order == 'd' 'desc' '') . ", pd.products_name";
              break;
          }
        }
      } 
    modified includes/templates/tableau/templates/tpl_modules_product_listing.php to have the
    HTML Code:
    <div class="sort-listings-wrapper">
    look like this:
    PHP Code:
    <div class="sort-listings-wrapper">
            <?php echo zen_draw_form('sortbyform'zen_href_link(zen_db_prepare_input($_GET['main_page']), zen_get_all_get_params(array('sortby''sort','keyword','search_in_description','inc_subcat','')), $request_typefalse), 'get') . zen_hide_session_id();?>
            <?php 
                    
    echo zen_draw_hidden_field('main_page'zen_db_prepare_input($_GET['main_page']));
                
    $sortbyparams explode('&'zen_get_all_get_params(array('sortby''sort','')));
                foreach(
    $sortbyparams as $param) {
                      
    $param explode('='$param);
                                    if(
    strlen($param[0]) > 1){
                      echo 
    zen_draw_hidden_field($param[0], $param[1]);
                                    }
            }
            
    ?>
            <label>Sort By:</label>
            <?php 
                $sortby_array 
    = array(
                              array(
    'id' => 0'text' => 'Default Order'),
                  array(
    'id' => 1'text' => 'Newest First'),
                  
    //array('id' => 2, 'text' => 'Most Popular'),
                  
    array('id' => 3'text' => 'Price (High to Low)'),
                  array(
    'id' => 4'text' => 'Price (Low to High)'),
                  array(
    'id' => 5'text' => 'Name (A-Z)'),
                  array(
    'id' => 6'text' => 'Name (Z-A)'),
                );
                echo 
    zen_draw_pull_down_menu('sortby'$sortby_array$_GET['sortby'], 'onchange="this.form.submit();"');
            
    ?>
            <?php echo '</form>';?>
        </div><!--EOF .sort-listings-wrapper-->

        <?php if($_GET['showall'] == 1) {?>
    Hopefully that helps!
    Last edited by bislewl; 28 Oct 2015 at 11:24 PM.

  9. #469
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Tableau Responsive Theme - Support Thread

    I think I spoke too soon, it looks like the sort bug was fixed in version 1.6.5

  10. #470
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    288
    Plugin Contributions
    3

    Default Re: Tableau Responsive Theme - Support Thread

    Quote Originally Posted by bislewl View Post
    I think I spoke too soon, it looks like the sort bug was fixed in version 1.6.5
    It was only kind of fixed... If you set a default sort order in the Admin ->Configuration -> Product Listing you cannot select/re-select that sort option in the drop down.
    This was also brought up on github - here

 

 
Page 47 of 63 FirstFirst ... 37454647484957 ... LastLast

Similar Threads

  1. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Templates, Stylesheets, Page Layout
    Replies: 1087
    Last Post: 18 Jan 2025, 07:23 PM
  2. v155 Support Thread - Responsive Color Changes for 155
    By dbltoe in forum Templates, Stylesheets, Page Layout
    Replies: 99
    Last Post: 1 Oct 2021, 12:31 PM
  3. v155 Tableau Theme configuration not working.
    By tunes in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 22 Mar 2017, 06:53 PM
  4. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Addon Templates
    Replies: 0
    Last Post: 17 Mar 2016, 12:30 AM
  5. v154 Order Steps Responsive [Support Thread]
    By davewest in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Jul 2015, 06:11 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