Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Jun 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: Update products quantity in category listing

    I was able to work around by disabling the mouse over function for this page. Now to edit the product page you cannot just rollover the product line to go to the product page. To edit the product page you must click on the edit icon on the right side of the page under action.

    The file to edit is category_product_listing.php in your admin/includes/modules. There are two sections that reference the mouseover - you want to edit the second set.

    I would suggest editing a backup copy first and then apply to your site. I remember editing a few other parts of the code to get everything to line up properly but this will enable the edit quantity function.

    I like this functionality so much I am going to try to apply it to the SORT ORDER as well.

  2. #12
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Update products quantity in category listing

    Hey, Louis..........What exactly did you edit those lines to be? I found them and messed with them for an hour with all kinds of results............none of which worked for me. I really don't care about being able to click on the whole row, anyway, so that's not a problem. The problem is, no matter WHAT I done to either one or both of those lines, if it wasn't broke altogether, you couldn't click inside the box without it taking you to the products' page. Of course, the right-click/select all worked, but that kinda' sucks, ya' know?
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #13
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: Update products quantity in category listing

    Nevermind. I got it.

    For those interested, find the second set (around lines 321 - 323) of the mouseover lines Louis was talking about in Admin/includes/modules/category_product_listing.php

    That whole section will look like this:

    Code:
    // Split Page
          $type_handler = $zc_products->get_admin_handler($products->fields['products_type']);
          if (isset($pInfo) && is_object($pInfo) && ($products->fields['products_id'] == $pInfo->products_id) ) {
            echo '              <tr class="dataTableRow" onclick="document.location.href=\'' . zen_href_link($type_handler , 'page=' . $_GET['page'] . '&product_type=' . $products->fields['products_type'] . '&cPath=' . $cPath . '&pID=' . $products->fields['products_id'] . '&action=new_product') . '\'">' . "\n";
          } else {
            echo '              <tr class="dataTableRow" onclick="document.location.href=\'' . zen_href_link($type_handler , 'page=' . $_GET['page'] . '&product_type=' . $products->fields['products_type'] . '&cPath=' . $cPath . '&pID=' . $products->fields['products_id'] . '&action=new_product') . '\'">' . "\n";
          }
    // Split Page
    Edit the two lines that include the mouseover part so that whole block of code looks like this:

    Code:
    // Split Page
          $type_handler = $zc_products->get_admin_handler($products->fields['products_type']);
          if (isset($pInfo) && is_object($pInfo) && ($products->fields['products_id'] == $pInfo->products_id) ) {
            echo '              <onclick="return false">' . "\n";
          } else {
            echo '              <onclick="return false">' . "\n";
          }
    // Split Page
    And as already stated, this takes away the clicking ability for the whole row. You will now HAVE to use the icons on the right to edit products, but your stock updates will work perfectly from there.



    You can put some color back in it by editing your Admin/includes/stylesheet.css.

    Hope this clarifies some of the confusion for others.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  4. #14
    Join Date
    May 2008
    Location
    san francsico
    Posts
    134
    Plugin Contributions
    0

    Default Re: Update products quantity in category listing

    So...how do I get the product quantity to display in the categories box like in http://www.cavalryfiberglass.com/store/
    on the left side there??
    If you go to my website ..the quantities of the products is not displayed in the Categories box....
    http://www.2muchfunclub.net/2muchfunclub/store/

    thanks very much!

  5. #15
    Join Date
    Aug 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Update products quantity in category listing

    I installed this contrib, and thank you for the fix above. It worked.

    However, when I click on the manage text to the right, it goes to a 404 not found page, saying something about an image in the URL.

    What is the purpose of the manage link?

    Sharni

  6. #16
    Join Date
    Mar 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: Update products quantity in category listing

    I think the manage link is for additional pics add on.

    also the code is now around lines 631, the same fix works.

    THANKX!!

  7. #17
    Join Date
    Jun 2006
    Location
    Atlanta, GA
    Posts
    118
    Plugin Contributions
    0

    Default Re: Update products quantity in category listing

    Another workaround:

    In IE8, you can highlight the quantity with the mouse, keep holding the button down, and move the cursor off the row, then release the mouse button, and then type the number you need.

    Does not work that way in firefox. Don't know about other browsers.
    http://www.divinelighting.com -- Super Orders 3.0 -- Ultimate SEO -- Quantity Discounts -- SitemapXML -- Image Handler -- Shipworks

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v150 Bulk update quantity by category
    By jmsnyder23 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Jun 2013, 04:52 PM
  2. Removing quantity listing in left category menus?
    By agsmdkgmadsfgpioj in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 3 Jan 2012, 12:01 PM
  3. How do i add quantity in the category listing?
    By sagasupplier in forum Customization from the Admin
    Replies: 7
    Last Post: 29 Aug 2008, 06:39 PM
  4. How to update Quantity for all products?
    By doubletiger in forum General Questions
    Replies: 2
    Last Post: 6 Oct 2006, 10:05 PM

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