Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Quick Fixes For V1.3.0.1

    Problem: Update Shopping Cart buttons problem when set to 2 (Below all Products)

    Solution: edit line 125 in the file
    /includes/modules/pages/shopping_cart/header_php.php


    Change to read:
    Code:
     ##$buttonUpdate = ((SHOW_SHOPPING_CART_UPDATE == 1 or SHOW_SHOPPING_CART_UPDATE == 3) ? zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT) . zen_draw_hidden_field('products_id[]', $products[$i]['id']) : zen_draw_hidden_field('products_id[]', $products[$i]['id']));
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default

    Default Sort order for "All Products" listing not working.

    Workaround:
    includes/modules/pages/products_all/header_php.php
    line 18 says:
    Code:
     $disp_order_default = PRODUCT_FEATURED_LIST_SORT_DEFAULT;
    change it to:
    Code:
     $disp_order_default = PRODUCT_ALL_LIST_SORT_DEFAULT;
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default

    Problem: meta tags description not complete

    Solution: edit the file /includes/functions/functions_general.php

    Find the function zen_truncate_paragraph at approximately line 1308 and replace the whole function with:
    Code:
    ////
    // return truncated paragraph
     function zen_truncate_paragraph($paragraph, $size = 100, $word = ' ') {
      $zv_paragraph = "";
      $word = explode(" ", $paragraph);
      $zv_total = count($word);
      if ($zv_total > $size) {
       for ($x=0; $x < $size; $x++) {
        $zv_paragraph = $zv_paragraph . $word[$x] . " ";
       }
       $zv_paragraph = trim($zv_paragraph);
      } else {
       $zv_paragraph = trim($paragraph);
      }
      return $zv_paragraph;
     }
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default

    Problem: only if Product Listing is set to just show Product Name Advance Search Results throws an error

    Solution: edit the file:
    /includes/modules/pages/advanced_search_result/header_php.php

    At approximately line 181 change the IF condition to read:
    PHP Code:
    // always add quantity regardless of whether or not it is in the listing for add to cart buttons
    if (PRODUCT_LIST_QUANTITY 1) {
      if (empty(
    $select_column_list)) {
        
    $select_column_list .= ' p.products_quantity ';
      } else  {
        
    $select_column_list .= ', p.products_quantity ';
      }

    Last edited by DrByte; 5 Jun 2006 at 06:46 AM. Reason: removed * marks appearing in the code
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Quick Fixes For V1.3.0.1

    Fix for these and lots more released today:
    http://sourceforge.net/project/showf...kage_id=171544
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. PayPal fixes for ZC v1.3.6?
    By sue4ster in forum PayPal Express Checkout support
    Replies: 7
    Last Post: 31 Mar 2007, 03:23 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