def custom_template_path(name)
      config = ShopConfig.new
      custom_path = config.get('template', 'path')
      if File.exists?("#{custom_path}/#{name}")
        "#{custom_path}/#{name}"
      else
        false
      end
    end
def custom_template_path(name)
      config = ShopConfig.new
      custom_path = config.get('template', 'path')
      if File.exists?("#{custom_path}/#{name}")
        "#{custom_path}/#{name}"
      else
        false
      end
    end
def custom_template_path ( name ) config = ShopConfig . new custom_path = config . get ( 'template' , 'path' ) if File . exists? ( "#{custom_path}/#{name}" ) "#{custom_path}/#{name}" else false end end
Returns the path to the custom template if it exists
Returns the path to the custom template if it exists