How to make QLI Description editable as it was prior to v7.9

I have a client who is accustomed to editing the Product Description in the QLI once the information has been copied from the Product Catalog and they need to continue doing that.

Has anyone been able to add the Description field beneath the QLI in the list as it was in the pre-7.9 versions and have it be editable?

  • I did, and it looks like this:

    Detail:

    Edit

    New record:

    I achieved this by turning the product_template_name into a fieldset.

    As you can see the dimensions of the text box could use some work, I just haven't had the time to fiddle and no one has complained  

    custom/modules/Products/clients/base/views/quote-data-group-list/quote-data-group-list.php

                   array(
                        'name' => 'name_desc',
                        'type' => 'fieldset',
                        'label' => 'LBL_ITEM_NAME',
                        'widthClass' => 'cell-xlarge',
                        'fields' => array(
                           array(
                              'name' => 'product_template_name',
                              'widthClass' => 'cell-xlarge',
                              'type' => 'quote-data-relate',
                              'required' => true,
                           ),
                           array(
                               'name'=>'description',
                               'label'=>'LBL_DESCRIPTION',
                               'widthClass' => 'cell-xlarge',
                           ),
                        ),
                    ),

    To get the value to populate from the catalog:

    custom/Extension/modules/Products/Ext/Vardefs/vardefs.ext.php:

    $dictionary['Product']['fields']['product_template_name']['populate_list']['description'] = 'description';

    and add it to the product_bundle_items in the Quotes record view (if it's not already there):

                          array (
                            'name' => 'product_bundle_items',
                            'fields' =>
                            array (
                              0 => 'name',
                              1 => 'quote_id',
                              2 => 'description',

    HTH,

    FrancescaS

  • That's genius. I didn't even think about using the simple solution of fieldset. I was trying to figure out how I was going to customize the list view for the QLI.

    Thanks for the idea!

  • Hi John, no genius here but thank you for the compliment. I added a lot of other fields side by side and the users already have to scroll to complete the quote even on a large screen... not my favorite solution.

    I didn't want to add yet more width. You could, however just add it to the list as a separate field if it comes out cleaner in your implementation.