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!
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 ...
Re: Modifying the Column Display in Admin
Thank you (again) Linda! Header adjustment was a breeze.
You are TOPS! :bigups:
Have a terrific Sunday!
Re: Modifying the Column Display in Admin
Thanks for the update that this worked for you ... have a good one ... :cool: