Results 1 to 4 of 4
  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
    67,425
    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.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  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
    67,425
    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.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Column Layout Grid 2 products in 4 column display
    By Develop&Promote in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Feb 2011, 04:26 AM
  2. Admin errors: 1054 Unknown column 'untries_id' , and 1052 column is ambiguous
    By kayamaya in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 9 Aug 2008, 04:40 AM
  3. Modifying center panel subcategory display
    By mlindi in forum Basic Configuration
    Replies: 2
    Last Post: 21 Mar 2007, 12:20 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
  •