Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Location
    Northern Indiana
    Posts
    41
    Plugin Contributions
    0

    Default Modifying the Column Display in Admin

    All,

    I would like to modify the column data displayed in the Admin. Specifically, I would like to add WEIGHT and ALWAYS FREE SHIPPING (0/1) columns to the category/product display.

    I searched to see if this can/had been done or requested and found nothing.

    Any assistance would be greatly appreciated!

    Thanx in advance!
    Michael (Zen Greenhorn)
    Remember: Every expert started out as a beginner!

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

    Default Re: Modifying the Column Display in Admin

    You can customize the file:
    /admin/includes/modules/category_product_listing.php

    and add those with the code in RED:
    Code:
                    <td class="dataTableContent"><?php echo $products->fields['products_model']; ?></td>
                    <td class="dataTableContent"><?php echo zen_products_lookup($products->fields['products_id'], 'products_weight'); ?></td>
                    <td class="dataTableContent"><?php echo $products->fields['product_is_always_free_shipping']; ?></td>
                    <td colspan="2" class="dataTableContent" align="right"><?php echo zen_get_products_display_price($products->fields['products_id']); ?></td>
    and adjust the headers for the new columns ...
    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!

  3. #3
    Join Date
    Jan 2012
    Location
    Northern Indiana
    Posts
    41
    Plugin Contributions
    0

    Default Re: Modifying the Column Display in Admin

    Thank you (again) Linda! Header adjustment was a breeze.

    You are TOPS!

    Have a terrific Sunday!
    Michael (Zen Greenhorn)
    Remember: Every expert started out as a beginner!

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

    Default Re: Modifying the Column Display in Admin

    Thanks for the update that this worked for you ... have a good one ...
    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!

 

 

Similar Threads

  1. Modifying the admin template for Products Description?
    By bp22 in forum Customization from the Admin
    Replies: 10
    Last Post: 10 Feb 2010, 04:01 PM
  2. Modifying the admin language files
    By m_young in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Sep 2009, 01:17 AM
  3. How to Remove the Left Column from the Product Info Display Page??
    By autoace in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 20 Aug 2009, 03:37 PM
  4. Modifying the Page Counter in Admin
    By HandcraftedUK in forum Managing Customers and Orders
    Replies: 3
    Last Post: 29 Jan 2007, 06:57 AM

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