<errors><Message>Error retrieving credentials from the instance profile metadata service. (Client error: `GET http://169.254.169.254/latest/meta-data/iam/security-credentials/` resulted in a `404 Not Found` response:
&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
		 &quot;http://ww (truncated...)
)</Message><Server>unknown (unknown)</Server><URL>http://www.titantruck.com/i-295432-class-1-trailer-hitch-1-1-4-ball-mount-select-hyundai-sonata.html</URL><IP>216.73.216.96</IP><Database_Server>dbmain-prod-wdsolutions-1.cluster-ro-cpum6qcicyxr.us-west-2.rds.amazonaws.com</Database_Server><Database_Name>wsm_live</Database_Name><Query>-- 'www.titantruck.com/i-295432-class-1-trailer-hitch-1-1-4-ball-mount-select-hyundai-sonata.html'
SELECT `id` FROM `server` WHERE `tag`='web-02'</Query><backtrace><error><file>/var/www/wsm/app/inc/error.inc.php:78</file><call>wsmBacktrace</call><callparams>NULL,'/var/www/wsm/app/inc/error.inc.php',78,false</callparams><source><line>error.inc.php:75     </line><line>error.inc.php:76     if (!$bt) {</line><line>error.inc.php:77     $file = __FILE__;</line><line>error.inc.php:78     $line = __LINE__;</line><line>error.inc.php:79     $bt = debug_backtrace();</line></source></error><error><file>/var/www/wsm/app/inc/error.inc.php:340</file><call>trigger_error</call><callparams>'Error retrieving credentials from the instance profile metadata service. (Client error: `GET http://169.254.169.254/latest/meta-data/iam/security-credentials/` resulted in a `404 Not Found` response:
&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
		 &quot;http://ww (truncated...)
)',512</callparams><source><line>error.inc.php:337    echo wsmErrorInfo('Message', $errstr);</line><line>error.inc.php:338    echo wsmEnvironmentErrorInfo();</line><line>error.inc.php:339    echo wsmDatabaseErrorInfo();</line><line>error.inc.php:340    echo wsmBacktrace(null, null, null, false);</line><line>error.inc.php:341    </line></source></error><error><file>/var/www/wsm/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php:764</file><call>Aws\S3\StreamWrapper-&gt;triggerError</call><callparams>'Error retrieving credentials from the instance profile metadata service. (Client error: `GET http://169.254.169.254/latest/meta-data/iam/security-credentials/` resulted in a `404 Not Found` response:
&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
		 &quot;http://ww (truncated...)
)',0</callparams><source><line>StreamWrapper.php:761    }</line><line>StreamWrapper.php:762    </line><line>StreamWrapper.php:763    // This is triggered when doing things like lstat() or stat()</line><line>StreamWrapper.php:764    trigger_error(implode(&quot;\n&quot;, (array) $errors), E_USER_WARNING);</line><line>StreamWrapper.php:765    </line></source></error><error><file>/var/www/wsm/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php:943</file><call>Aws\S3\StreamWrapper-&gt;boolCall</call><callparams>object&lt;Closure&gt;,0</callparams><source><line>StreamWrapper.php:940    try {</line><line>StreamWrapper.php:941    return $fn();</line><line>StreamWrapper.php:942    } catch (\Exception $e) {</line><line>StreamWrapper.php:943    return $this-&gt;triggerError($e-&gt;getMessage(), $flags);</line><line>StreamWrapper.php:944    }</line></source></error><error><file>/var/www/wsm/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php:299</file><call>Aws\S3\StreamWrapper-&gt;createStat</call><callparams>'s3://wsm-prod-assets-ttdev/cms/16',0</callparams><source><line>StreamWrapper.php:296    return $this-&gt;statDirectory($parts, $path, $flags);</line><line>StreamWrapper.php:297    }</line><line>StreamWrapper.php:298    </line><line>StreamWrapper.php:299    return $this-&gt;boolCall(function () use ($parts, $path) {</line><line>StreamWrapper.php:300    try {</line></source></error><error><file>/var/www/wsm/vendor/aws/aws-sdk-php/src/S3/StreamWrapper.php:270</file><call>filemtime</call><callparams>'s3://wsm-prod-assets-ttdev/cms/16'</callparams><source><line>StreamWrapper.php:267    return $value;</line><line>StreamWrapper.php:268    }</line><line>StreamWrapper.php:269    </line><line>StreamWrapper.php:270    $stat = $this-&gt;createStat($path, $flags);</line><line>StreamWrapper.php:271    </line></source></error><error><file>/var/www/wsm/app/plugins/smarty/frontend/function.cms_filemtime.php:9</file><call>smarty_function_cms_filemtime</call><callparams>{&quot;filename&quot;:&quot;\/js\/bs_min.js&quot;},object&lt;Smarty&gt;</callparams><source><line>function.cms_filemtime.php:6      $cmsFileModel = Model::get('cms.file');</line><line>function.cms_filemtime.php:7      $cmsFile = $cmsFileModel-&gt;getByPath($params['filename']);</line><line>function.cms_filemtime.php:8      if ($cmsFile)</line><line>function.cms_filemtime.php:9      return filemtime($cmsFile-&gt;getPath());</line><line>function.cms_filemtime.php:10     else</line></source></error><error><file>/shared/cache/smarty/templates_c/1183/compile/%%82/824/824596EF%%widget%3Awsmtpl_cms_file_tag.php:5</file><call>include</call><callparams>'/shared/cache/smarty/templates_c/1183/compile/%%82/824/824596EF%%widget%3Awsmtpl_cms_file_tag.php'</callparams><source><line>824596EF%%widget%3Awsmtpl_cms_file_tag.php:2      compiled from widget:wsmtpl_cms_file_tag */ ?&gt;</line><line>824596EF%%widget%3Awsmtpl_cms_file_tag.php:3      &lt;?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');</line><line>824596EF%%widget%3Awsmtpl_cms_file_tag.php:4      smarty_core_load_plugins(array('plugins' =&gt; array(array('modifier', 'replace', 'widget:wsmtpl_cms_file_tag', 21, false),array('function', 'cms_filemtime', 'widget:wsmtpl_cms_file_tag', 38, false),)), $this); ?&gt;</line><line>824596EF%%widget%3Awsmtpl_cms_file_tag.php:5      &lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php if ($this-&gt;_tpl_vars['params']['file_path'] &amp;&amp; $this-&gt;_tpl_vars['params']['file_type_ext']): ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('file_path', $this-&gt;_tpl_vars['params']['file_path']); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('file_type', $this-&gt;_tpl_vars['params']['file_type_ext']); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('file_query_string', &quot;?v&quot;); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('file_path_full', $this-&gt;_tpl_vars['file_path']); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('file_path_short', ((is_array($_tmp=$this-&gt;_tpl_vars['file_path'])) ? $this-&gt;_run_mod_handler('replace', true, $_tmp, '/files/', '/') : smarty_modifier_replace($_tmp, '/files/', '/'))); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php if ($this-&gt;_tpl_vars['file_type'] == 'css'): ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_valid', 'true'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_open', '&lt;link rel=&quot;stylesheet&quot; href=&quot;'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_close', '&quot;&gt;'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php elseif ($this-&gt;_tpl_vars['file_type'] == 'js'): ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_valid', 'true'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_open', '&lt;script src=&quot;'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_close', '&quot;&gt;&lt;/script&gt;'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php else: ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('tag_valid', 'false'); ?&gt;&lt;?php echo ''; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php if ($this-&gt;_tpl_vars['tag_valid'] == 'true'): ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['tag_open']; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['file_path_full']; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['file_query_string']; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo smarty_function_cms_filemtime(array('filename' =&gt; $this-&gt;_tpl_vars['file_path_short']), $this);?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['tag_close']; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php else: ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('widget_msg_error', &quot;WIDGET ERROR: wsmtpl_cms_file_tag : Required Parameter: Invalid file_type_ext : valid values: css, js&quot;); ?&gt;&lt;?php echo '&lt;!-- '; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['widget_msg_error']; ?&gt;&lt;?php echo ' --&gt;&lt;script&gt;console.log(&quot;'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['widget_msg_error']; ?&gt;&lt;?php echo '&quot;)&lt;/script&gt;'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php else: ?&gt;&lt;?php echo ''; ?&gt;&lt;?php echo ''; ?&gt;&lt;?php $this-&gt;assign('widget_msg_error', &quot;WIDGET ERROR: wsmtpl_cms_file_tag : Required Parameters: file_path and file_type_ext&quot;); ?&gt;&lt;?php echo '&lt;!-- '; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['widget_msg_error']; ?&gt;&lt;?php echo ' --&gt;&lt;script&gt;console.log(&quot;'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars['widget_msg_error']; ?&gt;&lt;?php echo '&quot;)&lt;/script&gt;'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo ''; ?&gt;</line><line>824596EF%%widget%3Awsmtpl_cms_file_tag.php:6      </line></source></error><error><file>/var/www/wsm/app/lib/smarty/Smarty.class.php:1896</file><call>Smarty-&gt;_smarty_include</call><callparams>{&quot;smarty_include_tpl_file&quot;:&quot;widget:wsmtpl_cms_file_tag&quot;,&quot;smarty_include_vars&quot;:{&quot;params&quot;:{&quot;name&quot;:&quot;wsmtpl_cms_file_tag&quot;,&quot;file_path&quot;:&quot;\/files\/js\/bs_min.js&quot;,&quot;file_type_ext&quot;:&quot;js&quot;}}}</callparams><source><line>Smarty.class.php:1893   if ($this-&gt;_is_compiled($params['smarty_include_tpl_file'], $_smarty_compile_path)</line><line>Smarty.class.php:1894   || $this-&gt;_compile_resource($params['smarty_include_tpl_file'], $_smarty_compile_path))</line><line>Smarty.class.php:1895   {</line><line>Smarty.class.php:1896   include($_smarty_compile_path);</line><line>Smarty.class.php:1897   }</line></source></error><error><file>/var/www/wsm/app/lib/smarty/Smarty.class.php(1961) : eval()'d code:177</file><call>eval</call><callparams></callparams><source></source></error><error><file>/var/www/wsm/app/lib/smarty/Smarty.class.php:1961</file><call>Smarty-&gt;_eval</call><callparams>'?&gt;&lt;?php /* Smarty version 2.6.30, created on 2026-04-07 17:18:36
         compiled from evaluated+template */ ?&gt;
&lt;?php require_once(SMARTY_CORE_DIR . \'core.load_plugins.php\');
smarty_core_load_plugins(array(\'plugins\' =&gt; array(array(\'function\', \'solr_init\', \'evaluated template\', 101, false),array(\'function\', \'model_query\', \'evaluated template\', 187, false),array(\'function\', \'getbyid\', \'evaluated template\', 318, false),array(\'function\', \'eval\', \'evaluated template\', 319, false),array(\'modifier\', \'pretty_url\', \'evaluated template\', 191, false),array(\'modifier\', \'date_format\', \'evaluated template\', 207, false),)), $this); ?&gt;
&lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'page\'][\'name\'] == \'product\' &amp;&amp; $this-&gt;_tpl_vars[\'env\'][\'auth\'][\'user\']): ?&gt;
 &lt;script&gt;    

  /* Variables to complete */
  const plAPIKey                = \'b1c22fe8-0af9-4ec6-b606-7506596ecf08\'  /* CLIENT SPECIFIC - API Key */
  const plFitmentGroupID        = 1   /*CLIENT SPECIFIC: WSM Fitment Group ID*/
  const wsmFitmentGroupLabel    = &quot;Year Make Model&quot;; /*CLIENT SPECIFIC: WSM NON-AGS Fitment Group Label: (ie Year Make Model:)*/
  const wsmAGSFitmentGroupLabel = &quot;yearmakemodel&quot;; /*CLIENT SPECIFIC: WSM\'s AGS config setting for fitment group (ie: yearmakemodel)*/
  const plFitmentVerifierEvent  = new Event(\'WSM_ProdFitmentGroup\');

    $(document).ajaxComplete(function(event,xhr,settings){
      var WSM_AjaxURLString = settings.url;

      //console.log(&quot;WSM_AjaxURLString: &quot; + WSM_AjaxURLString)

      if(WSM_AjaxURLString.includes(&quot;/solr/&lt;?php echo $this-&gt;_tpl_vars[\'env\'][\'site\']-&gt;tagName; ?&gt;
/select?q=productid&quot;) == true ){
          var WSM_ProdAttributes =  xhr.responseText;
          if(WSM_ProdAttributes.includes(wsmAGSFitmentGroupLabel + &quot;\\&quot;:[&quot;) == true){
              document.dispatchEvent(plFitmentVerifierEvent);         
          }
      }
  });

  document.addEventListener(&quot;WSM_ProdFitmentGroup&quot;, () =&gt; {
    /* WSM FIRST: put in the element into the DOM  */
    $(\'#wsm-prod-info-container\').before(\'&lt;div id=&quot;pl-fitment-verifier&quot;&gt;&lt;!--PartsLogic Fitment Verifier target here--&gt;&lt;/div&gt;\');

    const fitmentContainer = document.querySelector(
      \'#pl-fitment-verifier\'
    );

    window.PartslogicUi.config({
      API_KEY: plAPIKey,
    });

    window.ReactDOM.render(
      window.React.createElement(PartslogicUi.FitmentSelectorVerifier, {
        styled: true,
        alertButtonText: \'Change Fitment\',
        alertErrorTitle: &quot;Doesn\'t Fit&quot;,
        alertSuccessTitle: \'Fitment Verified\',
        title: \'Verify it fits\',
        searchButtonText: \'Save &amp; Verify\',
        orientation: \'vertical\',
        showMoreText: &quot;Find Products that fit &gt;&quot;,
        onDoesntFit: (e) =&gt; { 
          /* Get most recent search term and add it to the search query*/
          if(localStorage.getItem(PartslogicUi.SEARCH_TERMS_HISTORY_KEY) != null){
            var searchTermsHistoryObj = JSON.parse(localStorage.getItem(PartslogicUi.SEARCH_TERMS_HISTORY_KEY));
            var PlFvQuery = &quot;?q=&quot; + searchTermsHistoryObj[0];
          } else {
            var PlFvQuery = &quot;&quot;
          }
          window.location = `/search.html${PlFvQuery}`;
        },
        doesntFitButtonText: \'See Products that Fit\',
        sku: &lt;?php echo $this-&gt;_tpl_vars[\'wsm_product\']-&gt;id; ?&gt;
,
        groupId: plFitmentGroupID
      }),
      fitmentContainer
    );
  })
  &lt;/script&gt;
&lt;?php endif; ?&gt;



&lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'page\'][\'name\'] == \'product\'): ?&gt;
  &lt;?php $this-&gt;_smarty_include(array(\'smarty_include_tpl_file\' =&gt; \'widget:prop65_v2\', \'smarty_include_vars\' =&gt; array(\'params\' =&gt; array(\'name\' =&gt; \'prop65_v2\',\'layout\' =&gt; \'row\',\'text_layout\' =&gt; \'inline\',\'icon_size\' =&gt; \'small\',\'prop_title\' =&gt; \'hide\'))));
 ?&gt;
   &lt;script&gt;
      $(\'.prop65-cont\').appendTo(\'#wsm-prod-info-container\');
$(\'.ags-prod-vehicle-selected\').appendTo(\'#wsm-prod-info\');
$(\'.wsm-prod-stock-id\').appendTo(\'.wsm-cat-pricebox\');
   &lt;/script&gt;
&lt;?php endif; ?&gt;
  
    &lt;!-- Login Modal --&gt;
    &lt;?php $this-&gt;_smarty_include(array(\'smarty_include_tpl_file\' =&gt; \'widget:bs_login\', \'smarty_include_vars\' =&gt; array(\'params\' =&gt; array(\'name\' =&gt; \'bs_login\'))));
 ?&gt;

    &lt;!-- Cart Content  --&gt;
    &lt;?php $this-&gt;_smarty_include(array(\'smarty_include_tpl_file\' =&gt; \'widget:bs_cart_bottom\', \'smarty_include_vars\' =&gt; array(\'params\' =&gt; array(\'name\' =&gt; \'bs_cart_bottom\'))));
 ?&gt;

    &lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'page\'][\'name\'] == \'product\'): ?&gt;
    &lt;div class=&quot;sharethis_wrap&quot;&gt;
        &lt;span class=\'st_facebook_large\' displayText=\'Facebook\'&gt;&lt;/span&gt;
        &lt;span class=\'st_twitter_large\' displayText=\'Tweet\'&gt;&lt;/span&gt;
        &lt;span class=\'st_pinterest_large\' displayText=\'Pinterest\'&gt;&lt;/span&gt;
    &lt;/div&gt;
    &lt;?php endif; ?&gt;

    &lt;?php if ($this-&gt;_tpl_vars[\'wsm_category\']-&gt;categories != \'0\' &amp;&amp; $this-&gt;_tpl_vars[\'wsm_category\']-&gt;products == \'0\'): ?&gt;
        &lt;?php $this-&gt;assign(\'solrinit_facet_fields\', \'category\'); ?&gt;
    &lt;?php else: ?&gt;
        &lt;?php $this-&gt;assign(\'solrinit_facet_fields\', &quot;actual_color,angle,ball_diameter_inches,ball_shank_diameter_inches,bolt_pattern,brake_drum_or_rotor_diameter,coating_or_finish,color,color_and_material,diameter,diameter_inches,diameter_inside_inches,diameter_outside_inches,drop_inches,filter_color,filter_material,filter_style,finish,fuel,gross_trailer_weight_lbs,height_inches,horse_power_increase,housing_color,inlet_size_inches,inside_diameter,installed_height_inches,intake_pipe_color_finish,jacket_size,jet_size,led_color,lens_color,lift_by_drop_height_inches,lifter_type,light_color,lighting_color,lighting_type,lug_number,material,max_load,max_temperature_limit,max_temperature_rating,outlet_size_inches,outside_length,outside_width,overall_length_inches,position,ratio,rear_axle_ratio,rim_color_and_material,ring_size,rise_inches,shank_length_inches,shirt_color,shirt_size,shirt_style,shock_stroke_inches,size,size_by_length,size_inches,spoke_color,spoke_number,style,thickness,thread_size,tip_size,tube_shape,type,voltage,wattage,wheel_base,wheel_lug,wheel_size,wheel_size_original_equipment,wheel_type,width_inches,raw_lumens,peak_beam_intensity_cd,field_vertical,field_horizontal,beam_distance_w_25_lux,beam_distance_w_1_lux,amp_draw,lux_at_10m,cross_over_rail_wide,gloss_black,double_doors,diamond_plate,weldon,muffler_overall_length_inches,muffler_outlet_diameter_inches,muffler_inlet_diameter_inches,muffler_body_width_inches,muffler_body_shape,muffler_body_height_inches,muffler_body_length_inches,gross_vehicle_weight,extension_travel,lift_weight_lbs,stow_height,max_reach,max_height,height_to_bottom_of_platform,flare_height_in,drawer,length_inches,frame_width,cab_to_axle,flare_height_inches,remote,flare_height,glove_size,gasket_or_seal_included,single_door,underbed&quot;); ?&gt;
    &lt;?php endif; ?&gt;

    &lt;?php if ($this-&gt;_tpl_vars[\'ymm_selector\'] == \'true\'): ?&gt;
        &lt;?php echo smarty_function_solr_init(array(\'facet_match\' =&gt; \'true\',\'search_fields\' =&gt; &quot;{
                dealerid_clean:\'strict|boosted+8\',
                dealerid:\'strict|boosted+7\',
                dealerid_sku:\'wild|boosted+6\',
                stockid:\'left|boosted+5\',
                meta_keywords_stem:\'expanded|loose|boosted+9\',
                brand:\'expanded|loose\',
                title:\'expanded|joined|wild\',
                yearmakemodel:\'expanded|joined|wild\',
                summary2:\'strict\',
                summary:\'strict\',
                category:\'strict\'
                }&quot;,\'facet_fields\' =&gt; ($this-&gt;_tpl_vars[\'solrinit_facet_fields\']),\'facet_compounded_field\' =&gt; \'yearmakemodel\',\'fields\' =&gt; &quot;tags,title,summary,category_id,tagline,product_series_tagline&quot;,\'result_container\' =&gt; \'documents\',\'return_fields\' =&gt; &quot;id,url,title,price,sale,category,category_id,summary,availability,productid,tags&quot;,\'homepage\' =&gt; \'true\'), $this);?&gt;

    &lt;?php else: ?&gt;
        &lt;?php echo smarty_function_solr_init(array(\'facet_match\' =&gt; \'true\',\'inclusion_search\' =&gt; \'true\',\'search_fields\' =&gt; &quot;{
                dealerid_clean:\'strict|boosted+8\',
                dealerid:\'strict|boosted+7\',
                dealerid_sku:\'wild|boosted+6\',
                stockid:\'left|boosted+5\',
                meta_keywords_stem:\'expanded|loose|boosted+9\',
                brand:\'expanded|loose\',
                title:\'expanded|joined|wild\',
                yearmakemodel:\'expanded|joined|wild\',
                summary2:\'strict\',
                summary:\'strict\',
                category:\'strict\'
                }&quot;,\'facet_fields\' =&gt; ($this-&gt;_tpl_vars[\'solrinit_facet_fields\']),\'facet_compounded_field\' =&gt; \'\',\'fields\' =&gt; &quot;tags,title,summary,category_id,tagline,product_series_tagline&quot;,\'result_container\' =&gt; \'documents\',\'return_fields\' =&gt; &quot;id,url,title,price,sale,summary,category,category_id,availability,productid,tags&quot;), $this);?&gt;

    &lt;?php endif; ?&gt;
&lt;script&gt;
$(\'#edit-keys\').on(\'input\',function(){this.value = this.value.toUpperCase()});
&lt;/script&gt;

    &lt;?php if ($this-&gt;_tpl_vars[\'customer_order\']): ?&gt;
        &lt;script&gt;
        &lt;?php echo \'\'; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php if ($this-&gt;_tpl_vars[\'customer_order\']): ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php $this-&gt;assign(\'objName\', \'acctOrders\'); ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php $_from = $this-&gt;_tpl_vars[\'customer_order\']; if (!is_array($_from) &amp;&amp; !is_object($_from)) { settype($_from, \'array\'); }$this-&gt;_foreach[\'jsonObj\'] = array(\'total\' =&gt; count($_from), \'iteration\' =&gt; 0);
if ($this-&gt;_foreach[\'jsonObj\'][\'total\'] &gt; 0):
    foreach ($_from as $this-&gt;_tpl_vars[\'jsonObj\']):
        $this-&gt;_foreach[\'jsonObj\'][\'iteration\']++;
?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php if (($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] &lt;= 1)): ?&gt;&lt;?php echo \'var \'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars[\'objName\']; ?&gt;&lt;?php echo \' = {\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars[\'jsonObj\']-&gt;id; ?&gt;&lt;?php echo \' : {id: \\\'\'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars[\'jsonObj\']-&gt;id; ?&gt;&lt;?php echo \'\\\',memo: \\\'\'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars[\'jsonObj\']-&gt;memo; ?&gt;&lt;?php echo \'\\\'}\'; ?&gt;&lt;?php if (! ($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] == $this-&gt;_foreach[\'jsonObj\'][\'total\'])): ?&gt;&lt;?php echo \',\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php if (($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] == $this-&gt;_foreach[\'jsonObj\'][\'total\'])): ?&gt;&lt;?php echo \'}\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php endforeach; endif; unset($_from); ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;

        &lt;/script&gt;
    &lt;?php endif; ?&gt;

    &lt;?php if ($this-&gt;_tpl_vars[\'wsm_product\']): ?&gt;
        &lt;script&gt;
        // Push new values to the product variabls
        product.availability    = \'&lt;?php echo $this-&gt;_tpl_vars[\'wsm_product\']-&gt;availability; ?&gt;
\';
        product.brand           = \'&lt;?php echo $this-&gt;_tpl_vars[\'wsm_product\']-&gt;brand; ?&gt;
\';
        &lt;?php if ($this-&gt;_tpl_vars[\'series\']): ?&gt;
        product.series          = \'&lt;?php echo $this-&gt;_tpl_vars[\'series\']-&gt;id; ?&gt;
\';
        &lt;?php endif; ?&gt;
        &lt;?php echo \'\'; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php echo smarty_function_model_query(array(\'model\' =&gt; \'category\',\'filter\' =&gt; &quot;parent=null,hidden=false&quot;,\'assign\' =&gt; \'rootCats\'), $this);?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php $this-&gt;assign(\'objName\', \'rootCats\'); ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php $_from = $this-&gt;_tpl_vars[\'rootCats\']; if (!is_array($_from) &amp;&amp; !is_object($_from)) { settype($_from, \'array\'); }$this-&gt;_foreach[\'jsonObj\'] = array(\'total\' =&gt; count($_from), \'iteration\' =&gt; 0);
if ($this-&gt;_foreach[\'jsonObj\'][\'total\'] &gt; 0):
    foreach ($_from as $this-&gt;_tpl_vars[\'jsonObj\']):
        $this-&gt;_foreach[\'jsonObj\'][\'iteration\']++;
?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php if (($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] &lt;= 1)): ?&gt;&lt;?php echo \'var \'; ?&gt;&lt;?php echo $this-&gt;_tpl_vars[\'objName\']; ?&gt;&lt;?php echo \' = [\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\\\'\'; ?&gt;&lt;?php echo ((is_array($_tmp=$this-&gt;_tpl_vars[\'jsonObj\']-&gt;title)) ? $this-&gt;_run_mod_handler(\'pretty_url\', true, $_tmp) : wsmPrettyUrl($_tmp)); ?&gt;&lt;?php echo \'\\\'\'; ?&gt;&lt;?php if (! ($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] == $this-&gt;_foreach[\'jsonObj\'][\'total\'])): ?&gt;&lt;?php echo \',\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php if (($this-&gt;_foreach[\'jsonObj\'][\'iteration\'] == $this-&gt;_foreach[\'jsonObj\'][\'total\'])): ?&gt;&lt;?php echo \']\'; ?&gt;&lt;?php endif; ?&gt;&lt;?php echo \'\'; ?&gt;&lt;?php endforeach; endif; unset($_from); ?&gt;&lt;?php echo \'\'; ?&gt;

        &lt;/script&gt;

    &lt;?php endif; ?&gt;

    &lt;script type=&quot;text/javascript&quot; src=&quot;/files/owl/owl-min.js&quot;&gt;&lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;/files/owl/owl-carousel2-thumbs-min.js&quot;&gt;&lt;/script&gt;

    &lt;script type=\'text/javascript\' src=&quot;//wurfl.io/wurfl.js&quot;&gt;&lt;/script&gt;
    &lt;?php $this-&gt;_smarty_include(array(\'smarty_include_tpl_file\' =&gt; \'widget:wsmtpl_cms_file_tag\', \'smarty_include_vars\' =&gt; array(\'params\' =&gt; array(\'name\' =&gt; \'wsmtpl_cms_file_tag\',\'file_path\' =&gt; &quot;/files/js/bs_min.js&quot;,\'file_type_ext\' =&gt; \'js\'))));
 ?&gt;

&lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'auth\'][\'user\']): ?&gt;
    &lt;script type=\'text/javascript\' src=&quot;/files/js/wsm_custom_v5_pl.js?v=&lt;?php echo ((is_array($_tmp=time())) ? $this-&gt;_run_mod_handler(\'date_format\', true, $_tmp, &quot;%H%M%S&quot;) : smarty_modifier_date_format($_tmp, &quot;%H%M%S&quot;)); ?&gt;
&quot;&gt;&lt;/script&gt;

&lt;?php else: ?&gt;
    &lt;script type=\'text/javascript\' src=&quot;/files/js/wsm_custom_v5.js?v=&lt;?php echo ((is_array($_tmp=time())) ? $this-&gt;_run_mod_handler(\'date_format\', true, $_tmp, &quot;%H%M%S&quot;) : smarty_modifier_date_format($_tmp, &quot;%H%M%S&quot;)); ?&gt;
&quot;&gt;&lt;/script&gt;

&lt;?php endif; ?&gt;


    &lt;!--&lt;script type=&quot;text/javascript&quot; src=&quot;/files/js/modernizr-foundation.js&quot;&gt;&lt;/script&gt;--&gt;

&lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'page\'][\'name\'] == \'product\'): ?&gt;
        &lt;?php if ($this-&gt;_tpl_vars[\'wsm_product\']-&gt;availability == \'Available\'): ?&gt;
        &lt;script&gt;
        $(document).ready(()=&gt;{
          if ($(&quot;body.equipment-layout&quot;).length &gt; 0){
            $(&quot;.question-box&quot;).html(&quot;&lt;a href=\'https://www.titantruck.com/item-inquiry-159218.html\'&gt;&lt;p&gt;Need An Installation Quote? Click or Call!&lt;/p&gt;&lt;/a&gt;&quot;);
            $(&quot;.secondary-shopping-buttons a img&quot;).attr(&quot;src&quot;, &quot;/files/images/clickcall.png&quot;);
            $(&quot;.secondary-shopping-buttons a&quot;).attr(&quot;href&quot;, &quot;https://www.titantruck.com/item-inquiry-159218.html&quot;);
           }
        });
        &lt;/script&gt;
        &lt;?php endif; ?&gt;
&lt;?php endif; ?&gt;

&lt;?php $this-&gt;_smarty_include(array(\'smarty_include_tpl_file\' =&gt; \'widget:atc_required_products\', \'smarty_include_vars\' =&gt; array(\'params\' =&gt; array(\'name\' =&gt; \'atc_required_products\'))));
 ?&gt;

&lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'page\'][\'name\'] == \'brand\'): ?&gt;
    &lt;script&gt;
        $(document).ajaxStop(function() {
            $(\'#ags-categories-list\').hide();
        });
    &lt;/script&gt;
&lt;?php endif; ?&gt;

&lt;!-- LP start number replacer --&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
vs_account_id      = &quot;Ch4Nl1q5NgUQqQAP&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php echo $this-&gt;_tpl_vars[\'env\'][\'protocol\']; ?&gt;
://rw1.marchex.io/euinc/number-changer.js&quot;&gt;
&lt;/script&gt;
&lt;!-- end ad widget --&gt;


&lt;?php $this-&gt;_smarty_include(array(\'smarty_include_tpl_file\' =&gt; \'widget:google_remarketing_tag\', \'smarty_include_vars\' =&gt; array(\'params\' =&gt; array(\'name\' =&gt; \'google_remarketing_tag\',\'conversion_id\' =&gt; \'847305022\',\'ecomm_prodid\' =&gt; \'dealer_id\'))));
 ?&gt;

&lt;?php $this-&gt;_smarty_include(array(\'smarty_include_tpl_file\' =&gt; \'widget:google_adwords_conversion\', \'smarty_include_vars\' =&gt; array(\'params\' =&gt; array(\'name\' =&gt; \'google_adwords_conversion\',\'google_conversion_id\' =&gt; \'847305022\',\'google_conversion_label\' =&gt; \'j36HCPiaun8QvrKDlAM\',\'google_conversion_value\' =&gt; \'true\'))));
 ?&gt;

&lt;script&gt;
/* ***********************************************************************
* PARTSLOGIC - CUSTOM SCRIPT - WSM AGS SEARCH RESULTS PAGE
* CTA to try BETA Search and include keyword
* Only visible to B2B users
* Author RJ 8-17-22 ryan@partslogic.com
* ********************************************************************** */
if(WSMuserData.user_type == &quot;b2b&quot; &amp;&amp; $(&quot;body.env-name-search&quot;).length &gt; 0 &amp;&amp; $(&quot;body.env-user-wsm-authorREMOVEME&quot;).length &gt; 0 ){
  $(document).on(&quot;page.finish&quot;,function(){
    console.log(&quot;PL Custom Script: CTA for WSM AGS Search PAge, find script in template wsm_05_scripts &quot;);
    /* Remove the previous message if in the DOM*/
    $(&quot;#plCustom_WSMsearchMsg&quot;).remove();

    /* Get the Search Term from the DOM */
    var plCustom_AGSSearchTerm = $(&quot;.ags_sticky_link_value:first&quot;).text();
    
    /* Conditional to construct the CTA Link */
    if(plCustom_AGSSearchTerm.length &gt; 0){
      var plCustom_AGSSearchCTA = \'&lt;a class=&quot;plCustom_clearPLFitment&quot; href=&quot;/search-beta.html?q=\' + plCustom_AGSSearchTerm + \'&quot;&gt;click here to search for &lt;em&gt;&quot;\' + plCustom_AGSSearchTerm + \'&quot;&lt;/em&gt; &lt;/a&gt;\';
    } else {
      var plCustom_AGSSearchCTA = \'&lt;a class=&quot;plCustom_clearPLFitment&quot; href=&quot;/search-beta.html&quot;&gt;click here to try it!&lt;/a&gt;\';
    }
    
    /*Construct the HTML element to place in the DOM */
    var plCustom_AGSSearchHTMLmsg = \'&lt;div class=&quot;alert alert-info&quot; id=&quot;plCustom_WSMsearchMsg&quot;&gt;&lt;i class=&quot;fa fa-search-plus&quot;&gt;&lt;/i&gt; &lt;strong&gt;Try our Beta search&lt;/strong&gt;, \' + plCustom_AGSSearchCTA + \' &lt;/div&gt;\';
    
    /* Place in DOM */
    $(plCustom_AGSSearchHTMLmsg).insertAfter($(&quot;ul.breadcrumb+h2&quot;))
    
    /* Clear PL Fitment to ensure the user get\'s results on keyword term */
    $(&quot;.plCustom_clearPLFitment&quot;).click(function(){
      localStorage.removeItem(PartslogicUi.FITMENT_SELECTOR_STORAGE_KEY);
    })
  });
}
&lt;/script&gt;

&lt;script&gt;
const THESHOTGUN = (()=&gt;{
  $(document).on(\'department.render\', function(e){
    console.log(\'event:department.render\')
  });

  $(document).on(\'attributes.render\', function(e){
    console.log(\'event:attributes.render\')
  });

  $(document).on(\'page.finish\', function(e){
    console.log(\'event:page.finish\')
  });

  $(document).on(\'ajaxStop\', function(e){
    console.log(\'event:ajaxStop\')
  });
})();
&lt;/script&gt;

&lt;!-- Sendlane Popup Logic - WSMDESK-17038 --&gt;

 &lt;?php if ($this-&gt;_tpl_vars[\'acc_group\']-&gt;name == \'Jobber\'): ?&gt;
  &lt;!-- JOBBERS --&gt;
  &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_jobber\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11695\'), $this);?&gt;

  &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_jobber\']-&gt;data), $this);?&gt;


 &lt;?php elseif ($this-&gt;_tpl_vars[\'customer\']-&gt;active == \'true\'): ?&gt;

  &lt;!--LOGGED IN customers--&gt;
  &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_loggedcustomer\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11696\'), $this);?&gt;

  &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_loggedcustomer\']-&gt;data), $this);?&gt;


 &lt;?php else: ?&gt;

  &lt;!--all OTHER customers - not a jobber or signed in --&gt;
  &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_customer\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11697\'), $this);?&gt;

  &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_customer\']-&gt;data), $this);?&gt;

 &lt;?php endif; ?&gt;

   &lt;!-- all customers --&gt;
  &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_all_customer\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11698\'), $this);?&gt;

  &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_all_customer\']-&gt;data), $this);?&gt;



&lt;!-- Product Detail Logic --&gt;

&lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'page\'][\'name\'] == \'product\'): ?&gt;

 &lt;?php if ($this-&gt;_tpl_vars[\'acc_group\']-&gt;name == \'Jobber\'): ?&gt;
  &lt;!-- JOBBERS --&gt;
  &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_jobber_prod\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11699\'), $this);?&gt;

  &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_jobber_prod\']-&gt;data), $this);?&gt;


 &lt;?php elseif ($this-&gt;_tpl_vars[\'customer\']-&gt;active == \'true\'): ?&gt;

  &lt;!--LOGGED IN customers--&gt;
  &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_loggedcustomer_prod\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11701\'), $this);?&gt;

  &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_loggedcustomer_prod\']-&gt;data), $this);?&gt;


 &lt;?php else: ?&gt;

  &lt;!--all OTHER customers - not a jobber or signed in --&gt;
  &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_customer_prod\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11703\'), $this);?&gt;

  &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_customer_prod\']-&gt;data), $this);?&gt;

 &lt;?php endif; ?&gt;

 &lt;!-- all customers --&gt;
 &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_all_customer_prod\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11705\'), $this);?&gt;

 &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_all_customer_prod\']-&gt;data), $this);?&gt;


&lt;?php endif; ?&gt;


&lt;!-- Category Logic --&gt;

&lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'page\'][\'name\'] == \'category\'): ?&gt;

 &lt;?php if ($this-&gt;_tpl_vars[\'acc_group\']-&gt;name == \'Jobber\'): ?&gt;
  &lt;!-- JOBBERS --&gt;
  &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_jobber_cat\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11700\'), $this);?&gt;

  &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_jobber_cat\']-&gt;data), $this);?&gt;


 &lt;?php elseif ($this-&gt;_tpl_vars[\'customer\']-&gt;active == \'true\'): ?&gt;

  &lt;!--LOGGED IN customers--&gt;
  &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_loggedcustomer_cat\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11702\'), $this);?&gt;

  &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_loggedcustomer_cat\']-&gt;data), $this);?&gt;


 &lt;?php else: ?&gt;

  &lt;!--all OTHER customers - not a jobber or signed in --&gt;
  &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_customer_cat\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11704\'), $this);?&gt;

  &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_customer_cat\']-&gt;data), $this);?&gt;

 &lt;?php endif; ?&gt;

 &lt;!-- all customers --&gt;
 &lt;?php echo smarty_function_getbyid(array(\'assign\' =&gt; \'sendlane_all_customer_cat\',\'model\' =&gt; \'template\',\'id\' =&gt; \'11706\'), $this);?&gt;

 &lt;?php echo smarty_function_eval(array(\'var\' =&gt; $this-&gt;_tpl_vars[\'sendlane_all_customer_cat\']-&gt;data), $this);?&gt;


&lt;?php endif; ?&gt;

&lt;script&gt;
    $(document).ajaxStop(()=&gt;{
        //update section titles
        $(&quot;#wsm_checkout_customer_info .section_title&quot;).text(&quot;Choose Checkout Method&quot;);
        $(&quot;#wsm_checkout_address_info .section_title&quot;).text(&quot;Billing &amp; Shipping Address&quot;);
        $(&quot;#wsm_checkout_payment_info .section_title&quot;).text(&quot;Payment Information&quot;);
        $(&quot;wsm_checkout_order_info .section_title&quot;).text(&quot;Order Summary &amp; Shipping&quot;);

        //move address selection to top of section
        $(&quot;.wsm_checkout_same_address, .wsm_checkout_seperate_address, .wsm_checkout_shipping_address_wrap&quot;).wrapAll(&quot;&lt;div class=\'sep_address\'&gt;&lt;/div&gt;&quot;);
        $(&quot;.sep_address&quot;).insertBefore(&quot;.wsm_checkout_billing_address_wrap&quot;);

        // Move this outside of &quot;sep_address&quot;
        $(&quot;.radio.wsm_checkout_seperate_address&quot;).click(function(){
           $(&quot;.wsm_checkout_shipping_address_wrap.wsm_checkout_shipping_address_dealer_wrap&quot;).insertAfter(&quot;.wsm_checkout_billing_address_wrap&quot;);
        });
        //placeholder text for form question
        $(&quot;#wsm_form_question_2&quot;).attr(&quot;placeholder&quot;, &quot;In hands date needed for items not in stock, hold orders for freight, etc.&quot;);
        //add back in different totals
        $(&quot;#wsmjs-checkout-shipping, #wsmjs-checkout-tax&quot;).removeAttr(&quot;style&quot;);

    });
&lt;/script&gt;

&lt;!-- Google Ads Remarketing: CKM 6/11/21 --&gt;

&lt;script&gt;
  window.addEventListener(\'load\', function() {
    jQuery(\'[name=&quot;action_cart_add&quot;]\').click(function() {
      gtag(\'event\', \'conversion\', {\'send_to\': \'AW-847305022/182UCPygu8ACEL6yg5QD\'});
    })
  })

&lt;/script&gt;

&lt;!-- End Google Ads Remarketing --&gt;


&lt;!-- Sendlane Tracker: CKM 11/15/21 --&gt;

&lt;script&gt;
window._Sendlane = window._Sendlane || [];
_Sendlane.push({
    event_id: \'dOevnT4Z6wQ7I\'
});
&lt;/script&gt;

&lt;script src=&quot;&lt;?php echo $this-&gt;_tpl_vars[\'env\'][\'protocol\']; ?&gt;
://sendlane.com/scripts/pusher.js&quot; async&gt;&lt;/script&gt;

&lt;!-- End Sendlane Tracker --&gt;


&lt;?php if ($this-&gt;_tpl_vars[\'env\'][\'auth\'][\'user\']-&gt;admin == \'true\'): ?&gt;&lt;?php endif; ?&gt;
&lt;/body&gt;
&lt;/html&gt;'</callparams><source><line>Smarty.class.php:1958   */</line><line>Smarty.class.php:1959   function _eval($code, $params=null)</line><line>Smarty.class.php:1960   {</line><line>Smarty.class.php:1961   return eval($code);</line><line>Smarty.class.php:1962   }</line></source></error><error><file>/var/www/wsm/app/lib/smarty/plugins/function.eval.php:36</file><call>smarty_function_eval</call><callparams>{&quot;var&quot;:&quot;{{* PARTSLOGIC - Fitment Verifier *}}\r\n{{ if $env.page.name == 'product' &amp;&amp; $env.auth.user }}\r\n &lt;script&gt;    \r\n\r\n  \/* Variables to complete *\/\r\n  const plAPIKey                = 'b1c22fe8-0af9-4ec6-b606-7506596ecf08'  \/* CLIENT SPECIFIC - API Key *\/\r\n  const plFitmentGroupID        = 1   \/*CLIENT SPECIFIC: WSM Fitment Group ID*\/\r\n  const wsmFitmentGroupLabel    = \&quot;Year Make Model\&quot;; \/*CLIENT SPECIFIC: WSM NON-AGS Fitment Group Label: (ie Year Make Model:)*\/\r\n  const wsmAGSFitmentGroupLabel = \&quot;yearmakemodel\&quot;; \/*CLIENT SPECIFIC: WSM's AGS config setting for fitment group (ie: yearmakemodel)*\/\r\n  const plFitmentVerifierEvent  = new Event('WSM_ProdFitmentGroup');\r\n\r\n  {{* NEW EVENT: For AGS Websites only. Check for a fitment group and if true execute the fitment verifier *}}\r\n  $(document).ajaxComplete(function(event,xhr,settings){\r\n      var WSM_AjaxURLString = settings.url;\r\n\r\n      \/\/console.log(\&quot;WSM_AjaxURLString: \&quot; + WSM_AjaxURLString)\r\n\r\n      if(WSM_AjaxURLString.includes(\&quot;\/solr\/{{ $env.site-&gt;tagName }}\/select?q=productid\&quot;) == true ){\r\n          var WSM_ProdAttributes =  xhr.responseText;\r\n          if(WSM_ProdAttributes.includes(wsmAGSFitmentGroupLabel + \&quot;\\\&quot;:[\&quot;) == true){\r\n              document.dispatchEvent(plFitmentVerifierEvent);         \r\n          }\r\n      }\r\n  });\r\n\r\n  document.addEventListener(\&quot;WSM_ProdFitmentGroup\&quot;, () =&gt; {\r\n    \/* WSM FIRST: put in the element into the DOM  *\/\r\n    $('#wsm-prod-info-container').before('&lt;div id=\&quot;pl-fitment-verifier\&quot;&gt;&lt;!--PartsLogic Fitment Verifier target here--&gt;&lt;\/div&gt;');\r\n\r\n    const fitmentContainer = document.querySelector(\r\n      '#pl-fitment-verifier'\r\n    );\r\n\r\n    window.PartslogicUi.config({\r\n      API_KEY: plAPIKey,\r\n    });\r\n\r\n    window.ReactDOM.render(\r\n      window.React.createElement(PartslogicUi.FitmentSelectorVerifier, {\r\n        styled: true,\r\n        alertButtonText: 'Change Fitment',\r\n        alertErrorTitle: \&quot;Doesn't Fit\&quot;,\r\n        alertSuccessTitle: 'Fitment Verified',\r\n        title: 'Verify it fits',\r\n        searchButtonText: 'Save &amp; Verify',\r\n        orientation: 'vertical',\r\n        showMoreText: \&quot;Find Products that fit &gt;\&quot;,\r\n        onDoesntFit: (e) =&gt; { \r\n          \/* Get most recent search term and add it to the search query*\/\r\n          if(localStorage.getItem(PartslogicUi.SEARCH_TERMS_HISTORY_KEY) != null){\r\n            var searchTermsHistoryObj = JSON.parse(localStorage.getItem(PartslogicUi.SEARCH_TERMS_HISTORY_KEY));\r\n            var PlFvQuery = \&quot;?q=\&quot; + searchTermsHistoryObj[0];\r\n          } else {\r\n            var PlFvQuery = \&quot;\&quot;\r\n          }\r\n          window.location = `\/search.html${PlFvQuery}`;\r\n        },\r\n        doesntFitButtonText: 'See Products that Fit',\r\n        sku: {{ $wsm_product-&gt;id }},\r\n        groupId: plFitmentGroupID\r\n      }),\r\n      fitmentContainer\r\n    );\r\n  })\r\n  &lt;\/script&gt;\r\n{{ \/if }}\r\n\r\n\r\n\r\n{{* DESK8491 - AKA: prop65 Addition to product pages *}}\r\n{{ if $env.page.name == 'product' }}\r\n  {{ widget name='prop65_v2' layout='row' text_layout='inline' icon_size='small' prop_title='hide' }}\r\n   &lt;script&gt;\r\n      $('.prop65-cont').appendTo('#wsm-prod-info-container');\r\n$('.ags-prod-vehicle-selected').appendTo('#wsm-prod-info');\r\n$('.wsm-prod-stock-id').appendTo('.wsm-cat-pricebox');\r\n   &lt;\/script&gt;\r\n{{ \/if }}\r\n  \r\n    &lt;!-- Login Modal --&gt;\r\n    {{ widget name='bs_login' }}\r\n\r\n    &lt;!-- Cart Content  --&gt;\r\n    {{ widget name='bs_cart_bottom' }}\r\n\r\n    {{ if $env.page.name == 'product' }}\r\n    &lt;div class=\&quot;sharethis_wrap\&quot;&gt;\r\n        &lt;span class='st_facebook_large' displayText='Facebook'&gt;&lt;\/span&gt;\r\n        &lt;span class='st_twitter_large' displayText='Tweet'&gt;&lt;\/span&gt;\r\n        &lt;span class='st_pinterest_large' displayText='Pinterest'&gt;&lt;\/span&gt;\r\n    &lt;\/div&gt;\r\n    {{ \/if }}\r\n\r\n    {{ if $wsm_category-&gt;categories != '0' &amp;&amp; $wsm_category-&gt;products == '0' }}\r\n        {{ assign var=\&quot;solrinit_facet_fields\&quot; value=\&quot;category\&quot; }}\r\n    {{ else }}\r\n        {{ assign var=\&quot;solrinit_facet_fields\&quot; value=\&quot;actual_color,angle,ball_diameter_inches,ball_shank_diameter_inches,bolt_pattern,brake_drum_or_rotor_diameter,coating_or_finish,color,color_and_material,diameter,diameter_inches,diameter_inside_inches,diameter_outside_inches,drop_inches,filter_color,filter_material,filter_style,finish,fuel,gross_trailer_weight_lbs,height_inches,horse_power_increase,housing_color,inlet_size_inches,inside_diameter,installed_height_inches,intake_pipe_color_finish,jacket_size,jet_size,led_color,lens_color,lift_by_drop_height_inches,lifter_type,light_color,lighting_color,lighting_type,lug_number,material,max_load,max_temperature_limit,max_temperature_rating,outlet_size_inches,outside_length,outside_width,overall_length_inches,position,ratio,rear_axle_ratio,rim_color_and_material,ring_size,rise_inches,shank_length_inches,shirt_color,shirt_size,shirt_style,shock_stroke_inches,size,size_by_length,size_inches,spoke_color,spoke_number,style,thickness,thread_size,tip_size,tube_shape,type,voltage,wattage,wheel_base,wheel_lug,wheel_size,wheel_size_original_equipment,wheel_type,width_inches,raw_lumens,peak_beam_intensity_cd,field_vertical,field_horizontal,beam_distance_w_25_lux,beam_distance_w_1_lux,amp_draw,lux_at_10m,cross_over_rail_wide,gloss_black,double_doors,diamond_plate,weldon,muffler_overall_length_inches,muffler_outlet_diameter_inches,muffler_inlet_diameter_inches,muffler_body_width_inches,muffler_body_shape,muffler_body_height_inches,muffler_body_length_inches,gross_vehicle_weight,extension_travel,lift_weight_lbs,stow_height,max_reach,max_height,height_to_bottom_of_platform,flare_height_in,drawer,length_inches,frame_width,cab_to_axle,flare_height_inches,remote,flare_height,glove_size,gasket_or_seal_included,single_door,underbed\&quot; }}\r\n    {{ \/if }}\r\n\r\n    {{ if $ymm_selector == 'true' }}\r\n        {{ solr_init \r\n            facet_match=\&quot;true\&quot; \r\n            search_fields=\&quot;{\r\n                dealerid_clean:'strict|boosted+8',\r\n                dealerid:'strict|boosted+7',\r\n                dealerid_sku:'wild|boosted+6',\r\n                stockid:'left|boosted+5',\r\n                meta_keywords_stem:'expanded|loose|boosted+9',\r\n                brand:'expanded|loose',\r\n                title:'expanded|joined|wild',\r\n                yearmakemodel:'expanded|joined|wild',\r\n                summary2:'strict',\r\n                summary:'strict',\r\n                category:'strict'\r\n                }\&quot;\r\n            facet_fields=\&quot;`$solrinit_facet_fields`\&quot; \r\n            facet_compounded_field='yearmakemodel' \r\n            fields=\&quot;tags,title,summary,category_id,tagline,product_series_tagline\&quot; \r\n            result_container=\&quot;documents\&quot; \r\n            return_fields=\&quot;id,url,title,price,sale,category,category_id,summary,availability,productid,tags\&quot; \r\n            homepage=\&quot;true\&quot;\r\n        }}\r\n    {{ else }}\r\n        {{ solr_init\r\n            facet_match=\&quot;true\&quot; \r\n            inclusion_search='true' \r\n            search_fields=\&quot;{\r\n                dealerid_clean:'strict|boosted+8',\r\n                dealerid:'strict|boosted+7',\r\n                dealerid_sku:'wild|boosted+6',\r\n                stockid:'left|boosted+5',\r\n                meta_keywords_stem:'expanded|loose|boosted+9',\r\n                brand:'expanded|loose',\r\n                title:'expanded|joined|wild',\r\n                yearmakemodel:'expanded|joined|wild',\r\n                summary2:'strict',\r\n                summary:'strict',\r\n                category:'strict'\r\n                }\&quot;\r\n                facet_fields=\&quot;`$solrinit_facet_fields`\&quot; \r\n            facet_compounded_field='' \r\n            fields=\&quot;tags,title,summary,category_id,tagline,product_series_tagline\&quot;\r\n            result_container=\&quot;documents\&quot;\r\n            return_fields=\&quot;id,url,title,price,sale,summary,category,category_id,availability,productid,tags\&quot; \r\n        }}\r\n    {{ \/if }}\r\n{{* LITTLE HACK to uppercase the search terms RJ 6\/29\/18 *}}\r\n&lt;script&gt;\r\n$('#edit-keys').on('input',function(){this.value = this.value.toUpperCase()});\r\n&lt;\/script&gt;\r\n\r\n    {{ if $customer_order }}\r\n        &lt;script&gt;\r\n        {{ strip }}\r\n        {{* My Account Page - Show MEMO field which contains the TN Invoice # *}}\r\n        {{*  Smarty JSON Object Template *}}\r\n        {{ if $customer_order }}\r\n            {{ assign var='objName' value='acctOrders' }}\r\n            {{ foreach item=jsonObj from=$customer_order name='jsonObj' }}\r\n            {{ if $smarty.foreach.jsonObj.first }}\r\n            var {{ $objName }} = {\r\n            {{ \/if }}\r\n\r\n                {{ $jsonObj-&gt;id }} : {\r\n                    id: '{{ $jsonObj-&gt;id }}',\r\n                    memo: '{{ $jsonObj-&gt;memo }}'\r\n                }{{ if !$smarty.foreach.jsonObj.last }},{{ \/if }}\r\n            \r\n            {{ if $smarty.foreach.jsonObj.last }}\r\n            }\r\n            {{ \/if }}\r\n            {{ \/foreach }}\r\n        {{ \/if }}\r\n        {{ \/strip }}\r\n        &lt;\/script&gt;\r\n    {{ \/if }}\r\n\r\n    {{ if $wsm_product }}\r\n        &lt;script&gt;\r\n        \/\/ Push new values to the product variabls\r\n        product.availability    = '{{ $wsm_product-&gt;availability }}';\r\n        product.brand           = '{{ $wsm_product-&gt;brand }}';\r\n        {{ if $series }}\r\n        product.series          = '{{ $series-&gt;id }}';\r\n        {{ \/if }}\r\n        {{ strip }}\r\n        {{* Object Listing Root Categories Used on Product Detail page *}}\r\n        {{*  Smarty JSON Object Template *}}\r\n            {{ model_query model='category' filter=\&quot;parent=null,hidden=false\&quot; assign='rootCats' }}\r\n            {{ assign var='objName' value='rootCats' }}\r\n            {{ foreach item=jsonObj from=$rootCats name='jsonObj' }}\r\n            {{ if $smarty.foreach.jsonObj.first }}var {{ $objName }} = [{{ \/if }}\r\n            '{{ $jsonObj-&gt;title|pretty_url }}'\r\n            {{ if !$smarty.foreach.jsonObj.last }},{{ \/if }}\r\n            {{ if $smarty.foreach.jsonObj.last }}]{{ \/if }}\r\n            {{ \/foreach }}\r\n        {{ \/strip }}\r\n        &lt;\/script&gt;\r\n\r\n    {{ \/if }}\r\n\r\n    &lt;script type=\&quot;text\/javascript\&quot; src=\&quot;\/files\/owl\/owl-min.js\&quot;&gt;&lt;\/script&gt;\r\n    &lt;script type=\&quot;text\/javascript\&quot; src=\&quot;\/files\/owl\/owl-carousel2-thumbs-min.js\&quot;&gt;&lt;\/script&gt;\r\n\r\n    &lt;script type='text\/javascript' src=\&quot;\/\/wurfl.io\/wurfl.js\&quot;&gt;&lt;\/script&gt;\r\n    {{ widget name=\&quot;wsmtpl_cms_file_tag\&quot; file_path=\&quot;\/files\/js\/bs_min.js\&quot; file_type_ext=\&quot;js\&quot; }}\r\n\r\n{{ if $env.auth.user }}\r\n    &lt;script type='text\/javascript' src=\&quot;\/files\/js\/wsm_custom_v5_pl.js?v={{$smarty.now|date_format:\&quot;%H%M%S\&quot;}}\&quot;&gt;&lt;\/script&gt;\r\n\r\n{{else}}\r\n    &lt;script type='text\/javascript' src=\&quot;\/files\/js\/wsm_custom_v5.js?v={{$smarty.now|date_format:\&quot;%H%M%S\&quot;}}\&quot;&gt;&lt;\/script&gt;\r\n\r\n{{ \/if }}\r\n\r\n\r\n    &lt;!--&lt;script type=\&quot;text\/javascript\&quot; src=\&quot;\/files\/js\/modernizr-foundation.js\&quot;&gt;&lt;\/script&gt;--&gt;\r\n\r\n{{ if $env.page.name == 'product' }}\r\n        {{ if $wsm_product-&gt;availability == 'Available'}}\r\n        &lt;script&gt;\r\n        $(document).ready(()=&gt;{\r\n          if ($(\&quot;body.equipment-layout\&quot;).length &gt; 0){\r\n            $(\&quot;.question-box\&quot;).html(\&quot;&lt;a href='https:\/\/www.titantruck.com\/item-inquiry-159218.html'&gt;&lt;p&gt;Need An Installation Quote? Click or Call!&lt;\/p&gt;&lt;\/a&gt;\&quot;);\r\n            $(\&quot;.secondary-shopping-buttons a img\&quot;).attr(\&quot;src\&quot;, \&quot;\/files\/images\/clickcall.png\&quot;);\r\n            $(\&quot;.secondary-shopping-buttons a\&quot;).attr(\&quot;href\&quot;, \&quot;https:\/\/www.titantruck.com\/item-inquiry-159218.html\&quot;);\r\n           }\r\n        });\r\n        &lt;\/script&gt;\r\n        {{ \/if }}\r\n{{ \/if }}\r\n\r\n{{* Required Products pulled from Admin Notes of a Product *}}\r\n{{ widget name=\&quot;atc_required_products\&quot; }}\r\n\r\n{{* Remove Categories from Brand Pages *}}\r\n{{ if $env.page.name == 'brand' }}\r\n    &lt;script&gt;\r\n        $(document).ajaxStop(function() {\r\n            $('#ags-categories-list').hide();\r\n        });\r\n    &lt;\/script&gt;\r\n{{ \/if }}\r\n\r\n&lt;!-- LP start number replacer --&gt;\r\n&lt;script type=\&quot;text\/javascript\&quot;&gt;&lt;!--\r\nvs_account_id      = \&quot;Ch4Nl1q5NgUQqQAP\&quot;;\r\n\/\/--&gt;&lt;\/script&gt;\r\n&lt;script type=\&quot;text\/javascript\&quot; src=\&quot;{{ $env.protocol }}:\/\/rw1.marchex.io\/euinc\/number-changer.js\&quot;&gt;\r\n&lt;\/script&gt;\r\n&lt;!-- end ad widget --&gt;\r\n\r\n\r\n{{* Google Remarketing: WSMDESK-6086 RJ 7\/12\/18 *}}\r\n{{ widget name='google_remarketing_tag' conversion_id='847305022' ecomm_prodid='dealer_id' }}\r\n\r\n{{ widget name='google_adwords_conversion' google_conversion_id='847305022' google_conversion_label='j36HCPiaun8QvrKDlAM' google_conversion_value='true' }}\r\n\r\n&lt;script&gt;\r\n\/* ***********************************************************************\r\n* PARTSLOGIC - CUSTOM SCRIPT - WSM AGS SEARCH RESULTS PAGE\r\n* CTA to try BETA Search and include keyword\r\n* Only visible to B2B users\r\n* Author RJ 8-17-22 ryan@partslogic.com\r\n* ********************************************************************** *\/\r\nif(WSMuserData.user_type == \&quot;b2b\&quot; &amp;&amp; $(\&quot;body.env-name-search\&quot;).length &gt; 0 &amp;&amp; $(\&quot;body.env-user-wsm-authorREMOVEME\&quot;).length &gt; 0 ){\r\n  $(document).on(\&quot;page.finish\&quot;,function(){\r\n    console.log(\&quot;PL Custom Script: CTA for WSM AGS Search PAge, find script in template wsm_05_scripts \&quot;);\r\n    \/* Remove the previous message if in the DOM*\/\r\n    $(\&quot;#plCustom_WSMsearchMsg\&quot;).remove();\r\n\r\n    \/* Get the Search Term from the DOM *\/\r\n    var plCustom_AGSSearchTerm = $(\&quot;.ags_sticky_link_value:first\&quot;).text();\r\n    \r\n    \/* Conditional to construct the CTA Link *\/\r\n    if(plCustom_AGSSearchTerm.length &gt; 0){\r\n      var plCustom_AGSSearchCTA = '&lt;a class=\&quot;plCustom_clearPLFitment\&quot; href=\&quot;\/search-beta.html?q=' + plCustom_AGSSearchTerm + '\&quot;&gt;click here to search for &lt;em&gt;\&quot;' + plCustom_AGSSearchTerm + '\&quot;&lt;\/em&gt; &lt;\/a&gt;';\r\n    } else {\r\n      var plCustom_AGSSearchCTA = '&lt;a class=\&quot;plCustom_clearPLFitment\&quot; href=\&quot;\/search-beta.html\&quot;&gt;click here to try it!&lt;\/a&gt;';\r\n    }\r\n    \r\n    \/*Construct the HTML element to place in the DOM *\/\r\n    var plCustom_AGSSearchHTMLmsg = '&lt;div class=\&quot;alert alert-info\&quot; id=\&quot;plCustom_WSMsearchMsg\&quot;&gt;&lt;i class=\&quot;fa fa-search-plus\&quot;&gt;&lt;\/i&gt; &lt;strong&gt;Try our Beta search&lt;\/strong&gt;, ' + plCustom_AGSSearchCTA + ' &lt;\/div&gt;';\r\n    \r\n    \/* Place in DOM *\/\r\n    $(plCustom_AGSSearchHTMLmsg).insertAfter($(\&quot;ul.breadcrumb+h2\&quot;))\r\n    \r\n    \/* Clear PL Fitment to ensure the user get's results on keyword term *\/\r\n    $(\&quot;.plCustom_clearPLFitment\&quot;).click(function(){\r\n      localStorage.removeItem(PartslogicUi.FITMENT_SELECTOR_STORAGE_KEY);\r\n    })\r\n  });\r\n}\r\n&lt;\/script&gt;\r\n\r\n&lt;script&gt;\r\nconst THESHOTGUN = (()=&gt;{\r\n  $(document).on('department.render', function(e){\r\n    console.log('event:department.render')\r\n  });\r\n\r\n  $(document).on('attributes.render', function(e){\r\n    console.log('event:attributes.render')\r\n  });\r\n\r\n  $(document).on('page.finish', function(e){\r\n    console.log('event:page.finish')\r\n  });\r\n\r\n  $(document).on('ajaxStop', function(e){\r\n    console.log('event:ajaxStop')\r\n  });\r\n})();\r\n&lt;\/script&gt;\r\n\r\n&lt;!-- Sendlane Popup Logic - WSMDESK-17038 --&gt;\r\n\r\n {{ if  $acc_group-&gt;name == 'Jobber' }}\r\n  &lt;!-- JOBBERS --&gt;\r\n  {{ getbyid assign='sendlane_jobber' model='template' id='11695' }}\r\n  {{ eval var=$sendlane_jobber-&gt;data }}\r\n\r\n {{ elseif $customer-&gt;active == 'true' }}\r\n\r\n  &lt;!--LOGGED IN customers--&gt;\r\n  {{ getbyid assign='sendlane_loggedcustomer' model='template' id='11696' }}\r\n  {{ eval var=$sendlane_loggedcustomer-&gt;data }}\r\n\r\n {{ else }}\r\n\r\n  &lt;!--all OTHER customers - not a jobber or signed in --&gt;\r\n  {{ getbyid assign='sendlane_customer' model='template' id='11697' }}\r\n  {{ eval var=$sendlane_customer-&gt;data }}\r\n {{ \/if }}\r\n\r\n   &lt;!-- all customers --&gt;\r\n  {{ getbyid assign='sendlane_all_customer' model='template' id='11698' }}\r\n  {{ eval var=$sendlane_all_customer-&gt;data }}\r\n\r\n\r\n&lt;!-- Product Detail Logic --&gt;\r\n\r\n{{ if $env.page.name == 'product' }}\r\n\r\n {{ if  $acc_group-&gt;name == 'Jobber' }}\r\n  &lt;!-- JOBBERS --&gt;\r\n  {{ getbyid assign='sendlane_jobber_prod' model='template' id='11699' }}\r\n  {{ eval var=$sendlane_jobber_prod-&gt;data }}\r\n\r\n {{ elseif $customer-&gt;active == 'true' }}\r\n\r\n  &lt;!--LOGGED IN customers--&gt;\r\n  {{ getbyid assign='sendlane_loggedcustomer_prod' model='template' id='11701' }}\r\n  {{ eval var=$sendlane_loggedcustomer_prod-&gt;data }}\r\n\r\n {{ else }}\r\n\r\n  &lt;!--all OTHER customers - not a jobber or signed in --&gt;\r\n  {{ getbyid assign='sendlane_customer_prod' model='template' id='11703' }}\r\n  {{ eval var=$sendlane_customer_prod-&gt;data }}\r\n {{ \/if }}\r\n\r\n &lt;!-- all customers --&gt;\r\n {{ getbyid assign='sendlane_all_customer_prod' model='template' id='11705' }}\r\n {{ eval var=$sendlane_all_customer_prod-&gt;data }}\r\n\r\n{{ \/if }}\r\n\r\n\r\n&lt;!-- Category Logic --&gt;\r\n\r\n{{ if $env.page.name == 'category' }}\r\n\r\n {{ if  $acc_group-&gt;name == 'Jobber' }}\r\n  &lt;!-- JOBBERS --&gt;\r\n  {{ getbyid assign='sendlane_jobber_cat' model='template' id='11700' }}\r\n  {{ eval var=$sendlane_jobber_cat-&gt;data }}\r\n\r\n {{ elseif $customer-&gt;active == 'true' }}\r\n\r\n  &lt;!--LOGGED IN customers--&gt;\r\n  {{ getbyid assign='sendlane_loggedcustomer_cat' model='template' id='11702' }}\r\n  {{ eval var=$sendlane_loggedcustomer_cat-&gt;data }}\r\n\r\n {{ else }}\r\n\r\n  &lt;!--all OTHER customers - not a jobber or signed in --&gt;\r\n  {{ getbyid assign='sendlane_customer_cat' model='template' id='11704' }}\r\n  {{ eval var=$sendlane_customer_cat-&gt;data }}\r\n {{ \/if }}\r\n\r\n &lt;!-- all customers --&gt;\r\n {{ getbyid assign='sendlane_all_customer_cat' model='template' id='11706' }}\r\n {{ eval var=$sendlane_all_customer_cat-&gt;data }}\r\n\r\n{{ \/if }}\r\n\r\n&lt;script&gt;\r\n    $(document).ajaxStop(()=&gt;{\r\n        \/\/update section titles\r\n        $(\&quot;#wsm_checkout_customer_info .section_title\&quot;).text(\&quot;Choose Checkout Method\&quot;);\r\n        $(\&quot;#wsm_checkout_address_info .section_title\&quot;).text(\&quot;Billing &amp; Shipping Address\&quot;);\r\n        $(\&quot;#wsm_checkout_payment_info .section_title\&quot;).text(\&quot;Payment Information\&quot;);\r\n        $(\&quot;wsm_checkout_order_info .section_title\&quot;).text(\&quot;Order Summary &amp; Shipping\&quot;);\r\n\r\n        \/\/move address selection to top of section\r\n        $(\&quot;.wsm_checkout_same_address, .wsm_checkout_seperate_address, .wsm_checkout_shipping_address_wrap\&quot;).wrapAll(\&quot;&lt;div class='sep_address'&gt;&lt;\/div&gt;\&quot;);\r\n        $(\&quot;.sep_address\&quot;).insertBefore(\&quot;.wsm_checkout_billing_address_wrap\&quot;);\r\n\r\n        \/\/ Move this outside of \&quot;sep_address\&quot;\r\n        $(\&quot;.radio.wsm_checkout_seperate_address\&quot;).click(function(){\r\n           $(\&quot;.wsm_checkout_shipping_address_wrap.wsm_checkout_shipping_address_dealer_wrap\&quot;).insertAfter(\&quot;.wsm_checkout_billing_address_wrap\&quot;);\r\n        });\r\n        \/\/placeholder text for form question\r\n        $(\&quot;#wsm_form_question_2\&quot;).attr(\&quot;placeholder\&quot;, \&quot;In hands date needed for items not in stock, hold orders for freight, etc.\&quot;);\r\n        \/\/add back in different totals\r\n        $(\&quot;#wsmjs-checkout-shipping, #wsmjs-checkout-tax\&quot;).removeAttr(\&quot;style\&quot;);\r\n\r\n    });\r\n&lt;\/script&gt;\r\n\r\n&lt;!-- Google Ads Remarketing: CKM 6\/11\/21 --&gt;\r\n\r\n&lt;script&gt;\r\n  window.addEventListener('load', function() {\r\n    jQuery('[name=\&quot;action_cart_add\&quot;]').click(function() {\r\n      gtag('event', 'conversion', {'send_to': 'AW-847305022\/182UCPygu8ACEL6yg5QD'});\r\n    })\r\n  })\r\n\r\n&lt;\/script&gt;\r\n\r\n&lt;!-- End Google Ads Remarketing --&gt;\r\n\r\n\r\n&lt;!-- Sendlane Tracker: CKM 11\/15\/21 --&gt;\r\n\r\n&lt;script&gt;\r\nwindow._Sendlane = window._Sendlane || [];\r\n_Sendlane.push({\r\n    event_id: 'dOevnT4Z6wQ7I'\r\n});\r\n&lt;\/script&gt;\r\n\r\n&lt;script src=\&quot;{{ $env.protocol }}:\/\/sendlane.com\/scripts\/pusher.js\&quot; async&gt;&lt;\/script&gt;\r\n\r\n&lt;!-- End Sendlane Tracker --&gt;\r\n\r\n\r\n{{ if $env.auth.user-&gt;admin == 'true' }}{{* debug *}}{{ \/if }}\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n&quot;},object&lt;Smarty&gt;</callparams><source><line>function.eval.php:33     $smarty-&gt;_compile_source('evaluated template', $params['var'], $_var_compiled);</line><line>function.eval.php:34     </line><line>function.eval.php:35     ob_start();</line><line>function.eval.php:36     $smarty-&gt;_eval('?&gt;' . $_var_compiled);</line><line>function.eval.php:37     $_contents = ob_get_contents();</line></source></error><error><file>/shared/cache/smarty/templates_c/1183/compile/%%B3/B38/B3858155%%view.php:197</file><call>include</call><callparams>'/shared/cache/smarty/templates_c/1183/compile/%%B3/B38/B3858155%%view.php'</callparams><source><line>B3858155%%view.php:194    </line><line>B3858155%%view.php:195    &lt;?php echo smarty_function_getbyid(array('assign' =&gt; 'wsm_05_scripts','model' =&gt; 'template','id' =&gt; $this-&gt;_tpl_vars['wsm_05_scripts_id']), $this);?&gt;</line><line>B3858155%%view.php:196    </line><line>B3858155%%view.php:197    &lt;?php echo smarty_function_eval(array('var' =&gt; $this-&gt;_tpl_vars['wsm_05_scripts']-&gt;data), $this);?&gt;</line><line>B3858155%%view.php:198    </line></source></error><error><file>/var/www/wsm/app/lib/smarty/Smarty.class.php:1284</file><call>Smarty-&gt;fetch</call><callparams>'frame::frontend/product/view',NULL,NULL,true</callparams><source><line>Smarty.class.php:1281   if ($this-&gt;_is_compiled($resource_name, $_smarty_compile_path)</line><line>Smarty.class.php:1282   || $this-&gt;_compile_resource($resource_name, $_smarty_compile_path))</line><line>Smarty.class.php:1283   {</line><line>Smarty.class.php:1284   include($_smarty_compile_path);</line><line>Smarty.class.php:1285   }</line></source></error><error><file>/var/www/wsm/app/class/template/smarty.class.php:335</file><call>Template_Smarty-&gt;renderTemplate</call><callparams>'frame::frontend/product/view','295432',true</callparams><source><line>smarty.class.php:332    </line><line>smarty.class.php:333    return $template;</line><line>smarty.class.php:334    } else {</line><line>smarty.class.php:335    return $this-&gt;smarty-&gt;fetch($templateName, null, null, $display);</line><line>smarty.class.php:336    }</line></source></error><error><file>/var/www/wsm/app/class/template/smarty.class.php:305</file><call>Template_Smarty-&gt;execute</call><callparams>'frame::frontend/product/view','295432',true</callparams><source><line>smarty.class.php:302    return $this-&gt;renderTemplate($templateName, $cacheId, $display);</line><line>smarty.class.php:303    }</line><line>smarty.class.php:304    } else {</line><line>smarty.class.php:305    return $this-&gt;renderTemplate($templateName, $cacheId, $display);</line><line>smarty.class.php:306    }</line></source></error><error><file>/var/www/wsm/app/class/template/smarty.class.php:380</file><call>Template_Smarty-&gt;display</call><callparams>'frame::frontend/product/view','295432'</callparams><source><line>smarty.class.php:377    }</line><line>smarty.class.php:378    </line><line>smarty.class.php:379    public function display($name, $cacheId) {</line><line>smarty.class.php:380    return $this-&gt;execute($name, $cacheId, true);</line><line>smarty.class.php:381    }</line></source></error><error><file>/var/www/wsm/app/class/template/class.php:232</file><call>Template-&gt;display</call><callparams></callparams><source><line>class.php:229    */</line><line>class.php:230    public function display() {</line><line>class.php:231    $this-&gt;initVars();</line><line>class.php:232    return $this-&gt;engine-&gt;display($this-&gt;name, $this-&gt;cacheid);</line><line>class.php:233    }</line></source></error><error><file>/var/www/wsm/app/mod/product.con.php:574</file><call>ControllerFrontendProduct-&gt;viewIndex</call><callparams></callparams><source><line>product.con.php:571    $tpl-&gt;set('siteEnabled', in_array($site-&gt;tag, ['wsmdevt', 'datadev4']));</line><line>product.con.php:572    $tpl-&gt;setPageInfo('catalog', 'product', $product-&gt;id);</line><line>product.con.php:573    </line><line>product.con.php:574    $tpl-&gt;display();</line><line>product.con.php:575    </line></source></error><error><file>/var/www/wsm/app/class/controller.class.php:200</file><call>Controller-&gt;_view</call><callparams>'index'</callparams><source><line>controller.class.php:197    $this-&gt;_checkAnnotations('view', $name, array());</line><line>controller.class.php:198    </line><line>controller.class.php:199    // call view</line><line>controller.class.php:200    call_user_func(array($this, 'view' . $name));</line><line>controller.class.php:201    }</line></source></error><error><file>/var/www/wsm/app/class/controller.class.php:501</file><call>Controller::exec</call><callparams>'product.index',NULL</callparams><source><line>controller.class.php:498    }</line><line>controller.class.php:499    </line><line>controller.class.php:500    // call the view method</line><line>controller.class.php:501    $obj-&gt;_view($name);</line><line>controller.class.php:502    } else {</line></source></error><error><file>/var/www/wsm/app/inc/main.inc.php:184</file><call>wsmmain_invoke</call><callparams>'product.index'</callparams><source><line>main.inc.php:181    }</line><line>main.inc.php:182    </line><line>main.inc.php:183    // execute</line><line>main.inc.php:184    Controller::exec($wsmmain_invoke, $action);</line><line>main.inc.php:185    </line></source></error><error><file>/var/www/wsm/app/inc/main.inc.php:247</file><call>wsmmain_match</call><callparams>'/i-295432-class-1-trailer-hitch-1-1-4-ball-mount-select-hyundai-sonata.html'</callparams><source><line>main.inc.php:244    }</line><line>main.inc.php:245    </line><line>main.inc.php:246    // call the view</line><line>main.inc.php:247    wsmmain_invoke($view);</line><line>main.inc.php:248    }</line></source></error><error><file>/var/www/wsm/app/inc/main.inc.php:395</file><call>wsmmain_frontend_streamlined</call><callparams></callparams><source><line>main.inc.php:392    $path_check-&gt;noindex);</line><line>main.inc.php:393    }</line><line>main.inc.php:394    </line><line>main.inc.php:395    wsmmain_match($path_check-&gt;redirect_struct-&gt;path);</line><line>main.inc.php:396    </line></source></error><error><file>/var/www/wsm/app/inc/main.inc.php:275</file><call>wsmmain_frontend</call><callparams></callparams><source><line>main.inc.php:272    // Streamlined redirects enabled; move to a different method</line><line>main.inc.php:273    // to handle the rest of the request. The new method will be</line><line>main.inc.php:274    // responsible for closing (exiting) the running request.</line><line>main.inc.php:275    wsmmain_frontend_streamlined();</line><line>main.inc.php:276    </line></source></error><error><file>/var/www/wsm/app/inc/main.inc.php:709</file><call>main</call><callparams></callparams><source><line>main.inc.php:706    if ($env-&gt;isAdmin) {</line><line>main.inc.php:707    wsmmain_admin();</line><line>main.inc.php:708    } else {</line><line>main.inc.php:709    wsmmain_frontend();</line><line>main.inc.php:710    }</line></source></error><error><file>/var/www/wsm/htdocs/index.php:4</file><call>index.php</call><callparams></callparams><source><line>index.php:1      &lt;?php</line><line>index.php:2      </line><line>index.php:3      require dirname(__FILE__).'/../app/inc/main.inc.php';</line><line>index.php:4      main();</line><line>index.php:5      </line></source></error></backtrace></errors>