Jump to content

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

Refresh Addons' Template Schema Rate Topic   - - - - -

 
  • sitmgreg
  • Advanced Member
  • Members
  • Join Date: 01-Jun 16
  • 60 posts

Posted 10 September 2018 - 09:21 PM #1

I'm trying to add a new product template but I am unable to get the schema to "refresh". The schema is in an existing addon. Here is the code:

$schema['addons/local/blocks/products/local_template.tpl'] = array (
    'bulk_modifier' => array (
        'fn_gather_additional_products_data' => array (
            'products' => '#this',
            'params' => array (
                'get_icon' => true,
                'get_detailed' => true,
                'get_options' => true,
            ),
        ),
    ),
);

return $schema;

which looks right to me, but it doesn't seem to be applying to the template

 

EDIT: this is in the file addons/local/schemas/block_manager/templates.post.php



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

Posted 10 September 2018 - 09:38 PM #2

And the obvious question is: "Did you clear the cache" either by using ?cc&ctpl or by manually moving/removing the var/cache directory.


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.


 
  • sitmgreg
  • Advanced Member
  • Members
  • Join Date: 01-Jun 16
  • 60 posts

Posted 10 September 2018 - 11:14 PM #3

There it goes. I was clearing the cache manually, but I was in the wrong folder.

Must be Monday.