Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Hooks For Category Picker Rate Topic   - - - - -

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 10904 posts

Posted 17 May 2018 - 06:16 PM #1

Please add the following hooks to the category picker files (and the appropriate overrides in the new admin responsive theme).

 

File: pickers/categories/picker.tpl

At approximately line 102, please add this hook following the <th>{__("name")}</th> cell:

I.e.

 <th>{__("name")}</th>
{hook name="category_picker:manage_header"}{/hook}

 

And in file: pickers/categories/jt.tpl at approximately line 24 please add a hook to insert a cell as in:

        </td>
        {hook name="category_picker:manage_data"}{/hook}
        <td width="5%" class="nowrap">
        {if !$view_only || $show_only_name}

Attached Files


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • poppedweb
  • Authorized Reseller
  • Members
  • Join Date: 02-Aug 16
  • 431 posts

Posted 17 May 2018 - 10:18 PM #2

 

Please add the following hooks to the category picker files (and the appropriate overrides in the new admin responsive theme).

 

File: pickers/categories/picker.tpl

At approximately line 102, please add this hook following the <th>{__("name")}</th> cell:

I.e.

 <th>{__("name")}</th>
{hook name="category_picker:manage_header"}{/hook}

And in file: pickers/categories/jt.tpl at approximately line 24 please add a hook to insert a cell as in:

        </td>
        {hook name="category_picker:manage_data"}{/hook}
        <td width="5%" class="nowrap">
        {if !$view_only || $show_only_name}

 

Perhaps add it in the hook request topic?


PoppedWeb | sales@poppedweb.com | https://poppedweb.com
TurnKey Website Design | Add-Ons | Performance Audits | Dedicated Server Management
24/7 Support | Response within an hour (during working hours).

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 10904 posts

Posted 18 May 2018 - 05:45 PM #3

Oops, clicked wrong button and didn't check.
Thanks for the catch.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.