<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Accessories Archives - KERN</title>
	<atom:link href="https://www.kern.si/en/category/accessories-en/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kern.si/en/category/accessories-en/</link>
	<description></description>
	<lastBuildDate>Wed, 21 Feb 2024 14:27:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.2</generator>

<image>
	<url>https://www.kern.si/wp-content/uploads/2019/07/cropped-Kern_favicon-01-32x32.png</url>
	<title>Accessories Archives - KERN</title>
	<link>https://www.kern.si/en/category/accessories-en/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>3426: Compression pads, shedder insert</title>
		<link>https://www.kern.si/en/3426-compression-pads-shedder-insert/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 21 Feb 2024 14:27:40 +0000</pubDate>
				<category><![CDATA[Accessories]]></category>
		<guid isPermaLink="false">https://www.kern.si/?page_id=27243</guid>

					<description><![CDATA[<p>The post <a href="https://www.kern.si/en/3426-compression-pads-shedder-insert/">3426: Compression pads, shedder insert</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-6 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_raw_code wpb_content_element wpb_raw_html" >
		<div class="wpb_wrapper">
			<img decoding="async" class="svg-kern" alt="alt-text" width="500" src="https://www.kern.si/wp-content/uploads/2024/02/3426.svg" />
		</div>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<div class="vc_single_image-wrapper   vc_box_border_grey"><img fetchpriority="high" decoding="async" width="300" height="250" src="https://www.kern.si/wp-content/uploads/2024/02/3426-300x250.png" class="vc_single_image-img attachment-medium" alt="" title="3426" srcset="https://www.kern.si/wp-content/uploads/2024/02/3426-300x250.png 300w, https://www.kern.si/wp-content/uploads/2024/02/3426-1024x855.png 1024w, https://www.kern.si/wp-content/uploads/2024/02/3426-768x641.png 768w, https://www.kern.si/wp-content/uploads/2024/02/3426-770x643.png 770w, https://www.kern.si/wp-content/uploads/2024/02/3426-600x501.png 600w, https://www.kern.si/wp-content/uploads/2024/02/3426.png 1198w" sizes="(max-width: 300px) 100vw, 300px" data-id="27255" /></div>
		</figure>
	</div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
<div class="wpdt-c wdt-skin-light">
    

    <div class="wpDataTables wpDataTablesFilter wpDataTablesWrapper wdt-skin-light data-t"
         data-wpdatatable_id="348">
        <div id="filterBox_table_1" class="wpDataTableFilterBox">
                                                                                                                                                                                                                        <div class="wpDataTableFilterSection" id="table_1_6_filter_sections">
                        <label>c:</label>
                        <div id="table_1_6_filter"></div>
                    </div>
                                                                <div class="wpDataTableFilterSection" id="table_1_7_filter_sections">
                        <label>Compres. force (N):</label>
                        <div id="table_1_7_filter"></div>
                    </div>
                                                                <div class="wpDataTableFilterSection" id="table_1_8_filter_sections">
                        <label>at s:</label>
                        <div id="table_1_8_filter"></div>
                    </div>
                                                                <div class="wpDataTableFilterSection" id="table_1_9_filter_sections">
                        <label>d1:</label>
                        <div id="table_1_9_filter"></div>
                    </div>
                                                                <div class="wpDataTableFilterSection" id="table_1_10_filter_sections">
                        <label>L:</label>
                        <div id="table_1_10_filter"></div>
                    </div>
                                                                                                        </div>
    </div>
<input type="hidden" id="wdtNonceFrontendEdit_348" name="wdtNonceFrontendEdit_348" value="2dc25bc355" /><input type="hidden" name="_wp_http_referer" value="/en/category/accessories-en/feed/" />    <input type="hidden" id="table_1_desc"
           value='{"tableId":"table_1","tableType":"manual","selector":"#table_1","responsive":true,"responsiveAction":"icon","editable":false,"inlineEditing":false,"infoBlock":true,"pagination":1,"paginationAlign":"right","paginationLayout":"full_numbers","paginationLayoutMobile":"simple","file_location":"","tableSkin":"light","table_wcag":0,"scrollable":false,"globalSearch":true,"showRowsPerPage":true,"popoverTools":false,"hideBeforeLoad":false,"number_format":1,"decimalPlaces":2,"spinnerSrc":"https:\/\/www.kern.si\/wp-content\/plugins\/wpdatatables\/assets\/\/img\/spinner.gif","groupingEnabled":false,"tableWpId":348,"dataTableParams":{"sDom":"BT\u003C\u0027clear\u0027\u003Elftip","bSortCellsTop":false,"bFilter":true,"bPaginate":true,"sPaginationType":"full_numbers","aLengthMenu":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,"All"]],"iDisplayLength":10,"columnDefs":[{"sType":"formatted-num","wdtType":"int","bVisible":false,"orderable":true,"searchable":true,"InputType":"text","name":"wdt_ID","origHeader":"wdt_ID","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-wdt_id","aTargets":[0]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d2","origHeader":"d2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-d2","aTargets":[1]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d3","origHeader":"d3","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-d3","aTargets":[2]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l2","origHeader":"l2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-l2","aTargets":[3]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"k","origHeader":"k","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-k","aTargets":[4]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"sw","origHeader":"sw","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-sw","aTargets":[5]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d1","origHeader":"d1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-d1","aTargets":[6]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l1","origHeader":"l1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-l1","aTargets":[7]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"ats","origHeader":"ats","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-ats","aTargets":[8]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d11","origHeader":"d11","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-d11","aTargets":[9]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l","origHeader":"l","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-l","aTargets":[10]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"kodakern","origHeader":"kodakern","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-kodakern","sWidth":"120","aTargets":[11]},{"sType":"string","wdtType":"link","bVisible":true,"orderable":true,"searchable":true,"InputType":"link","name":"cart","origHeader":"cart","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-cart","aTargets":[12]}],"bAutoWidth":false,"order":[[0,"asc"]],"ordering":true,"fixedHeader":{"header":false,"headerOffset":0},"fixedColumns":false,"oLanguage":{"sSearchPlaceholder":""},"buttons":[],"bProcessing":false,"serverSide":true,"ajax":{"url":"https:\/\/www.kern.si\/wp-admin\/admin-ajax.php?action=get_wdtable&table_id=348","type":"POST"},"oSearch":{"bSmart":false,"bRegex":false,"sSearch":""}},"tabletWidth":"1024","mobileWidth":"480","renderFilter":"footer","advancedFilterEnabled":true,"advancedFilterOptions":{"aoColumns":[{"type":"null","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"wdt_ID","displayHeader":"wdt_ID","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_1_0_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"d2","displayHeader":"d2","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"default","customMaxRangeValue":"0","sSelector":"#table_1_1_filter"},{"type":"null","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"d3","displayHeader":"d3","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_1_2_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"l2","displayHeader":"k","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"default","customMaxRangeValue":"0","sSelector":"#table_1_3_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"k","displayHeader":"k1","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"default","customMaxRangeValue":"0","sSelector":"#table_1_4_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"sw","displayHeader":"r","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"default","customMaxRangeValue":"0","sSelector":"#table_1_5_filter"},{"type":"select","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":[{"value":"0.0000","label":"0,00"},{"value":"4.0000","label":"4,00"},{"value":"6.5000","label":"6,50"},{"value":"10.0000","label":"10,00"},{"value":"12.5000","label":"12,50"},{"value":"13.0000","label":"13,00"},{"value":"16.8000","label":"16,80"}],"origHeader":"d1","displayHeader":"c","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"default","customMaxRangeValue":"0","sSelector":"#table_1_6_filter"},{"type":"select","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":[{"value":"100","label":"100"},{"value":"12000","label":"12000"},{"value":"1500","label":"1500"},{"value":"25000","label":"25000"},{"value":"3000","label":"3000"},{"value":"450","label":"450"}],"origHeader":"l1","displayHeader":"Compres. force (N)","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"default","customMaxRangeValue":"0","sSelector":"#table_1_7_filter"},{"type":"text","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"ats","displayHeader":"at s","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"default","customMaxRangeValue":"0","sSelector":"#table_1_8_filter"},{"type":"text","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"d11","displayHeader":"d1","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"default","customMaxRangeValue":"0","sSelector":"#table_1_9_filter"},{"type":"text","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"l","displayHeader":"L","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"default","customMaxRangeValue":"0","sSelector":"#table_1_10_filter"},{"type":"null","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"kodakern","displayHeader":"KERN ID","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_1_11_filter"},{"type":"null","columnType":"link","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"cart","displayHeader":"CART","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"add","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_1_12_filter"}],"bUseColVis":true},"filterInForm":true,"serverSide":true,"autoRefreshInterval":0,"processing":true,"fnServerData":true,"columnsFixed":0,"sumFunctionsLabel":"","avgFunctionsLabel":"","minFunctionsLabel":"","maxFunctionsLabel":"","columnsDecimalPlaces":{"wdt_ID":-1,"d2":-1,"d3":-1,"l2":-1,"k":-1,"sw":-1,"d1":-1,"l1":-1,"ats":-1,"d11":-1,"l":-1,"kodakern":-1,"cart":-1},"columnsThousandsSeparator":{"wdt_ID":0,"d3":1},"sumColumns":[],"avgColumns":[],"sumAvgColumns":[],"timeFormat":"h:i A","datepickFormat":"dd\/mm\/yy"}'/>

    <table id="table_1"
           class="  responsive display nowrap data-t data-t wpDataTable wpDataTableID-348"
           style=""
           data-described-by='table_1_desc'
           data-wpdatatable_id="348">
        
        <!-- Table header -->
        
<thead>
<tr>
                    <th
                        class=" wdtheader sort numdata integer "
        style="">wdt_ID</th>        <th
        data-class="expand"                class=" wdtheader sort numdata float "
        style="">d2</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">d3</th>        <th
                        class=" wdtheader sort numdata float "
        style="">k</th>        <th
                        class=" wdtheader sort numdata float "
        style="">k1</th>        <th
                        class=" wdtheader sort numdata float "
        style="">r</th>        <th
                        class=" wdtheader sort numdata float "
        style="">c</th>        <th
                        class=" wdtheader sort "
        style="">Compres. force (N)</th>        <th
                        class=" wdtheader sort "
        style="">at s</th>        <th
                        class=" wdtheader sort "
        style="">d1</th>        <th
                        class=" wdtheader sort "
        style="">L</th>        <th
                        class=" wdtheader sort "
        style="">KERN ID</th>        <th
                        class=" wdtheader sort "
        style="">CART</th>    </tr>
</thead>
        <!-- /Table header -->

        <!-- Table body -->
        
<tbody>
            <tr id="table_348_row_0">
                            <td style="">1</td>
                            <td style="">3,60</td>
                            <td style="">10</td>
                            <td style="">4,50</td>
                            <td style="">1,00</td>
                            <td style="">0,00</td>
                            <td style="">0,00</td>
                            <td style="">100</td>
                            <td style="">1,5</td>
                            <td style="">6</td>
                            <td style="">9,5</td>
                            <td style="">3426.06.09</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_348_row_1">
                            <td style="">2</td>
                            <td style="">6,00</td>
                            <td style="">16</td>
                            <td style="">7,50</td>
                            <td style="">2,00</td>
                            <td style="">1,00</td>
                            <td style="">4,00</td>
                            <td style="">450</td>
                            <td style="">2,5</td>
                            <td style="">10</td>
                            <td style="">15,5</td>
                            <td style="">3426.10.15</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_348_row_2">
                            <td style="">3</td>
                            <td style="">9,50</td>
                            <td style="">22</td>
                            <td style="">12,00</td>
                            <td style="">5,00</td>
                            <td style="">1,50</td>
                            <td style="">6,50</td>
                            <td style="">1500</td>
                            <td style="">4</td>
                            <td style="">16</td>
                            <td style="">25</td>
                            <td style="">3426.16.25</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_348_row_3">
                            <td style="">4</td>
                            <td style="">18,00</td>
                            <td style="">32</td>
                            <td style="">10,00</td>
                            <td style="">2,00</td>
                            <td style="">2,00</td>
                            <td style="">10,00</td>
                            <td style="">3000</td>
                            <td style="">4</td>
                            <td style="">24</td>
                            <td style="">25</td>
                            <td style="">3426.24.25</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_348_row_4">
                            <td style="">5</td>
                            <td style="">20,00</td>
                            <td style="">38</td>
                            <td style="">19,00</td>
                            <td style="">10,00</td>
                            <td style="">2,50</td>
                            <td style="">12,50</td>
                            <td style="">3000</td>
                            <td style="">5</td>
                            <td style="">30</td>
                            <td style="">35</td>
                            <td style="">3426.30.35</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_348_row_5">
                            <td style="">6</td>
                            <td style="">24,00</td>
                            <td style="">40</td>
                            <td style="">14,00</td>
                            <td style="">4,00</td>
                            <td style="">3,00</td>
                            <td style="">13,00</td>
                            <td style="">12000</td>
                            <td style="">6</td>
                            <td style="">32</td>
                            <td style="">32</td>
                            <td style="">3426.32.32</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_348_row_6">
                            <td style="">7</td>
                            <td style="">30,00</td>
                            <td style="">50</td>
                            <td style="">16,00</td>
                            <td style="">4,75</td>
                            <td style="">3,00</td>
                            <td style="">16,80</td>
                            <td style="">25000</td>
                            <td style="">6</td>
                            <td style="">39,5</td>
                            <td style="">40</td>
                            <td style="">3426.39.40</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_348_row_7">
                            <td style="">8</td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                    </tr>
                <tr id="table_348_row_8">
                            <td style="">9</td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                    </tr>
                <tr id="table_348_row_9">
                            <td style="">10</td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                            <td style=""></td>
                    </tr>
    </tbody>        <!-- /Table body -->

        <!-- Table footer -->
        
    <tfoot>
                <tr style="display: none">
                            <td
                class="wdtheader sort numdata integer "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort numdata integer "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style="">c</td>                <td
                class="wdtheader sort "
                style="">Compres. force (N)</td>                <td
                class="wdtheader sort "
                style="">at s</td>                <td
                class="wdtheader sort "
                style="">d1</td>                <td
                class="wdtheader sort "
                style="">L</td>                <td
                class="wdtheader sort "
                style=""></td>                <td
                class="wdtheader sort "
                style=""></td>        </tr>
                            </tfoot>
        <!-- /Table footer -->
    </table>

</div><style>
table.wpDataTable { table-layout: fixed !important; }
table.wpDataTable td, table.wpDataTable th { white-space: normal !important; }
.buy-now {
background-color: #4b91c8;
color: white !important;
}

.column-cart{
text-align: center !important;
}

.column-cart1{
text-align: center !important;
}

.remove-item {
	font-size: xx-large;
    margin-left: 20px;
    margin-right: 20px;
}

.remove-item:hover {
    cursor: pointer;
    color:red;
}table.wpDataTable td.numdata { text-align: right !important; }
</style>
<script>hasdone = 0;

jQuery(window).load(function () {

    getTables = [];
    let tables = document.getElementsByClassName('wpDataTable');
    Array.prototype.forEach.call(tables, function (table) {
        let id = table.id;
        if (!getTables.includes(id)) {
            getTables.push(id);
        }
    });

    let go = getTables[hasdone];
    hasdone++;

    wpDataTables['' + go].addOnDrawCallback(
        function () {

            let tab = document.getElementById(go);
            var els = '';
            if (tab.getElementsByClassName('  column-cart')[0]) {
                els = tab.getElementsByClassName('  column-cart')
            } else if (tab.getElementsByClassName('  column-cart1')[0]) {
                els = tab.getElementsByClassName('  column-cart1')
            }
            if (els[0] != undefined) {
                els[0].innerHTML = '';
            }
            Array.prototype.forEach.call(els, function (el) {
                let cart = [];

                if (localStorage.getItem('cart') != null) {
                    cart = JSON.parse(localStorage.getItem('cart'));
                    let kern_code = '';

                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }
                    cart.forEach(function (code) {
                        if (code === kern_code) {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                        }
                    });
                } else {
                    localStorage.setItem('cart', JSON.stringify(cart));
                }

                if (el.firstChild != null) {
                    // console.log(el.firstChild.firstChild)
                    if (el.firstChild.firstChild != null) {
                        el.firstChild.firstChild.innerHTML = '';
                        var icon = document.createElement('i');
                        // icon.classList.add("cspt-base-icon-shopping-basket");
                        // icon.classList.add("cspt-base-icon-shopping-bag");
                        // icon.classList.add("cspt-base-icon-shopping-bag-1");
                        icon.classList.add('cspt-base-icon-supermarket');

                        icon.classList.add('cspt-base-icon-plus');

                        el.firstChild.firstChild.appendChild(icon);
                    }

                    el.firstChild.href = 'javascript:;';
                    el.firstChild.target = '';

                    el.addEventListener('click', function () {
                        myFunction(el);
                    });
                }

                function myFunction(el) {
                    // console.log('element', el);
                    // console.log('element FIRST CHILD', el.firstChild.firstChild);
                    let kern_code = '';
                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }

                    if (localStorage.getItem('cart') != null) {
                        let cart = JSON.parse(localStorage.getItem('cart'));
                        if (cart.includes(kern_code)) {
                            cart = cart.filter(function (value, index, arr) {
                                return value !== kern_code;
                            });
                            el.firstChild.firstChild.style = 'background-color: #4b91c8';
                        } else {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                            cart.push(kern_code);
                        }

                        localStorage.setItem('cart', JSON.stringify(cart));
                    } else {
                        localStorage.setItem('cart', JSON.stringify([kern_code]));
                    }

                    updateKosarica();
                }

                function updateKosarica() {

                    let cart = [];

                    var tableParent = document.createElement('div');

                    if (localStorage.getItem('cart') != null && JSON.parse(localStorage.getItem('cart')).length !== 0) {

                        cart = JSON.parse(localStorage.getItem('cart'));

                        var table = document.createElement('div');

                        cart.forEach(function (code) {

                            var row = document.createElement('div');
                            row.classList.add('cart-data-row');
                            row.setAttribute('style', 'display:flex;justify-content: space-between;padding-bottom:10px;align-items: center;');
                            var node1 = document.createElement('div');
                            node1.setAttribute('style', 'font-weight: 500');
                            var input = document.createElement('input');
                            input.setAttribute('type', 'number');
                            row.appendChild(node1).innerHTML = code;
                            var qtyContainer = document.createElement('div');
                            qtyContainer.setAttribute('style', 'display: flex;align-items: center;');
                            qtyContainer.appendChild(input);
                            input.setAttribute('value', '1');
                            input.setAttribute('style', 'font-weight: 500;text-align: center;background-color: aliceblue;');
                            let removeItem = document.createElement('span');
                            removeItem.innerHTML = '×';
                            removeItem.classList.add('remove-item');
                            removeItem.addEventListener('click', function () {
                                removeItemFromLocalStorage(code);
                            });
                            qtyContainer.appendChild(removeItem);
                            row.appendChild(qtyContainer);
                            table.appendChild(row);


                        });
                        tableParent.appendChild(table);

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';
                        modal.getElementsByClassName('modal-body')[0].setAttribute('style', 'overflow: auto;max-height:500px');
                        modal.getElementsByClassName('modal-body')[0].appendChild(tableParent);


                        // // handle remove item btn
                        // var items = document.getElementsByClassName("remove-item");
                        // Array.from(items).forEach(function (element) {
                        //     let code = element.parentElement.parentElement.firstChild.innerHTML;
                        //     element.addEventListener("click", function () {
                        //         removeItemFromLocalStorage(code)
                        //     });
                        // });

                        function removeItemFromLocalStorage(kern_code) {
                            console.log('kern_code', kern_code);
                            if (localStorage.getItem('cart') != null) {
                                let cart = JSON.parse(localStorage.getItem('cart'));
                                if (cart.includes(kern_code)) {
                                    cart = cart.filter(function (value, index, arr) {
                                        return value !== kern_code;
                                    });
                                }
                                localStorage.setItem('cart', JSON.stringify(cart));
                            }
                            updateKosarica();
                        }


                    } else {

                        var noProducts = document.createElement('div');
                        noProducts.innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].appendChild(noProducts);

                    }

                }

            });

        });

});</script><style>
</style>


		</div>
	</div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>

</div>
</div><p>The post <a href="https://www.kern.si/en/3426-compression-pads-shedder-insert/">3426: Compression pads, shedder insert</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>2901 CVe monitor, Progressive</title>
		<link>https://www.kern.si/en/2901-0/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Sep 2019 09:47:14 +0000</pubDate>
				<category><![CDATA[Accessories]]></category>
		<guid isPermaLink="false">https://beta.webis.si/kern/2901-0/</guid>

					<description><![CDATA[<p>The post <a href="https://www.kern.si/en/2901-0/">2901 CVe monitor, Progressive</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid vc_custom_1569345723582 cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<div class="vc_single_image-wrapper   vc_box_border_grey"><img decoding="async" class="vc_single_image-img " src="https://www.kern.si/wp-content/uploads/2019/09/velika-cve-270x3001.png" width="270" height="300" alt="velika-cve-270x300[1]" title="velika-cve-270x300[1]" loading="lazy" /></div>
		</figure>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-8 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p>Developed by sister company AST Technology, the new CVe Monitor v2 tracks tool activity, allowing users to view data on the display or from comprehensive reports using OnDemand or the new CVe Live System.</p>
<p>Features include:<br />
• 7-digit LCD display with a push button to move through the display modes.<br />
• 4GB flash drive for file storage and 4+ year battery within monitor.<br />
• Water resistant with an ingress protection rating of IP52.<br />
• Maximum temperature: 190° F (90° C).<br />
• Mount on A or B Plates, not Stripper Plates.<br />
• Dimensional compatibility with Progressive’s mechanical CounterViews.<br />
• Mini USB connectivity for data retrieval with cables sold separately.</p>

		</div>
	</div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://www.kern.si/wp-content/uploads/2018/01/319_catalog_F1-4.pdf" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-file-pdf-o"></i> PDF</span></a></div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-6 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			<div class="vc_empty_space"   style="height: 32px"><span class="vc_empty_space_inner"></span></div>
	<div class="wpb_video_widget wpb_content_element vc_clearfix   vc_video-aspect-ratio-169 vc_video-el-width-100 vc_video-align-left" >
		<div class="wpb_wrapper">
			
			<div class="wpb_video_wrapper"><iframe title="CVe Monitor v1.62" width="500" height="281" src="https://www.youtube.com/embed/W3lGQKXk67c?feature=oembed"  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe></div>
		</div>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-2 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>

</div>
</div><p>The post <a href="https://www.kern.si/en/2901-0/">2901 CVe monitor, Progressive</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>3450 Spring plungers</title>
		<link>https://www.kern.si/en/3450-0/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Sep 2019 09:45:15 +0000</pubDate>
				<category><![CDATA[Accessories]]></category>
		<guid isPermaLink="false">https://beta.webis.si/kern/3450-0/</guid>

					<description><![CDATA[<p>The post <a href="https://www.kern.si/en/3450-0/">3450 Spring plungers</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-1 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_raw_code wpb_content_element wpb_raw_html" >
		<div class="wpb_wrapper">
			<img decoding="async" class="svg-kern" alt="alt-text" width="500" src="http://kern.angelis.si/wp-content/uploads/2017/06/3450.svg" />
		</div>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-1 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<div class="vc_single_image-wrapper   vc_box_border_grey"><img decoding="async" class="vc_single_image-img " src="https://www.kern.si/wp-content/uploads/2019/09/3450-2-250x2501.png" width="250" height="250" alt="3450-2-250x250[1]" title="3450-2-250x250[1]" loading="lazy" /></div>
		</figure>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-2 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.si/wp-content/uploads/2017/06/3450-3455.pdf" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-file-pdf-o"></i> PDF</span></a></div>
<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.partcommunity.com/3d-cad-models/3450-spring-plungers-kern/?info=kern%2Fdies%2Faccessories%2F3450.prj" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-download"></i> 3D</span></a></div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
<div class="wpdt-c wdt-skin-light">
    
<input type="hidden" id="wdtNonceFrontendEdit_142" name="wdtNonceFrontendEdit_142" value="77c7ceaf97" /><input type="hidden" name="_wp_http_referer" value="/en/category/accessories-en/feed/" />    <input type="hidden" id="table_2_desc"
           value='{"tableId":"table_2","tableType":"manual","selector":"#table_2","responsive":true,"responsiveAction":"icon","editable":false,"inlineEditing":false,"infoBlock":true,"pagination":true,"paginationAlign":"right","paginationLayout":"full_numbers","paginationLayoutMobile":"simple","file_location":"","tableSkin":"light","table_wcag":0,"scrollable":false,"globalSearch":true,"showRowsPerPage":true,"popoverTools":false,"hideBeforeLoad":false,"number_format":1,"decimalPlaces":2,"spinnerSrc":"https:\/\/www.kern.si\/wp-content\/plugins\/wpdatatables\/assets\/\/img\/spinner.gif","groupingEnabled":false,"tableWpId":142,"dataTableParams":{"sDom":"BT\u003C\u0027clear\u0027\u003Elftip","bSortCellsTop":false,"bFilter":true,"bPaginate":true,"sPaginationType":"full_numbers","aLengthMenu":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,"All"]],"iDisplayLength":10,"columnDefs":[{"sType":"formatted-num","wdtType":"int","bVisible":false,"orderable":true,"searchable":true,"InputType":"text","name":"wdt_ID","origHeader":"wdt_ID","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-wdt_id","aTargets":[0]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l","origHeader":"l","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l","aTargets":[1]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"s","origHeader":"s","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-s","aTargets":[2]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d2","origHeader":"d2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-d2","aTargets":[3]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"f1n","origHeader":"f1n","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-f1n","aTargets":[4]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"f2n","origHeader":"f2n","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-f2n","aTargets":[5]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d1","origHeader":"d1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-d1","aTargets":[6]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"kodakern","origHeader":"kodakern","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-kodakern","aTargets":[7]},{"sType":"string","wdtType":"link","bVisible":true,"orderable":true,"searchable":true,"InputType":"link","name":"cart","origHeader":"cart","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-cart","aTargets":[8]}],"bAutoWidth":false,"order":[[0,"asc"]],"ordering":true,"fixedHeader":{"header":false,"headerOffset":0},"fixedColumns":false,"oLanguage":{"sSearchPlaceholder":""},"buttons":[],"bProcessing":false,"serverSide":true,"ajax":{"url":"https:\/\/www.kern.si\/wp-admin\/admin-ajax.php?action=get_wdtable&table_id=142","type":"POST"},"oSearch":{"bSmart":false,"bRegex":false,"sSearch":""}},"tabletWidth":"1024","mobileWidth":"480","renderFilter":"footer","advancedFilterEnabled":false,"serverSide":true,"autoRefreshInterval":0,"processing":true,"fnServerData":true,"columnsFixed":0,"sumFunctionsLabel":"","avgFunctionsLabel":"","minFunctionsLabel":"","maxFunctionsLabel":"","columnsDecimalPlaces":{"wdt_ID":-1,"l":-1,"s":-1,"d2":-1,"f1n":-1,"f2n":-1,"d1":-1,"kodakern":-1,"cart":-1},"columnsThousandsSeparator":{"wdt_ID":0,"l":1,"f1n":1,"f2n":1},"sumColumns":[],"avgColumns":[],"sumAvgColumns":[],"timeFormat":"h:i A","datepickFormat":"dd\/mm\/yy"}'/>

    <table id="table_2"
           class="  responsive display nowrap data-t data-t wpDataTable wpDataTableID-142"
           style=""
           data-described-by='table_2_desc'
           data-wpdatatable_id="142">
        
        <!-- Table header -->
        
<thead>
<tr>
                    <th
                        class=" wdtheader sort numdata integer "
        style="">wdt_ID</th>        <th
        data-class="expand"                class=" wdtheader sort numdata integer "
        style="">L</th>        <th
                        class=" wdtheader sort numdata float "
        style="">S</th>        <th
                        class=" wdtheader sort numdata float "
        style="">d2</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">F1 (N)</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">F2 (N)</th>        <th
                        class=" wdtheader sort "
        style="">d1</th>        <th
                        class=" wdtheader sort "
        style="">KERN ID</th>        <th
                        class=" wdtheader sort "
        style="">CART</th>    </tr>
</thead>
        <!-- /Table header -->

        <!-- Table body -->
        
<tbody>
            <tr id="table_142_row_0">
                            <td style="">1</td>
                            <td style="">9</td>
                            <td style="">0,80</td>
                            <td style="">2,50</td>
                            <td style="">6</td>
                            <td style="">12</td>
                            <td style="">M4</td>
                            <td style="">3450.04</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_142_row_1">
                            <td style="">2</td>
                            <td style="">12</td>
                            <td style="">0,90</td>
                            <td style="">3,00</td>
                            <td style="">7</td>
                            <td style="">13</td>
                            <td style="">M5</td>
                            <td style="">3450.05</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_142_row_2">
                            <td style="">3</td>
                            <td style="">14</td>
                            <td style="">1,00</td>
                            <td style="">3,50</td>
                            <td style="">9</td>
                            <td style="">15</td>
                            <td style="">M6</td>
                            <td style="">3450.06</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_142_row_3">
                            <td style="">4</td>
                            <td style="">16</td>
                            <td style="">1,50</td>
                            <td style="">5,00</td>
                            <td style="">20</td>
                            <td style="">35</td>
                            <td style="">M8</td>
                            <td style="">3450.08</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_142_row_4">
                            <td style="">5</td>
                            <td style="">19</td>
                            <td style="">2,00</td>
                            <td style="">0,60</td>
                            <td style="">25</td>
                            <td style="">45</td>
                            <td style="">M10</td>
                            <td style="">3450.10</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_142_row_5">
                            <td style="">6</td>
                            <td style="">22</td>
                            <td style="">2,50</td>
                            <td style="">0,80</td>
                            <td style="">35</td>
                            <td style="">60</td>
                            <td style="">M12</td>
                            <td style="">3450.12</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_142_row_6">
                            <td style="">7</td>
                            <td style="">24</td>
                            <td style="">3,50</td>
                            <td style="">10,00</td>
                            <td style="">65</td>
                            <td style="">110</td>
                            <td style="">M16</td>
                            <td style="">3450.16</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
    </tbody>        <!-- /Table body -->

        <!-- Table footer -->
        
        <!-- /Table footer -->
    </table>

</div><style>
table.wpDataTable { table-layout: fixed !important; }
.buy-now {
background-color: #4b91c8;
color: white !important;
}

.column-cart{
text-align: center !important;
}

.column-cart1{
text-align: center !important;
}

.remove-item {
	font-size: xx-large;
    margin-left: 20px;
    margin-right: 20px;
}

.remove-item:hover {
    cursor: pointer;
    color:red;
}table.wpDataTable td.numdata { text-align: right !important; }
</style>
<script>hasdone = 0;

jQuery(window).load(function () {

    getTables = [];
    let tables = document.getElementsByClassName('wpDataTable');
    Array.prototype.forEach.call(tables, function (table) {
        let id = table.id;
        if (!getTables.includes(id)) {
            getTables.push(id);
        }
    });

    let go = getTables[hasdone];
    hasdone++;

    wpDataTables['' + go].addOnDrawCallback(
        function () {

            let tab = document.getElementById(go);
            var els = '';
            if (tab.getElementsByClassName('  column-cart')[0]) {
                els = tab.getElementsByClassName('  column-cart')
            } else if (tab.getElementsByClassName('  column-cart1')[0]) {
                els = tab.getElementsByClassName('  column-cart1')
            }
            if (els[0] != undefined) {
                els[0].innerHTML = '';
            }
            Array.prototype.forEach.call(els, function (el) {
                let cart = [];

                if (localStorage.getItem('cart') != null) {
                    cart = JSON.parse(localStorage.getItem('cart'));
                    let kern_code = '';

                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }
                    cart.forEach(function (code) {
                        if (code === kern_code) {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                        }
                    });
                } else {
                    localStorage.setItem('cart', JSON.stringify(cart));
                }

                if (el.firstChild != null) {
                    // console.log(el.firstChild.firstChild)
                    if (el.firstChild.firstChild != null) {
                        el.firstChild.firstChild.innerHTML = '';
                        var icon = document.createElement('i');
                        // icon.classList.add("cspt-base-icon-shopping-basket");
                        // icon.classList.add("cspt-base-icon-shopping-bag");
                        // icon.classList.add("cspt-base-icon-shopping-bag-1");
                        icon.classList.add('cspt-base-icon-supermarket');

                        icon.classList.add('cspt-base-icon-plus');

                        el.firstChild.firstChild.appendChild(icon);
                    }

                    el.firstChild.href = 'javascript:;';
                    el.firstChild.target = '';

                    el.addEventListener('click', function () {
                        myFunction(el);
                    });
                }

                function myFunction(el) {
                    // console.log('element', el);
                    // console.log('element FIRST CHILD', el.firstChild.firstChild);
                    let kern_code = '';
                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }

                    if (localStorage.getItem('cart') != null) {
                        let cart = JSON.parse(localStorage.getItem('cart'));
                        if (cart.includes(kern_code)) {
                            cart = cart.filter(function (value, index, arr) {
                                return value !== kern_code;
                            });
                            el.firstChild.firstChild.style = 'background-color: #4b91c8';
                        } else {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                            cart.push(kern_code);
                        }

                        localStorage.setItem('cart', JSON.stringify(cart));
                    } else {
                        localStorage.setItem('cart', JSON.stringify([kern_code]));
                    }

                    updateKosarica();
                }

                function updateKosarica() {

                    let cart = [];

                    var tableParent = document.createElement('div');

                    if (localStorage.getItem('cart') != null && JSON.parse(localStorage.getItem('cart')).length !== 0) {

                        cart = JSON.parse(localStorage.getItem('cart'));

                        var table = document.createElement('div');

                        cart.forEach(function (code) {

                            var row = document.createElement('div');
                            row.classList.add('cart-data-row');
                            row.setAttribute('style', 'display:flex;justify-content: space-between;padding-bottom:10px;align-items: center;');
                            var node1 = document.createElement('div');
                            node1.setAttribute('style', 'font-weight: 500');
                            var input = document.createElement('input');
                            input.setAttribute('type', 'number');
                            row.appendChild(node1).innerHTML = code;
                            var qtyContainer = document.createElement('div');
                            qtyContainer.setAttribute('style', 'display: flex;align-items: center;');
                            qtyContainer.appendChild(input);
                            input.setAttribute('value', '1');
                            input.setAttribute('style', 'font-weight: 500;text-align: center;background-color: aliceblue;');
                            let removeItem = document.createElement('span');
                            removeItem.innerHTML = '×';
                            removeItem.classList.add('remove-item');
                            removeItem.addEventListener('click', function () {
                                removeItemFromLocalStorage(code);
                            });
                            qtyContainer.appendChild(removeItem);
                            row.appendChild(qtyContainer);
                            table.appendChild(row);


                        });
                        tableParent.appendChild(table);

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';
                        modal.getElementsByClassName('modal-body')[0].setAttribute('style', 'overflow: auto;max-height:500px');
                        modal.getElementsByClassName('modal-body')[0].appendChild(tableParent);


                        // // handle remove item btn
                        // var items = document.getElementsByClassName("remove-item");
                        // Array.from(items).forEach(function (element) {
                        //     let code = element.parentElement.parentElement.firstChild.innerHTML;
                        //     element.addEventListener("click", function () {
                        //         removeItemFromLocalStorage(code)
                        //     });
                        // });

                        function removeItemFromLocalStorage(kern_code) {
                            console.log('kern_code', kern_code);
                            if (localStorage.getItem('cart') != null) {
                                let cart = JSON.parse(localStorage.getItem('cart'));
                                if (cart.includes(kern_code)) {
                                    cart = cart.filter(function (value, index, arr) {
                                        return value !== kern_code;
                                    });
                                }
                                localStorage.setItem('cart', JSON.stringify(cart));
                            }
                            updateKosarica();
                        }


                    } else {

                        var noProducts = document.createElement('div');
                        noProducts.innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].appendChild(noProducts);

                    }

                }

            });

        });

});</script><style>
</style>


		</div>
	</div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>

</div>
</div><p>The post <a href="https://www.kern.si/en/3450-0/">3450 Spring plungers</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>3455 Lifting eyebolts, DIN580</title>
		<link>https://www.kern.si/en/3455-0/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Sep 2019 09:45:15 +0000</pubDate>
				<category><![CDATA[Accessories]]></category>
		<guid isPermaLink="false">https://beta.webis.si/kern/3455-0/</guid>

					<description><![CDATA[<p>The post <a href="https://www.kern.si/en/3455-0/">3455 Lifting eyebolts, DIN580</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-1 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_raw_code wpb_content_element wpb_raw_html" >
		<div class="wpb_wrapper">
			<img decoding="async" class="svg-kern" alt="alt-text" width="500" src="http://kern.angelis.si/wp-content/uploads/2017/06/3455.svg" />
		</div>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-1 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<div class="vc_single_image-wrapper   vc_box_border_grey"><img decoding="async" width="300" height="300" src="https://www.kern.si/wp-content/uploads/2019/09/3455-300x3001.png" class="vc_single_image-img attachment-medium" alt="" title="3455-300x300[1]" srcset="https://www.kern.si/wp-content/uploads/2019/09/3455-300x3001.png 300w, https://www.kern.si/wp-content/uploads/2019/09/3455-300x3001-150x150.png 150w, https://www.kern.si/wp-content/uploads/2019/09/3455-300x3001-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" data-id="18876" /></div>
		</figure>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-2 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.si/wp-content/uploads/2017/06/3450-3455.pdf" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-file-pdf-o"></i> PDF</span></a></div>
<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.partcommunity.com/3d-cad-models/3455-lifting-eyebolts-kern/?info=kern%2Fdies%2Faccessories%2F3455.prj" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-download"></i> 3D</span></a></div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
<div class="wpdt-c wdt-skin-light">
    
<input type="hidden" id="wdtNonceFrontendEdit_143" name="wdtNonceFrontendEdit_143" value="3267dab55f" /><input type="hidden" name="_wp_http_referer" value="/en/category/accessories-en/feed/" />    <input type="hidden" id="table_3_desc"
           value='{"tableId":"table_3","tableType":"manual","selector":"#table_3","responsive":true,"responsiveAction":"icon","editable":false,"inlineEditing":false,"infoBlock":true,"pagination":true,"paginationAlign":"right","paginationLayout":"full_numbers","paginationLayoutMobile":"simple","file_location":"","tableSkin":"light","table_wcag":0,"scrollable":false,"globalSearch":true,"showRowsPerPage":true,"popoverTools":false,"hideBeforeLoad":false,"number_format":1,"decimalPlaces":2,"spinnerSrc":"https:\/\/www.kern.si\/wp-content\/plugins\/wpdatatables\/assets\/\/img\/spinner.gif","groupingEnabled":false,"tableWpId":143,"dataTableParams":{"sDom":"BT\u003C\u0027clear\u0027\u003Elftip","bSortCellsTop":false,"bFilter":true,"bPaginate":true,"sPaginationType":"full_numbers","aLengthMenu":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,"All"]],"iDisplayLength":10,"columnDefs":[{"sType":"formatted-num","wdtType":"int","bVisible":false,"orderable":true,"searchable":true,"InputType":"text","name":"wdt_ID","origHeader":"wdt_ID","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-wdt_id","aTargets":[0]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d2","origHeader":"d2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-d2","aTargets":[1]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d3","origHeader":"d3","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-d3","aTargets":[2]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d4","origHeader":"d4","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-d4","aTargets":[3]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"h1","origHeader":"h1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-h1","aTargets":[4]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"h2","origHeader":"h2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-h2","aTargets":[5]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"k","origHeader":"k","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-k","aTargets":[6]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"z1max","origHeader":"z1max","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-z1max","aTargets":[7]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"z2max","origHeader":"z2max","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-z2max","aTargets":[8]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d1","origHeader":"d1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-d1","aTargets":[9]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"kodakern","origHeader":"kodakern","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-kodakern","sWidth":"120","aTargets":[10]},{"sType":"string","wdtType":"link","bVisible":true,"orderable":true,"searchable":true,"InputType":"link","name":"cart","origHeader":"cart","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-cart","aTargets":[11]}],"bAutoWidth":false,"order":[[0,"asc"]],"ordering":true,"fixedHeader":{"header":false,"headerOffset":0},"fixedColumns":false,"oLanguage":{"sSearchPlaceholder":""},"buttons":[],"bProcessing":false,"serverSide":true,"ajax":{"url":"https:\/\/www.kern.si\/wp-admin\/admin-ajax.php?action=get_wdtable&table_id=143","type":"POST"},"oSearch":{"bSmart":false,"bRegex":false,"sSearch":""}},"tabletWidth":"1024","mobileWidth":"480","renderFilter":"footer","advancedFilterEnabled":false,"serverSide":true,"autoRefreshInterval":0,"processing":true,"fnServerData":true,"columnsFixed":0,"sumFunctionsLabel":"","avgFunctionsLabel":"","minFunctionsLabel":"","maxFunctionsLabel":"","columnsDecimalPlaces":{"wdt_ID":-1,"d2":-1,"d3":-1,"d4":-1,"h1":-1,"h2":-1,"k":-1,"z1max":-1,"z2max":-1,"d1":-1,"kodakern":-1,"cart":-1},"columnsThousandsSeparator":{"wdt_ID":0,"d2":1,"d3":1,"d4":1,"h2":1,"k":1,"z1max":1,"z2max":1},"sumColumns":[],"avgColumns":[],"sumAvgColumns":[],"timeFormat":"h:i A","datepickFormat":"dd\/mm\/yy"}'/>

    <table id="table_3"
           class="  responsive display nowrap data-t data-t wpDataTable wpDataTableID-143"
           style=""
           data-described-by='table_3_desc'
           data-wpdatatable_id="143">
        
        <!-- Table header -->
        
<thead>
<tr>
                    <th
                        class=" wdtheader sort numdata integer "
        style="">wdt_ID</th>        <th
        data-class="expand"                class=" wdtheader sort numdata integer "
        style="">d2</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">d3</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">d4</th>        <th
                        class=" wdtheader sort numdata float "
        style="">h1</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">h2</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">K</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">Z1max</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">Z2max</th>        <th
                        class=" wdtheader sort "
        style="">d1</th>        <th
                        class=" wdtheader sort "
        style="">KERN ID</th>        <th
                        class=" wdtheader sort "
        style="">CART</th>    </tr>
</thead>
        <!-- /Table header -->

        <!-- Table body -->
        
<tbody>
            <tr id="table_143_row_0">
                            <td style="">1</td>
                            <td style="">36</td>
                            <td style="">20</td>
                            <td style="">20</td>
                            <td style="">36,00</td>
                            <td style="">15</td>
                            <td style="">8</td>
                            <td style="">140</td>
                            <td style="">95</td>
                            <td style="">M8</td>
                            <td style="">3455.08</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_143_row_1">
                            <td style="">2</td>
                            <td style="">45</td>
                            <td style="">25</td>
                            <td style="">25</td>
                            <td style="">44,50</td>
                            <td style="">18</td>
                            <td style="">10</td>
                            <td style="">230</td>
                            <td style="">170</td>
                            <td style="">M10</td>
                            <td style="">3455.10</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_143_row_2">
                            <td style="">3</td>
                            <td style="">54</td>
                            <td style="">30</td>
                            <td style="">30</td>
                            <td style="">53,00</td>
                            <td style="">22</td>
                            <td style="">12</td>
                            <td style="">340</td>
                            <td style="">240</td>
                            <td style="">M12</td>
                            <td style="">3455.12</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_143_row_3">
                            <td style="">4</td>
                            <td style="">63</td>
                            <td style="">35</td>
                            <td style="">35</td>
                            <td style="">63,50</td>
                            <td style="">26</td>
                            <td style="">14</td>
                            <td style="">700</td>
                            <td style="">500</td>
                            <td style="">M16</td>
                            <td style="">3455.16</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_143_row_4">
                            <td style="">5</td>
                            <td style="">76</td>
                            <td style="">42</td>
                            <td style="">48</td>
                            <td style="">76,00</td>
                            <td style="">30</td>
                            <td style="">17</td>
                            <td style="">1.200</td>
                            <td style="">830</td>
                            <td style="">M20</td>
                            <td style="">3455.20</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_143_row_5">
                            <td style="">6</td>
                            <td style="">90</td>
                            <td style="">50</td>
                            <td style="">56</td>
                            <td style="">90,00</td>
                            <td style="">35</td>
                            <td style="">20</td>
                            <td style="">1.800</td>
                            <td style="">1.270</td>
                            <td style="">M24</td>
                            <td style="">3455.24</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_143_row_6">
                            <td style="">7</td>
                            <td style="">106</td>
                            <td style="">56</td>
                            <td style="">65</td>
                            <td style="">107,00</td>
                            <td style="">45</td>
                            <td style="">24</td>
                            <td style="">3.600</td>
                            <td style="">2.600</td>
                            <td style="">M30</td>
                            <td style="">3455.30</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
    </tbody>        <!-- /Table body -->

        <!-- Table footer -->
        
        <!-- /Table footer -->
    </table>

</div><style>
table.wpDataTable { table-layout: fixed !important; }
table.wpDataTable td, table.wpDataTable th { white-space: normal !important; }
.buy-now {
background-color: #4b91c8;
color: white !important;
}

.column-cart{
text-align: center !important;
}

.column-cart1{
text-align: center !important;
}

.remove-item {
	font-size: xx-large;
    margin-left: 20px;
    margin-right: 20px;
}

.remove-item:hover {
    cursor: pointer;
    color:red;
}table.wpDataTable td.numdata { text-align: right !important; }
</style>
<script>hasdone = 0;

jQuery(window).load(function () {

    getTables = [];
    let tables = document.getElementsByClassName('wpDataTable');
    Array.prototype.forEach.call(tables, function (table) {
        let id = table.id;
        if (!getTables.includes(id)) {
            getTables.push(id);
        }
    });

    let go = getTables[hasdone];
    hasdone++;

    wpDataTables['' + go].addOnDrawCallback(
        function () {

            let tab = document.getElementById(go);
            var els = '';
            if (tab.getElementsByClassName('  column-cart')[0]) {
                els = tab.getElementsByClassName('  column-cart')
            } else if (tab.getElementsByClassName('  column-cart1')[0]) {
                els = tab.getElementsByClassName('  column-cart1')
            }
            if (els[0] != undefined) {
                els[0].innerHTML = '';
            }
            Array.prototype.forEach.call(els, function (el) {
                let cart = [];

                if (localStorage.getItem('cart') != null) {
                    cart = JSON.parse(localStorage.getItem('cart'));
                    let kern_code = '';

                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }
                    cart.forEach(function (code) {
                        if (code === kern_code) {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                        }
                    });
                } else {
                    localStorage.setItem('cart', JSON.stringify(cart));
                }

                if (el.firstChild != null) {
                    // console.log(el.firstChild.firstChild)
                    if (el.firstChild.firstChild != null) {
                        el.firstChild.firstChild.innerHTML = '';
                        var icon = document.createElement('i');
                        // icon.classList.add("cspt-base-icon-shopping-basket");
                        // icon.classList.add("cspt-base-icon-shopping-bag");
                        // icon.classList.add("cspt-base-icon-shopping-bag-1");
                        icon.classList.add('cspt-base-icon-supermarket');

                        icon.classList.add('cspt-base-icon-plus');

                        el.firstChild.firstChild.appendChild(icon);
                    }

                    el.firstChild.href = 'javascript:;';
                    el.firstChild.target = '';

                    el.addEventListener('click', function () {
                        myFunction(el);
                    });
                }

                function myFunction(el) {
                    // console.log('element', el);
                    // console.log('element FIRST CHILD', el.firstChild.firstChild);
                    let kern_code = '';
                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }

                    if (localStorage.getItem('cart') != null) {
                        let cart = JSON.parse(localStorage.getItem('cart'));
                        if (cart.includes(kern_code)) {
                            cart = cart.filter(function (value, index, arr) {
                                return value !== kern_code;
                            });
                            el.firstChild.firstChild.style = 'background-color: #4b91c8';
                        } else {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                            cart.push(kern_code);
                        }

                        localStorage.setItem('cart', JSON.stringify(cart));
                    } else {
                        localStorage.setItem('cart', JSON.stringify([kern_code]));
                    }

                    updateKosarica();
                }

                function updateKosarica() {

                    let cart = [];

                    var tableParent = document.createElement('div');

                    if (localStorage.getItem('cart') != null && JSON.parse(localStorage.getItem('cart')).length !== 0) {

                        cart = JSON.parse(localStorage.getItem('cart'));

                        var table = document.createElement('div');

                        cart.forEach(function (code) {

                            var row = document.createElement('div');
                            row.classList.add('cart-data-row');
                            row.setAttribute('style', 'display:flex;justify-content: space-between;padding-bottom:10px;align-items: center;');
                            var node1 = document.createElement('div');
                            node1.setAttribute('style', 'font-weight: 500');
                            var input = document.createElement('input');
                            input.setAttribute('type', 'number');
                            row.appendChild(node1).innerHTML = code;
                            var qtyContainer = document.createElement('div');
                            qtyContainer.setAttribute('style', 'display: flex;align-items: center;');
                            qtyContainer.appendChild(input);
                            input.setAttribute('value', '1');
                            input.setAttribute('style', 'font-weight: 500;text-align: center;background-color: aliceblue;');
                            let removeItem = document.createElement('span');
                            removeItem.innerHTML = '×';
                            removeItem.classList.add('remove-item');
                            removeItem.addEventListener('click', function () {
                                removeItemFromLocalStorage(code);
                            });
                            qtyContainer.appendChild(removeItem);
                            row.appendChild(qtyContainer);
                            table.appendChild(row);


                        });
                        tableParent.appendChild(table);

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';
                        modal.getElementsByClassName('modal-body')[0].setAttribute('style', 'overflow: auto;max-height:500px');
                        modal.getElementsByClassName('modal-body')[0].appendChild(tableParent);


                        // // handle remove item btn
                        // var items = document.getElementsByClassName("remove-item");
                        // Array.from(items).forEach(function (element) {
                        //     let code = element.parentElement.parentElement.firstChild.innerHTML;
                        //     element.addEventListener("click", function () {
                        //         removeItemFromLocalStorage(code)
                        //     });
                        // });

                        function removeItemFromLocalStorage(kern_code) {
                            console.log('kern_code', kern_code);
                            if (localStorage.getItem('cart') != null) {
                                let cart = JSON.parse(localStorage.getItem('cart'));
                                if (cart.includes(kern_code)) {
                                    cart = cart.filter(function (value, index, arr) {
                                        return value !== kern_code;
                                    });
                                }
                                localStorage.setItem('cart', JSON.stringify(cart));
                            }
                            updateKosarica();
                        }


                    } else {

                        var noProducts = document.createElement('div');
                        noProducts.innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].appendChild(noProducts);

                    }

                }

            });

        });

});</script><style>
</style>


		</div>
	</div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>

</div>
</div><p>The post <a href="https://www.kern.si/en/3455-0/">3455 Lifting eyebolts, DIN580</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>3456 Lifter studs, VDI3366</title>
		<link>https://www.kern.si/en/3456-0/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Sep 2019 09:45:15 +0000</pubDate>
				<category><![CDATA[Accessories]]></category>
		<guid isPermaLink="false">https://beta.webis.si/kern/3456-0/</guid>

					<description><![CDATA[<p>The post <a href="https://www.kern.si/en/3456-0/">3456 Lifter studs, VDI3366</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-6 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_raw_code wpb_content_element wpb_raw_html" >
		<div class="wpb_wrapper">
			<img decoding="async" class="svg-kern" alt="alt-text" width="500" src="http://kern.angelis.si/wp-content/uploads/2017/06/3456.svg" />
		</div>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<div class="vc_single_image-wrapper   vc_box_border_grey"><img loading="lazy" decoding="async" width="300" height="300" src="https://www.kern.si/wp-content/uploads/2019/09/3456-1-300x3001.png" class="vc_single_image-img attachment-medium" alt="" title="3456-1-300x300[1]" srcset="https://www.kern.si/wp-content/uploads/2019/09/3456-1-300x3001.png 300w, https://www.kern.si/wp-content/uploads/2019/09/3456-1-300x3001-150x150.png 150w, https://www.kern.si/wp-content/uploads/2019/09/3456-1-300x3001-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" data-id="18883" /></div>
		</figure>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-2 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.si/wp-content/uploads/2017/06/3456-3457.pdf" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-file-pdf-o"></i> PDF</span></a></div>
<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.partcommunity.com/3d-cad-models/3456-lifter-studs-kern/?info=kern%2Fdies%2Faccessories%2F3456.prj" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-download"></i> 3D</span></a></div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
<div class="wpdt-c wdt-skin-light">
    
<input type="hidden" id="wdtNonceFrontendEdit_144" name="wdtNonceFrontendEdit_144" value="b15fc8c445" /><input type="hidden" name="_wp_http_referer" value="/en/category/accessories-en/feed/" />    <input type="hidden" id="table_4_desc"
           value='{"tableId":"table_4","tableType":"manual","selector":"#table_4","responsive":true,"responsiveAction":"icon","editable":false,"inlineEditing":false,"infoBlock":true,"pagination":true,"paginationAlign":"right","paginationLayout":"full_numbers","paginationLayoutMobile":"simple","file_location":"","tableSkin":"light","table_wcag":0,"scrollable":false,"globalSearch":true,"showRowsPerPage":true,"popoverTools":false,"hideBeforeLoad":false,"number_format":1,"decimalPlaces":2,"spinnerSrc":"https:\/\/www.kern.si\/wp-content\/plugins\/wpdatatables\/assets\/\/img\/spinner.gif","groupingEnabled":false,"tableWpId":144,"dataTableParams":{"sDom":"BT\u003C\u0027clear\u0027\u003Elftip","bSortCellsTop":false,"bFilter":true,"bPaginate":true,"sPaginationType":"full_numbers","aLengthMenu":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,"All"]],"iDisplayLength":10,"columnDefs":[{"sType":"formatted-num","wdtType":"int","bVisible":false,"orderable":true,"searchable":true,"InputType":"text","name":"wdt_ID","origHeader":"wdt_ID","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-wdt_id","aTargets":[0]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d","origHeader":"d","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-d","aTargets":[1]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"z1n","origHeader":"z1n","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-z1n","sWidth":"80","aTargets":[2]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"sw","origHeader":"sw","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-sw","aTargets":[3]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l2","origHeader":"l2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l2","aTargets":[4]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l3","origHeader":"l3","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l3","aTargets":[5]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l4","origHeader":"l4","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l4","aTargets":[6]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l5","origHeader":"l5","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l5","aTargets":[7]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d1","origHeader":"d1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-d1","aTargets":[8]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"kodakern","origHeader":"kodakern","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-kodakern","sWidth":"120","aTargets":[9]},{"sType":"string","wdtType":"link","bVisible":true,"orderable":true,"searchable":true,"InputType":"link","name":"cart","origHeader":"cart","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-cart","aTargets":[10]}],"bAutoWidth":false,"order":[[0,"asc"]],"ordering":true,"fixedHeader":{"header":false,"headerOffset":0},"fixedColumns":false,"oLanguage":{"sSearchPlaceholder":""},"buttons":[],"bProcessing":false,"serverSide":true,"ajax":{"url":"https:\/\/www.kern.si\/wp-admin\/admin-ajax.php?action=get_wdtable&table_id=144","type":"POST"},"oSearch":{"bSmart":false,"bRegex":false,"sSearch":""}},"tabletWidth":"1024","mobileWidth":"480","renderFilter":"footer","advancedFilterEnabled":false,"serverSide":true,"autoRefreshInterval":0,"processing":true,"fnServerData":true,"columnsFixed":0,"sumFunctionsLabel":"","avgFunctionsLabel":"","minFunctionsLabel":"","maxFunctionsLabel":"","columnsDecimalPlaces":{"wdt_ID":-1,"d":-1,"z1n":-1,"sw":-1,"l2":-1,"l3":-1,"l4":-1,"l5":-1,"d1":-1,"kodakern":-1,"cart":-1},"columnsThousandsSeparator":{"wdt_ID":0,"d":1,"z1n":1,"sw":1,"l2":1,"l3":1,"l4":1,"l5":1},"sumColumns":[],"avgColumns":[],"sumAvgColumns":[],"timeFormat":"h:i A","datepickFormat":"dd\/mm\/yy"}'/>

    <table id="table_4"
           class="  responsive display nowrap data-t data-t wpDataTable wpDataTableID-144"
           style=""
           data-described-by='table_4_desc'
           data-wpdatatable_id="144">
        
        <!-- Table header -->
        
<thead>
<tr>
                    <th
                        class=" wdtheader sort numdata integer "
        style="">wdt_ID</th>        <th
        data-class="expand"                class=" wdtheader sort numdata integer "
        style="">d</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">Z1 (N)</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">SW</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L2</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L3</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L4</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L5</th>        <th
                        class=" wdtheader sort "
        style="">d1</th>        <th
                        class=" wdtheader sort "
        style="">KERN ID</th>        <th
                        class=" wdtheader sort "
        style="">CART</th>    </tr>
</thead>
        <!-- /Table header -->

        <!-- Table body -->
        
<tbody>
            <tr id="table_144_row_0">
                            <td style="">1</td>
                            <td style="">16</td>
                            <td style="">4.000</td>
                            <td style="">27</td>
                            <td style="">6</td>
                            <td style="">22</td>
                            <td style="">6</td>
                            <td style="">50</td>
                            <td style="">M16</td>
                            <td style="">3456.16</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_144_row_1">
                            <td style="">2</td>
                            <td style="">20</td>
                            <td style="">5.000</td>
                            <td style="">32</td>
                            <td style="">8</td>
                            <td style="">25</td>
                            <td style="">7</td>
                            <td style="">60</td>
                            <td style="">M20</td>
                            <td style="">3456.20</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_144_row_2">
                            <td style="">3</td>
                            <td style="">25</td>
                            <td style="">6.300</td>
                            <td style="">36</td>
                            <td style="">10</td>
                            <td style="">32</td>
                            <td style="">8</td>
                            <td style="">75</td>
                            <td style="">M24</td>
                            <td style="">3456.24</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_144_row_3">
                            <td style="">4</td>
                            <td style="">32</td>
                            <td style="">10.000</td>
                            <td style="">41</td>
                            <td style="">12</td>
                            <td style="">40</td>
                            <td style="">10</td>
                            <td style="">94</td>
                            <td style="">M30</td>
                            <td style="">3456.30</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_144_row_4">
                            <td style="">5</td>
                            <td style="">40</td>
                            <td style="">16.000</td>
                            <td style="">50</td>
                            <td style="">12</td>
                            <td style="">50</td>
                            <td style="">10</td>
                            <td style="">112</td>
                            <td style="">M36</td>
                            <td style="">3456.36</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
    </tbody>        <!-- /Table body -->

        <!-- Table footer -->
        
        <!-- /Table footer -->
    </table>

</div><style>
table.wpDataTable { table-layout: fixed !important; }
table.wpDataTable td, table.wpDataTable th { white-space: normal !important; }
.buy-now {
background-color: #4b91c8;
color: white !important;
}

.column-cart{
text-align: center !important;
}

.column-cart1{
text-align: center !important;
}

.remove-item {
	font-size: xx-large;
    margin-left: 20px;
    margin-right: 20px;
}

.remove-item:hover {
    cursor: pointer;
    color:red;
}table.wpDataTable td.numdata { text-align: right !important; }
</style>
<script>hasdone = 0;

jQuery(window).load(function () {

    getTables = [];
    let tables = document.getElementsByClassName('wpDataTable');
    Array.prototype.forEach.call(tables, function (table) {
        let id = table.id;
        if (!getTables.includes(id)) {
            getTables.push(id);
        }
    });

    let go = getTables[hasdone];
    hasdone++;

    wpDataTables['' + go].addOnDrawCallback(
        function () {

            let tab = document.getElementById(go);
            var els = '';
            if (tab.getElementsByClassName('  column-cart')[0]) {
                els = tab.getElementsByClassName('  column-cart')
            } else if (tab.getElementsByClassName('  column-cart1')[0]) {
                els = tab.getElementsByClassName('  column-cart1')
            }
            if (els[0] != undefined) {
                els[0].innerHTML = '';
            }
            Array.prototype.forEach.call(els, function (el) {
                let cart = [];

                if (localStorage.getItem('cart') != null) {
                    cart = JSON.parse(localStorage.getItem('cart'));
                    let kern_code = '';

                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }
                    cart.forEach(function (code) {
                        if (code === kern_code) {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                        }
                    });
                } else {
                    localStorage.setItem('cart', JSON.stringify(cart));
                }

                if (el.firstChild != null) {
                    // console.log(el.firstChild.firstChild)
                    if (el.firstChild.firstChild != null) {
                        el.firstChild.firstChild.innerHTML = '';
                        var icon = document.createElement('i');
                        // icon.classList.add("cspt-base-icon-shopping-basket");
                        // icon.classList.add("cspt-base-icon-shopping-bag");
                        // icon.classList.add("cspt-base-icon-shopping-bag-1");
                        icon.classList.add('cspt-base-icon-supermarket');

                        icon.classList.add('cspt-base-icon-plus');

                        el.firstChild.firstChild.appendChild(icon);
                    }

                    el.firstChild.href = 'javascript:;';
                    el.firstChild.target = '';

                    el.addEventListener('click', function () {
                        myFunction(el);
                    });
                }

                function myFunction(el) {
                    // console.log('element', el);
                    // console.log('element FIRST CHILD', el.firstChild.firstChild);
                    let kern_code = '';
                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }

                    if (localStorage.getItem('cart') != null) {
                        let cart = JSON.parse(localStorage.getItem('cart'));
                        if (cart.includes(kern_code)) {
                            cart = cart.filter(function (value, index, arr) {
                                return value !== kern_code;
                            });
                            el.firstChild.firstChild.style = 'background-color: #4b91c8';
                        } else {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                            cart.push(kern_code);
                        }

                        localStorage.setItem('cart', JSON.stringify(cart));
                    } else {
                        localStorage.setItem('cart', JSON.stringify([kern_code]));
                    }

                    updateKosarica();
                }

                function updateKosarica() {

                    let cart = [];

                    var tableParent = document.createElement('div');

                    if (localStorage.getItem('cart') != null && JSON.parse(localStorage.getItem('cart')).length !== 0) {

                        cart = JSON.parse(localStorage.getItem('cart'));

                        var table = document.createElement('div');

                        cart.forEach(function (code) {

                            var row = document.createElement('div');
                            row.classList.add('cart-data-row');
                            row.setAttribute('style', 'display:flex;justify-content: space-between;padding-bottom:10px;align-items: center;');
                            var node1 = document.createElement('div');
                            node1.setAttribute('style', 'font-weight: 500');
                            var input = document.createElement('input');
                            input.setAttribute('type', 'number');
                            row.appendChild(node1).innerHTML = code;
                            var qtyContainer = document.createElement('div');
                            qtyContainer.setAttribute('style', 'display: flex;align-items: center;');
                            qtyContainer.appendChild(input);
                            input.setAttribute('value', '1');
                            input.setAttribute('style', 'font-weight: 500;text-align: center;background-color: aliceblue;');
                            let removeItem = document.createElement('span');
                            removeItem.innerHTML = '×';
                            removeItem.classList.add('remove-item');
                            removeItem.addEventListener('click', function () {
                                removeItemFromLocalStorage(code);
                            });
                            qtyContainer.appendChild(removeItem);
                            row.appendChild(qtyContainer);
                            table.appendChild(row);


                        });
                        tableParent.appendChild(table);

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';
                        modal.getElementsByClassName('modal-body')[0].setAttribute('style', 'overflow: auto;max-height:500px');
                        modal.getElementsByClassName('modal-body')[0].appendChild(tableParent);


                        // // handle remove item btn
                        // var items = document.getElementsByClassName("remove-item");
                        // Array.from(items).forEach(function (element) {
                        //     let code = element.parentElement.parentElement.firstChild.innerHTML;
                        //     element.addEventListener("click", function () {
                        //         removeItemFromLocalStorage(code)
                        //     });
                        // });

                        function removeItemFromLocalStorage(kern_code) {
                            console.log('kern_code', kern_code);
                            if (localStorage.getItem('cart') != null) {
                                let cart = JSON.parse(localStorage.getItem('cart'));
                                if (cart.includes(kern_code)) {
                                    cart = cart.filter(function (value, index, arr) {
                                        return value !== kern_code;
                                    });
                                }
                                localStorage.setItem('cart', JSON.stringify(cart));
                            }
                            updateKosarica();
                        }


                    } else {

                        var noProducts = document.createElement('div');
                        noProducts.innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].appendChild(noProducts);

                    }

                }

            });

        });

});</script><style>
</style>


		</div>
	</div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>

</div>
</div><p>The post <a href="https://www.kern.si/en/3456-0/">3456 Lifter studs, VDI3366</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>3457 Lifter studs, VDI3366</title>
		<link>https://www.kern.si/en/3457-0/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Sep 2019 09:45:15 +0000</pubDate>
				<category><![CDATA[Accessories]]></category>
		<guid isPermaLink="false">https://beta.webis.si/kern/3457-0/</guid>

					<description><![CDATA[<p>The post <a href="https://www.kern.si/en/3457-0/">3457 Lifter studs, VDI3366</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-6 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_raw_code wpb_content_element wpb_raw_html" >
		<div class="wpb_wrapper">
			<img decoding="async" class="svg-kern" alt="alt-text" width="500" src="http://kern.angelis.si/wp-content/uploads/2017/06/3457.svg" />
		</div>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<div class="vc_single_image-wrapper   vc_box_border_grey"><img loading="lazy" decoding="async" width="300" height="300" src="https://www.kern.si/wp-content/uploads/2019/09/3457-2-300x3001.png" class="vc_single_image-img attachment-medium" alt="" title="3457-2-300x300[1]" srcset="https://www.kern.si/wp-content/uploads/2019/09/3457-2-300x3001.png 300w, https://www.kern.si/wp-content/uploads/2019/09/3457-2-300x3001-150x150.png 150w, https://www.kern.si/wp-content/uploads/2019/09/3457-2-300x3001-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" data-id="18892" /></div>
		</figure>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-2 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.si/wp-content/uploads/2017/06/3456-3457.pdf" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-file-pdf-o"></i> PDF</span></a></div>
<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.partcommunity.com/3d-cad-models/3457-lifter-studs-kern/?info=kern%2Fdies%2Faccessories%2F3457.prj" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-download"></i> 3D</span></a></div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
<div class="wpdt-c wdt-skin-light">
    
<input type="hidden" id="wdtNonceFrontendEdit_145" name="wdtNonceFrontendEdit_145" value="3d4e1a36eb" /><input type="hidden" name="_wp_http_referer" value="/en/category/accessories-en/feed/" />    <input type="hidden" id="table_5_desc"
           value='{"tableId":"table_5","tableType":"manual","selector":"#table_5","responsive":true,"responsiveAction":"icon","editable":false,"inlineEditing":false,"infoBlock":true,"pagination":true,"paginationAlign":"right","paginationLayout":"full_numbers","paginationLayoutMobile":"simple","file_location":"","tableSkin":"light","table_wcag":0,"scrollable":false,"globalSearch":true,"showRowsPerPage":true,"popoverTools":false,"hideBeforeLoad":false,"number_format":1,"decimalPlaces":2,"spinnerSrc":"https:\/\/www.kern.si\/wp-content\/plugins\/wpdatatables\/assets\/\/img\/spinner.gif","groupingEnabled":false,"tableWpId":145,"dataTableParams":{"sDom":"BT\u003C\u0027clear\u0027\u003Elftip","bSortCellsTop":false,"bFilter":true,"bPaginate":true,"sPaginationType":"full_numbers","aLengthMenu":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,"All"]],"iDisplayLength":10,"columnDefs":[{"sType":"formatted-num","wdtType":"int","bVisible":false,"orderable":true,"searchable":true,"InputType":"text","name":"wdt_ID","origHeader":"wdt_ID","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-wdt_id","aTargets":[0]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"a","origHeader":"a","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-a","aTargets":[1]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"z1n","origHeader":"z1n","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-z1n","sWidth":"70","aTargets":[2]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"m","origHeader":"m","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-m","aTargets":[3]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d2","origHeader":"d2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-d2","aTargets":[4]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l2","origHeader":"l2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l2","aTargets":[5]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l3","origHeader":"l3","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l3","aTargets":[6]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l4","origHeader":"l4","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l4","aTargets":[7]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l5","origHeader":"l5","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l5","aTargets":[8]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l6","origHeader":"l6","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l6","aTargets":[9]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d","origHeader":"d","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-d","aTargets":[10]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"kodakern","origHeader":"kodakern","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-kodakern","sWidth":"110","aTargets":[11]},{"sType":"string","wdtType":"link","bVisible":true,"orderable":true,"searchable":true,"InputType":"link","name":"cart","origHeader":"cart","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-cart","aTargets":[12]}],"bAutoWidth":false,"order":[[0,"asc"]],"ordering":true,"fixedHeader":{"header":false,"headerOffset":0},"fixedColumns":false,"oLanguage":{"sSearchPlaceholder":""},"buttons":[],"bProcessing":false,"serverSide":true,"ajax":{"url":"https:\/\/www.kern.si\/wp-admin\/admin-ajax.php?action=get_wdtable&table_id=145","type":"POST"},"oSearch":{"bSmart":false,"bRegex":false,"sSearch":""}},"tabletWidth":"1024","mobileWidth":"480","renderFilter":"footer","advancedFilterEnabled":false,"serverSide":true,"autoRefreshInterval":0,"processing":true,"fnServerData":true,"columnsFixed":0,"sumFunctionsLabel":"","avgFunctionsLabel":"","minFunctionsLabel":"","maxFunctionsLabel":"","columnsDecimalPlaces":{"wdt_ID":-1,"a":-1,"z1n":-1,"m":-1,"d2":-1,"l2":-1,"l3":-1,"l4":-1,"l5":-1,"l6":-1,"d":-1,"kodakern":-1,"cart":-1},"columnsThousandsSeparator":{"wdt_ID":0,"a":1,"z1n":1,"d2":1,"l2":1,"l3":1,"l4":1,"l5":1,"l6":1,"d":1},"sumColumns":[],"avgColumns":[],"sumAvgColumns":[],"timeFormat":"h:i A","datepickFormat":"dd\/mm\/yy"}'/>

    <table id="table_5"
           class="  responsive display nowrap data-t data-t wpDataTable wpDataTableID-145"
           style=""
           data-described-by='table_5_desc'
           data-wpdatatable_id="145">
        
        <!-- Table header -->
        
<thead>
<tr>
                    <th
                        class=" wdtheader sort numdata integer "
        style="">wdt_ID</th>        <th
        data-class="expand"                class=" wdtheader sort numdata integer "
        style="">a</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">Z1 (N)</th>        <th
                        class=" wdtheader sort "
        style="">M</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">d2</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L2</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L3</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L4</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L5</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L6</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">d</th>        <th
                        class=" wdtheader sort "
        style="">KERN ID</th>        <th
                        class=" wdtheader sort "
        style="">CART</th>    </tr>
</thead>
        <!-- /Table header -->

        <!-- Table body -->
        
<tbody>
            <tr id="table_145_row_0">
                            <td style="">1</td>
                            <td style="">20</td>
                            <td style="">3.200</td>
                            <td style="">M8</td>
                            <td style="">9</td>
                            <td style="">6</td>
                            <td style="">20</td>
                            <td style="">80</td>
                            <td style="">10</td>
                            <td style="">34</td>
                            <td style="">16</td>
                            <td style="">3457.16</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_145_row_1">
                            <td style="">2</td>
                            <td style="">25</td>
                            <td style="">6.300</td>
                            <td style="">M10</td>
                            <td style="">11</td>
                            <td style="">8</td>
                            <td style="">25</td>
                            <td style="">90</td>
                            <td style="">10</td>
                            <td style="">37</td>
                            <td style="">20</td>
                            <td style="">3457.20</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_145_row_2">
                            <td style="">3</td>
                            <td style="">35</td>
                            <td style="">12.500</td>
                            <td style="">M12</td>
                            <td style="">14</td>
                            <td style="">8</td>
                            <td style="">30</td>
                            <td style="">100</td>
                            <td style="">12</td>
                            <td style="">38</td>
                            <td style="">25</td>
                            <td style="">3457.25</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_145_row_3">
                            <td style="">4</td>
                            <td style="">40</td>
                            <td style="">20.000</td>
                            <td style="">M16</td>
                            <td style="">18</td>
                            <td style="">10</td>
                            <td style="">32</td>
                            <td style="">120</td>
                            <td style="">16</td>
                            <td style="">46</td>
                            <td style="">32</td>
                            <td style="">3457.32</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_145_row_4">
                            <td style="">5</td>
                            <td style="">50</td>
                            <td style="">32.000</td>
                            <td style="">M20</td>
                            <td style="">22</td>
                            <td style="">10</td>
                            <td style="">40</td>
                            <td style="">140</td>
                            <td style="">18</td>
                            <td style="">54</td>
                            <td style="">40</td>
                            <td style="">3457.40</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_145_row_5">
                            <td style="">6</td>
                            <td style="">60</td>
                            <td style="">50.000</td>
                            <td style="">M24</td>
                            <td style="">26</td>
                            <td style="">12</td>
                            <td style="">45</td>
                            <td style="">160</td>
                            <td style="">22</td>
                            <td style="">54</td>
                            <td style="">50</td>
                            <td style="">3457.50</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
    </tbody>        <!-- /Table body -->

        <!-- Table footer -->
        
        <!-- /Table footer -->
    </table>

</div><style>
table.wpDataTable { table-layout: fixed !important; }
table.wpDataTable td, table.wpDataTable th { white-space: normal !important; }
.buy-now {
background-color: #4b91c8;
color: white !important;
}

.column-cart{
text-align: center !important;
}

.column-cart1{
text-align: center !important;
}

.remove-item {
	font-size: xx-large;
    margin-left: 20px;
    margin-right: 20px;
}

.remove-item:hover {
    cursor: pointer;
    color:red;
}table.wpDataTable td.numdata { text-align: right !important; }
</style>
<script>hasdone = 0;

jQuery(window).load(function () {

    getTables = [];
    let tables = document.getElementsByClassName('wpDataTable');
    Array.prototype.forEach.call(tables, function (table) {
        let id = table.id;
        if (!getTables.includes(id)) {
            getTables.push(id);
        }
    });

    let go = getTables[hasdone];
    hasdone++;

    wpDataTables['' + go].addOnDrawCallback(
        function () {

            let tab = document.getElementById(go);
            var els = '';
            if (tab.getElementsByClassName('  column-cart')[0]) {
                els = tab.getElementsByClassName('  column-cart')
            } else if (tab.getElementsByClassName('  column-cart1')[0]) {
                els = tab.getElementsByClassName('  column-cart1')
            }
            if (els[0] != undefined) {
                els[0].innerHTML = '';
            }
            Array.prototype.forEach.call(els, function (el) {
                let cart = [];

                if (localStorage.getItem('cart') != null) {
                    cart = JSON.parse(localStorage.getItem('cart'));
                    let kern_code = '';

                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }
                    cart.forEach(function (code) {
                        if (code === kern_code) {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                        }
                    });
                } else {
                    localStorage.setItem('cart', JSON.stringify(cart));
                }

                if (el.firstChild != null) {
                    // console.log(el.firstChild.firstChild)
                    if (el.firstChild.firstChild != null) {
                        el.firstChild.firstChild.innerHTML = '';
                        var icon = document.createElement('i');
                        // icon.classList.add("cspt-base-icon-shopping-basket");
                        // icon.classList.add("cspt-base-icon-shopping-bag");
                        // icon.classList.add("cspt-base-icon-shopping-bag-1");
                        icon.classList.add('cspt-base-icon-supermarket');

                        icon.classList.add('cspt-base-icon-plus');

                        el.firstChild.firstChild.appendChild(icon);
                    }

                    el.firstChild.href = 'javascript:;';
                    el.firstChild.target = '';

                    el.addEventListener('click', function () {
                        myFunction(el);
                    });
                }

                function myFunction(el) {
                    // console.log('element', el);
                    // console.log('element FIRST CHILD', el.firstChild.firstChild);
                    let kern_code = '';
                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }

                    if (localStorage.getItem('cart') != null) {
                        let cart = JSON.parse(localStorage.getItem('cart'));
                        if (cart.includes(kern_code)) {
                            cart = cart.filter(function (value, index, arr) {
                                return value !== kern_code;
                            });
                            el.firstChild.firstChild.style = 'background-color: #4b91c8';
                        } else {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                            cart.push(kern_code);
                        }

                        localStorage.setItem('cart', JSON.stringify(cart));
                    } else {
                        localStorage.setItem('cart', JSON.stringify([kern_code]));
                    }

                    updateKosarica();
                }

                function updateKosarica() {

                    let cart = [];

                    var tableParent = document.createElement('div');

                    if (localStorage.getItem('cart') != null && JSON.parse(localStorage.getItem('cart')).length !== 0) {

                        cart = JSON.parse(localStorage.getItem('cart'));

                        var table = document.createElement('div');

                        cart.forEach(function (code) {

                            var row = document.createElement('div');
                            row.classList.add('cart-data-row');
                            row.setAttribute('style', 'display:flex;justify-content: space-between;padding-bottom:10px;align-items: center;');
                            var node1 = document.createElement('div');
                            node1.setAttribute('style', 'font-weight: 500');
                            var input = document.createElement('input');
                            input.setAttribute('type', 'number');
                            row.appendChild(node1).innerHTML = code;
                            var qtyContainer = document.createElement('div');
                            qtyContainer.setAttribute('style', 'display: flex;align-items: center;');
                            qtyContainer.appendChild(input);
                            input.setAttribute('value', '1');
                            input.setAttribute('style', 'font-weight: 500;text-align: center;background-color: aliceblue;');
                            let removeItem = document.createElement('span');
                            removeItem.innerHTML = '×';
                            removeItem.classList.add('remove-item');
                            removeItem.addEventListener('click', function () {
                                removeItemFromLocalStorage(code);
                            });
                            qtyContainer.appendChild(removeItem);
                            row.appendChild(qtyContainer);
                            table.appendChild(row);


                        });
                        tableParent.appendChild(table);

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';
                        modal.getElementsByClassName('modal-body')[0].setAttribute('style', 'overflow: auto;max-height:500px');
                        modal.getElementsByClassName('modal-body')[0].appendChild(tableParent);


                        // // handle remove item btn
                        // var items = document.getElementsByClassName("remove-item");
                        // Array.from(items).forEach(function (element) {
                        //     let code = element.parentElement.parentElement.firstChild.innerHTML;
                        //     element.addEventListener("click", function () {
                        //         removeItemFromLocalStorage(code)
                        //     });
                        // });

                        function removeItemFromLocalStorage(kern_code) {
                            console.log('kern_code', kern_code);
                            if (localStorage.getItem('cart') != null) {
                                let cart = JSON.parse(localStorage.getItem('cart'));
                                if (cart.includes(kern_code)) {
                                    cart = cart.filter(function (value, index, arr) {
                                        return value !== kern_code;
                                    });
                                }
                                localStorage.setItem('cart', JSON.stringify(cart));
                            }
                            updateKosarica();
                        }


                    } else {

                        var noProducts = document.createElement('div');
                        noProducts.innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].appendChild(noProducts);

                    }

                }

            });

        });

});</script><style>
</style>


		</div>
	</div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>

</div>
</div><p>The post <a href="https://www.kern.si/en/3457-0/">3457 Lifter studs, VDI3366</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>3460 Cylinder head cap screws, DIN 912 kv.12.9</title>
		<link>https://www.kern.si/en/3460-0/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Sep 2019 09:45:15 +0000</pubDate>
				<category><![CDATA[Accessories]]></category>
		<guid isPermaLink="false">https://beta.webis.si/kern/3460-0/</guid>

					<description><![CDATA[<p>The post <a href="https://www.kern.si/en/3460-0/">3460 Cylinder head cap screws, DIN 912 kv.12.9</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-6 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_raw_code wpb_content_element wpb_raw_html" >
		<div class="wpb_wrapper">
			<img decoding="async" class="svg-kern" alt="alt-text" width="500" src="http://kern.angelis.si/wp-content/uploads/2017/06/3460.svg" />
		</div>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<div class="vc_single_image-wrapper   vc_box_border_grey"><img loading="lazy" decoding="async" width="300" height="300" src="https://www.kern.si/wp-content/uploads/2019/09/3460-1-300x3001.png" class="vc_single_image-img attachment-medium" alt="" title="3460-1-300x300[1]" srcset="https://www.kern.si/wp-content/uploads/2019/09/3460-1-300x3001.png 300w, https://www.kern.si/wp-content/uploads/2019/09/3460-1-300x3001-150x150.png 150w, https://www.kern.si/wp-content/uploads/2019/09/3460-1-300x3001-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" data-id="18900" /></div>
		</figure>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-2 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.si/wp-content/uploads/2017/06/3460.pdf" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-file-pdf-o"></i> PDF</span></a></div>
<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.partcommunity.com/3d-cad-models/3460-cylinder-head-cap-screws-kern/?info=kern%2Fdies%2Faccessories%2F3460.prj" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-download"></i> 3D</span></a></div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
<div class="wpdt-c wdt-skin-light">
    

    <div class="wpDataTables wpDataTablesFilter wpDataTablesWrapper wdt-skin-light data-t"
         data-wpdatatable_id="146">
        <div id="filterBox_table_6" class="wpDataTableFilterBox">
                                                                                                                                                                                            <div class="wpDataTableFilterSection" id="table_6_5_filter_sections">
                        <label>d1:</label>
                        <div id="table_6_5_filter"></div>
                    </div>
                                                                <div class="wpDataTableFilterSection" id="table_6_6_filter_sections">
                        <label>L1:</label>
                        <div id="table_6_6_filter"></div>
                    </div>
                                                                                                        </div>
    </div>
<input type="hidden" id="wdtNonceFrontendEdit_146" name="wdtNonceFrontendEdit_146" value="bd31fbcf61" /><input type="hidden" name="_wp_http_referer" value="/en/category/accessories-en/feed/" />    <input type="hidden" id="table_6_desc"
           value='{"tableId":"table_6","tableType":"manual","selector":"#table_6","responsive":true,"responsiveAction":"icon","editable":false,"inlineEditing":false,"infoBlock":true,"pagination":true,"paginationAlign":"right","paginationLayout":"full_numbers","paginationLayoutMobile":"simple","file_location":"","tableSkin":"light","table_wcag":0,"scrollable":false,"globalSearch":true,"showRowsPerPage":true,"popoverTools":false,"hideBeforeLoad":false,"number_format":1,"decimalPlaces":2,"spinnerSrc":"https:\/\/www.kern.si\/wp-content\/plugins\/wpdatatables\/assets\/\/img\/spinner.gif","groupingEnabled":false,"tableWpId":146,"dataTableParams":{"sDom":"BT\u003C\u0027clear\u0027\u003Elftip","bSortCellsTop":false,"bFilter":true,"bPaginate":true,"sPaginationType":"full_numbers","aLengthMenu":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,"All"]],"iDisplayLength":10,"columnDefs":[{"sType":"formatted-num","wdtType":"int","bVisible":false,"orderable":true,"searchable":true,"InputType":"text","name":"wdt_ID","origHeader":"wdt_ID","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-wdt_id","aTargets":[0]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d2","origHeader":"d2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-d2","aTargets":[1]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"k","origHeader":"k","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-k","aTargets":[2]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"sw","origHeader":"sw","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-sw","aTargets":[3]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l2","origHeader":"l2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-l2","aTargets":[4]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d1","origHeader":"d1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-d1","aTargets":[5]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l1","origHeader":"l1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l1","aTargets":[6]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"kodakern","origHeader":"kodakern","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-kodakern","aTargets":[7]},{"sType":"string","wdtType":"link","bVisible":true,"orderable":true,"searchable":true,"InputType":"link","name":"cart","origHeader":"cart","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-cart","aTargets":[8]}],"bAutoWidth":false,"order":[[0,"asc"]],"ordering":true,"fixedHeader":{"header":false,"headerOffset":0},"fixedColumns":false,"oLanguage":{"sSearchPlaceholder":""},"buttons":[],"bProcessing":false,"serverSide":true,"ajax":{"url":"https:\/\/www.kern.si\/wp-admin\/admin-ajax.php?action=get_wdtable&table_id=146","type":"POST"},"oSearch":{"bSmart":false,"bRegex":false,"sSearch":""}},"tabletWidth":"1024","mobileWidth":"480","renderFilter":"footer","advancedFilterEnabled":true,"advancedFilterOptions":{"aoColumns":[{"type":"null","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"wdt_ID","displayHeader":"wdt_ID","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_6_0_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"d2","displayHeader":"d2","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_6_1_filter"},{"type":"null","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"k","displayHeader":"K","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_6_2_filter"},{"type":"null","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"sw","displayHeader":"SW","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_6_3_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"l2","displayHeader":"L2","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_6_4_filter"},{"type":"select","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":[{"value":"M10","label":"M10"},{"value":"M12","label":"M12"},{"value":"M16","label":"M16"},{"value":"M20","label":"M20"},{"value":"M24","label":"M24"},{"value":"M4","label":"M4"},{"value":"M5","label":"M5"},{"value":"M6","label":"M6"},{"value":"M8","label":"M8"}],"origHeader":"d1","displayHeader":"d1","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_6_5_filter"},{"type":"select","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":[{"value":"8","label":"8"},{"value":"10","label":"10"},{"value":"12","label":"12"},{"value":"16","label":"16"},{"value":"20","label":"20"},{"value":"25","label":"25"},{"value":"30","label":"30"},{"value":"35","label":"35"},{"value":"40","label":"40"},{"value":"45","label":"45"},{"value":"50","label":"50"},{"value":"55","label":"55"},{"value":"60","label":"60"},{"value":"70","label":"70"},{"value":"80","label":"80"},{"value":"90","label":"90"},{"value":"100","label":"100"},{"value":"110","label":"110"},{"value":"120","label":"120"},{"value":"130","label":"130"},{"value":"140","label":"140"},{"value":"150","label":"150"},{"value":"160","label":"160"},{"value":"170","label":"170"},{"value":"180","label":"180"},{"value":"190","label":"190"},{"value":"200","label":"200"},{"value":"220","label":"220"},{"value":"240","label":"240"},{"value":"260","label":"260"},{"value":"280","label":"280"},{"value":"300","label":"300"},{"value":"320","label":"320"},{"value":"340","label":"340"},{"value":"360","label":"360"}],"origHeader":"l1","displayHeader":"L1","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_6_6_filter"},{"type":"null","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"kodakern","displayHeader":"KERN ID","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_6_7_filter"},{"type":"null","columnType":"link","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"cart","displayHeader":"CART","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"add","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_6_8_filter"}],"bUseColVis":true},"filterInForm":true,"serverSide":true,"autoRefreshInterval":0,"processing":true,"fnServerData":true,"columnsFixed":0,"sumFunctionsLabel":"","avgFunctionsLabel":"","minFunctionsLabel":"","maxFunctionsLabel":"","columnsDecimalPlaces":{"wdt_ID":-1,"d2":-1,"k":-1,"sw":-1,"l2":-1,"d1":-1,"l1":-1,"kodakern":-1,"cart":-1},"columnsThousandsSeparator":{"wdt_ID":0,"k":1,"sw":1,"l1":1},"sumColumns":[],"avgColumns":[],"sumAvgColumns":[],"timeFormat":"h:i A","datepickFormat":"dd\/mm\/yy"}'/>

    <table id="table_6"
           class="  responsive display nowrap data-t data-t wpDataTable wpDataTableID-146"
           style=""
           data-described-by='table_6_desc'
           data-wpdatatable_id="146">
        
        <!-- Table header -->
        
<thead>
<tr>
                    <th
                        class=" wdtheader sort numdata integer "
        style="">wdt_ID</th>        <th
        data-class="expand"                class=" wdtheader sort numdata float "
        style="">d2</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">K</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">SW</th>        <th
                        class=" wdtheader sort numdata float "
        style="">L2</th>        <th
                        class=" wdtheader sort "
        style="">d1</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L1</th>        <th
                        class=" wdtheader sort "
        style="">KERN ID</th>        <th
                        class=" wdtheader sort "
        style="">CART</th>    </tr>
</thead>
        <!-- /Table header -->

        <!-- Table body -->
        
<tbody>
            <tr id="table_146_row_0">
                            <td style="">1</td>
                            <td style="">7,00</td>
                            <td style="">4</td>
                            <td style="">3</td>
                            <td style="">6,40</td>
                            <td style="">M4</td>
                            <td style="">8</td>
                            <td style="">3460.04.008</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_146_row_1">
                            <td style="">2</td>
                            <td style="">7,00</td>
                            <td style="">4</td>
                            <td style="">3</td>
                            <td style="">8,40</td>
                            <td style="">M4</td>
                            <td style="">10</td>
                            <td style="">3460.04.010</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_146_row_2">
                            <td style="">3</td>
                            <td style="">7,00</td>
                            <td style="">4</td>
                            <td style="">3</td>
                            <td style="">10,40</td>
                            <td style="">M4</td>
                            <td style="">12</td>
                            <td style="">3460.04.012</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_146_row_3">
                            <td style="">4</td>
                            <td style="">7,00</td>
                            <td style="">4</td>
                            <td style="">3</td>
                            <td style="">14,40</td>
                            <td style="">M4</td>
                            <td style="">16</td>
                            <td style="">3460.04.016</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_146_row_4">
                            <td style="">5</td>
                            <td style="">7,00</td>
                            <td style="">4</td>
                            <td style="">3</td>
                            <td style="">18,40</td>
                            <td style="">M4</td>
                            <td style="">20</td>
                            <td style="">3460.04.020</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_146_row_5">
                            <td style="">6</td>
                            <td style="">7,00</td>
                            <td style="">4</td>
                            <td style="">3</td>
                            <td style="">20,00</td>
                            <td style="">M4</td>
                            <td style="">25</td>
                            <td style="">3460.04.025</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_146_row_6">
                            <td style="">7</td>
                            <td style="">7,00</td>
                            <td style="">4</td>
                            <td style="">3</td>
                            <td style="">20,00</td>
                            <td style="">M4</td>
                            <td style="">30</td>
                            <td style="">3460.04.030</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_146_row_7">
                            <td style="">8</td>
                            <td style="">7,00</td>
                            <td style="">4</td>
                            <td style="">3</td>
                            <td style="">20,00</td>
                            <td style="">M4</td>
                            <td style="">35</td>
                            <td style="">3460.04.035</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_146_row_8">
                            <td style="">9</td>
                            <td style="">7,00</td>
                            <td style="">4</td>
                            <td style="">3</td>
                            <td style="">20,00</td>
                            <td style="">M4</td>
                            <td style="">40</td>
                            <td style="">3460.04.040</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_146_row_9">
                            <td style="">10</td>
                            <td style="">8,50</td>
                            <td style="">5</td>
                            <td style="">4</td>
                            <td style="">8,00</td>
                            <td style="">M5</td>
                            <td style="">10</td>
                            <td style="">3460.05.010</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
    </tbody>        <!-- /Table body -->

        <!-- Table footer -->
        
    <tfoot>
                <tr style="display: none">
                            <td
                class="wdtheader sort numdata integer "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort numdata integer "
                style=""></td>                <td
                class="wdtheader sort numdata integer "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort "
                style="">d1</td>                <td
                class="wdtheader sort numdata integer "
                style="">L1</td>                <td
                class="wdtheader sort "
                style=""></td>                <td
                class="wdtheader sort "
                style=""></td>        </tr>
                            </tfoot>
        <!-- /Table footer -->
    </table>

</div><style>
table.wpDataTable { table-layout: fixed !important; }
table.wpDataTable td, table.wpDataTable th { white-space: normal !important; }
.buy-now {
background-color: #4b91c8;
color: white !important;
}

.column-cart{
text-align: center !important;
}

.column-cart1{
text-align: center !important;
}

.remove-item {
	font-size: xx-large;
    margin-left: 20px;
    margin-right: 20px;
}

.remove-item:hover {
    cursor: pointer;
    color:red;
}table.wpDataTable td.numdata { text-align: right !important; }
</style>
<script>hasdone = 0;

jQuery(window).load(function () {

    getTables = [];
    let tables = document.getElementsByClassName('wpDataTable');
    Array.prototype.forEach.call(tables, function (table) {
        let id = table.id;
        if (!getTables.includes(id)) {
            getTables.push(id);
        }
    });

    let go = getTables[hasdone];
    hasdone++;

    wpDataTables['' + go].addOnDrawCallback(
        function () {

            let tab = document.getElementById(go);
            var els = '';
            if (tab.getElementsByClassName('  column-cart')[0]) {
                els = tab.getElementsByClassName('  column-cart')
            } else if (tab.getElementsByClassName('  column-cart1')[0]) {
                els = tab.getElementsByClassName('  column-cart1')
            }
            if (els[0] != undefined) {
                els[0].innerHTML = '';
            }
            Array.prototype.forEach.call(els, function (el) {
                let cart = [];

                if (localStorage.getItem('cart') != null) {
                    cart = JSON.parse(localStorage.getItem('cart'));
                    let kern_code = '';

                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }
                    cart.forEach(function (code) {
                        if (code === kern_code) {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                        }
                    });
                } else {
                    localStorage.setItem('cart', JSON.stringify(cart));
                }

                if (el.firstChild != null) {
                    // console.log(el.firstChild.firstChild)
                    if (el.firstChild.firstChild != null) {
                        el.firstChild.firstChild.innerHTML = '';
                        var icon = document.createElement('i');
                        // icon.classList.add("cspt-base-icon-shopping-basket");
                        // icon.classList.add("cspt-base-icon-shopping-bag");
                        // icon.classList.add("cspt-base-icon-shopping-bag-1");
                        icon.classList.add('cspt-base-icon-supermarket');

                        icon.classList.add('cspt-base-icon-plus');

                        el.firstChild.firstChild.appendChild(icon);
                    }

                    el.firstChild.href = 'javascript:;';
                    el.firstChild.target = '';

                    el.addEventListener('click', function () {
                        myFunction(el);
                    });
                }

                function myFunction(el) {
                    // console.log('element', el);
                    // console.log('element FIRST CHILD', el.firstChild.firstChild);
                    let kern_code = '';
                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }

                    if (localStorage.getItem('cart') != null) {
                        let cart = JSON.parse(localStorage.getItem('cart'));
                        if (cart.includes(kern_code)) {
                            cart = cart.filter(function (value, index, arr) {
                                return value !== kern_code;
                            });
                            el.firstChild.firstChild.style = 'background-color: #4b91c8';
                        } else {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                            cart.push(kern_code);
                        }

                        localStorage.setItem('cart', JSON.stringify(cart));
                    } else {
                        localStorage.setItem('cart', JSON.stringify([kern_code]));
                    }

                    updateKosarica();
                }

                function updateKosarica() {

                    let cart = [];

                    var tableParent = document.createElement('div');

                    if (localStorage.getItem('cart') != null && JSON.parse(localStorage.getItem('cart')).length !== 0) {

                        cart = JSON.parse(localStorage.getItem('cart'));

                        var table = document.createElement('div');

                        cart.forEach(function (code) {

                            var row = document.createElement('div');
                            row.classList.add('cart-data-row');
                            row.setAttribute('style', 'display:flex;justify-content: space-between;padding-bottom:10px;align-items: center;');
                            var node1 = document.createElement('div');
                            node1.setAttribute('style', 'font-weight: 500');
                            var input = document.createElement('input');
                            input.setAttribute('type', 'number');
                            row.appendChild(node1).innerHTML = code;
                            var qtyContainer = document.createElement('div');
                            qtyContainer.setAttribute('style', 'display: flex;align-items: center;');
                            qtyContainer.appendChild(input);
                            input.setAttribute('value', '1');
                            input.setAttribute('style', 'font-weight: 500;text-align: center;background-color: aliceblue;');
                            let removeItem = document.createElement('span');
                            removeItem.innerHTML = '×';
                            removeItem.classList.add('remove-item');
                            removeItem.addEventListener('click', function () {
                                removeItemFromLocalStorage(code);
                            });
                            qtyContainer.appendChild(removeItem);
                            row.appendChild(qtyContainer);
                            table.appendChild(row);


                        });
                        tableParent.appendChild(table);

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';
                        modal.getElementsByClassName('modal-body')[0].setAttribute('style', 'overflow: auto;max-height:500px');
                        modal.getElementsByClassName('modal-body')[0].appendChild(tableParent);


                        // // handle remove item btn
                        // var items = document.getElementsByClassName("remove-item");
                        // Array.from(items).forEach(function (element) {
                        //     let code = element.parentElement.parentElement.firstChild.innerHTML;
                        //     element.addEventListener("click", function () {
                        //         removeItemFromLocalStorage(code)
                        //     });
                        // });

                        function removeItemFromLocalStorage(kern_code) {
                            console.log('kern_code', kern_code);
                            if (localStorage.getItem('cart') != null) {
                                let cart = JSON.parse(localStorage.getItem('cart'));
                                if (cart.includes(kern_code)) {
                                    cart = cart.filter(function (value, index, arr) {
                                        return value !== kern_code;
                                    });
                                }
                                localStorage.setItem('cart', JSON.stringify(cart));
                            }
                            updateKosarica();
                        }


                    } else {

                        var noProducts = document.createElement('div');
                        noProducts.innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].appendChild(noProducts);

                    }

                }

            });

        });

});</script><style>
</style>


		</div>
	</div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>

</div>
</div><p>The post <a href="https://www.kern.si/en/3460-0/">3460 Cylinder head cap screws, DIN 912 kv.12.9</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>3461 Cylinder low head cap screws, DIN7984</title>
		<link>https://www.kern.si/en/3461-0/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Sep 2019 09:45:15 +0000</pubDate>
				<category><![CDATA[Accessories]]></category>
		<guid isPermaLink="false">https://beta.webis.si/kern/3461-0/</guid>

					<description><![CDATA[<p>The post <a href="https://www.kern.si/en/3461-0/">3461 Cylinder low head cap screws, DIN7984</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-6 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_raw_code wpb_content_element wpb_raw_html" >
		<div class="wpb_wrapper">
			<img decoding="async" class="svg-kern" alt="alt-text" width="500" src="http://kern.angelis.si/wp-content/uploads/2017/06/3461.svg" />
		</div>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<div class="vc_single_image-wrapper   vc_box_border_grey"><img loading="lazy" decoding="async" width="300" height="300" src="https://www.kern.si/wp-content/uploads/2019/09/3461-1-300x3001.png" class="vc_single_image-img attachment-medium" alt="" title="3461-1-300x300[1]" srcset="https://www.kern.si/wp-content/uploads/2019/09/3461-1-300x3001.png 300w, https://www.kern.si/wp-content/uploads/2019/09/3461-1-300x3001-150x150.png 150w, https://www.kern.si/wp-content/uploads/2019/09/3461-1-300x3001-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" data-id="18914" /></div>
		</figure>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-2 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.si/wp-content/uploads/2017/06/3461-3462.pdf" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-file-pdf-o"></i> PDF</span></a></div>
<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.partcommunity.com/3d-cad-models/3461-cylinder-low-head-cap-screw-kern/?info=kern%2Fdies%2Faccessories%2F3461.prj" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-download"></i> 3D</span></a></div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
<div class="wpdt-c wdt-skin-light">
    

    <div class="wpDataTables wpDataTablesFilter wpDataTablesWrapper wdt-skin-light data-t"
         data-wpdatatable_id="147">
        <div id="filterBox_table_7" class="wpDataTableFilterBox">
                                                                                                                                                                <div class="wpDataTableFilterSection" id="table_7_4_filter_sections">
                        <label>d1:</label>
                        <div id="table_7_4_filter"></div>
                    </div>
                                                                <div class="wpDataTableFilterSection" id="table_7_5_filter_sections">
                        <label>L1:</label>
                        <div id="table_7_5_filter"></div>
                    </div>
                                                                                                        </div>
    </div>
<input type="hidden" id="wdtNonceFrontendEdit_147" name="wdtNonceFrontendEdit_147" value="13a775b032" /><input type="hidden" name="_wp_http_referer" value="/en/category/accessories-en/feed/" />    <input type="hidden" id="table_7_desc"
           value='{"tableId":"table_7","tableType":"manual","selector":"#table_7","responsive":true,"responsiveAction":"icon","editable":false,"inlineEditing":false,"infoBlock":true,"pagination":true,"paginationAlign":"right","paginationLayout":"full_numbers","paginationLayoutMobile":"simple","file_location":"","tableSkin":"light","table_wcag":0,"scrollable":false,"globalSearch":true,"showRowsPerPage":true,"popoverTools":false,"hideBeforeLoad":false,"number_format":1,"decimalPlaces":2,"spinnerSrc":"https:\/\/www.kern.si\/wp-content\/plugins\/wpdatatables\/assets\/\/img\/spinner.gif","groupingEnabled":false,"tableWpId":147,"dataTableParams":{"sDom":"BT\u003C\u0027clear\u0027\u003Elftip","bSortCellsTop":false,"bFilter":true,"bPaginate":true,"sPaginationType":"full_numbers","aLengthMenu":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,"All"]],"iDisplayLength":10,"columnDefs":[{"sType":"formatted-num","wdtType":"int","bVisible":false,"orderable":true,"searchable":true,"InputType":"text","name":"wdt_ID","origHeader":"wdt_ID","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-wdt_id","aTargets":[0]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d2","origHeader":"d2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-d2","aTargets":[1]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"k","origHeader":"k","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-k","aTargets":[2]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"sw","origHeader":"sw","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-sw","aTargets":[3]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d1","origHeader":"d1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-d1","aTargets":[4]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l1","origHeader":"l1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l1","aTargets":[5]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"kodakern","origHeader":"kodakern","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-kodakern","aTargets":[6]},{"sType":"string","wdtType":"link","bVisible":true,"orderable":true,"searchable":true,"InputType":"link","name":"cart","origHeader":"cart","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-cart","aTargets":[7]}],"bAutoWidth":false,"order":[[0,"asc"]],"ordering":true,"fixedHeader":{"header":false,"headerOffset":0},"fixedColumns":false,"oLanguage":{"sSearchPlaceholder":""},"buttons":[],"bProcessing":false,"serverSide":true,"ajax":{"url":"https:\/\/www.kern.si\/wp-admin\/admin-ajax.php?action=get_wdtable&table_id=147","type":"POST"},"oSearch":{"bSmart":false,"bRegex":false,"sSearch":""}},"tabletWidth":"1024","mobileWidth":"480","renderFilter":"footer","advancedFilterEnabled":true,"advancedFilterOptions":{"aoColumns":[{"type":"null","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"wdt_ID","displayHeader":"wdt_ID","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_7_0_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"d2","displayHeader":"d2","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_7_1_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"k","displayHeader":"K","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_7_2_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"sw","displayHeader":"SW","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_7_3_filter"},{"type":"select","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":[{"value":"M4","label":"M4"},{"value":"M5","label":"M5"},{"value":"M6","label":"M6"},{"value":"M8","label":"M8"}],"origHeader":"d1","displayHeader":"d1","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_7_4_filter"},{"type":"select","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":[{"value":"8","label":"8"},{"value":"10","label":"10"},{"value":"12","label":"12"},{"value":"16","label":"16"},{"value":"20","label":"20"},{"value":"25","label":"25"},{"value":"30","label":"30"},{"value":"35","label":"35"},{"value":"40","label":"40"},{"value":"45","label":"45"},{"value":"50","label":"50"},{"value":"60","label":"60"}],"origHeader":"l1","displayHeader":"L1","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_7_5_filter"},{"type":"null","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"kodakern","displayHeader":"KERN ID","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_7_6_filter"},{"type":"null","columnType":"link","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"cart","displayHeader":"CART","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"add","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_7_7_filter"}],"bUseColVis":true},"filterInForm":true,"serverSide":true,"autoRefreshInterval":0,"processing":true,"fnServerData":true,"columnsFixed":0,"sumFunctionsLabel":"","avgFunctionsLabel":"","minFunctionsLabel":"","maxFunctionsLabel":"","columnsDecimalPlaces":{"wdt_ID":-1,"d2":-1,"k":-1,"sw":-1,"d1":-1,"l1":-1,"kodakern":-1,"cart":-1},"columnsThousandsSeparator":{"wdt_ID":0,"l1":1},"sumColumns":[],"avgColumns":[],"sumAvgColumns":[],"timeFormat":"h:i A","datepickFormat":"dd\/mm\/yy"}'/>

    <table id="table_7"
           class="  responsive display nowrap data-t data-t wpDataTable wpDataTableID-147"
           style=""
           data-described-by='table_7_desc'
           data-wpdatatable_id="147">
        
        <!-- Table header -->
        
<thead>
<tr>
                    <th
                        class=" wdtheader sort numdata integer "
        style="">wdt_ID</th>        <th
        data-class="expand"                class=" wdtheader sort numdata float "
        style="">d2</th>        <th
                        class=" wdtheader sort numdata float "
        style="">K</th>        <th
                        class=" wdtheader sort numdata float "
        style="">SW</th>        <th
                        class=" wdtheader sort "
        style="">d1</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L1</th>        <th
                        class=" wdtheader sort "
        style="">KERN ID</th>        <th
                        class=" wdtheader sort "
        style="">CART</th>    </tr>
</thead>
        <!-- /Table header -->

        <!-- Table body -->
        
<tbody>
            <tr id="table_147_row_0">
                            <td style="">1</td>
                            <td style="">7,00</td>
                            <td style="">2,80</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">8</td>
                            <td style="">3461.04.08</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_147_row_1">
                            <td style="">2</td>
                            <td style="">7,00</td>
                            <td style="">2,80</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">10</td>
                            <td style="">3461.04.10</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_147_row_2">
                            <td style="">3</td>
                            <td style="">7,00</td>
                            <td style="">2,80</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">12</td>
                            <td style="">3461.04.12</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_147_row_3">
                            <td style="">4</td>
                            <td style="">7,00</td>
                            <td style="">2,80</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">16</td>
                            <td style="">3461.04.16</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_147_row_4">
                            <td style="">5</td>
                            <td style="">7,00</td>
                            <td style="">2,80</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">20</td>
                            <td style="">3461.04.20</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_147_row_5">
                            <td style="">6</td>
                            <td style="">7,00</td>
                            <td style="">2,80</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">25</td>
                            <td style="">3461.04.25</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_147_row_6">
                            <td style="">7</td>
                            <td style="">7,00</td>
                            <td style="">2,80</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">30</td>
                            <td style="">3461.04.30</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_147_row_7">
                            <td style="">8</td>
                            <td style="">8,50</td>
                            <td style="">3,50</td>
                            <td style="">3,00</td>
                            <td style="">M5</td>
                            <td style="">8</td>
                            <td style="">3461.05.08</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_147_row_8">
                            <td style="">9</td>
                            <td style="">8,50</td>
                            <td style="">3,50</td>
                            <td style="">3,00</td>
                            <td style="">M5</td>
                            <td style="">10</td>
                            <td style="">3461.05.10</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_147_row_9">
                            <td style="">10</td>
                            <td style="">8,50</td>
                            <td style="">3,50</td>
                            <td style="">3,00</td>
                            <td style="">M5</td>
                            <td style="">12</td>
                            <td style="">3461.05.12</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
    </tbody>        <!-- /Table body -->

        <!-- Table footer -->
        
    <tfoot>
                <tr style="display: none">
                            <td
                class="wdtheader sort numdata integer "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort "
                style="">d1</td>                <td
                class="wdtheader sort numdata integer "
                style="">L1</td>                <td
                class="wdtheader sort "
                style=""></td>                <td
                class="wdtheader sort "
                style=""></td>        </tr>
                            </tfoot>
        <!-- /Table footer -->
    </table>

</div><style>
table.wpDataTable { table-layout: fixed !important; }
table.wpDataTable td, table.wpDataTable th { white-space: normal !important; }
.buy-now {
background-color: #4b91c8;
color: white !important;
}

.column-cart{
text-align: center !important;
}

.column-cart1{
text-align: center !important;
}

.remove-item {
	font-size: xx-large;
    margin-left: 20px;
    margin-right: 20px;
}

.remove-item:hover {
    cursor: pointer;
    color:red;
}table.wpDataTable td.numdata { text-align: right !important; }
</style>
<script>hasdone = 0;

jQuery(window).load(function () {

    getTables = [];
    let tables = document.getElementsByClassName('wpDataTable');
    Array.prototype.forEach.call(tables, function (table) {
        let id = table.id;
        if (!getTables.includes(id)) {
            getTables.push(id);
        }
    });

    let go = getTables[hasdone];
    hasdone++;

    wpDataTables['' + go].addOnDrawCallback(
        function () {

            let tab = document.getElementById(go);
            var els = '';
            if (tab.getElementsByClassName('  column-cart')[0]) {
                els = tab.getElementsByClassName('  column-cart')
            } else if (tab.getElementsByClassName('  column-cart1')[0]) {
                els = tab.getElementsByClassName('  column-cart1')
            }
            if (els[0] != undefined) {
                els[0].innerHTML = '';
            }
            Array.prototype.forEach.call(els, function (el) {
                let cart = [];

                if (localStorage.getItem('cart') != null) {
                    cart = JSON.parse(localStorage.getItem('cart'));
                    let kern_code = '';

                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }
                    cart.forEach(function (code) {
                        if (code === kern_code) {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                        }
                    });
                } else {
                    localStorage.setItem('cart', JSON.stringify(cart));
                }

                if (el.firstChild != null) {
                    // console.log(el.firstChild.firstChild)
                    if (el.firstChild.firstChild != null) {
                        el.firstChild.firstChild.innerHTML = '';
                        var icon = document.createElement('i');
                        // icon.classList.add("cspt-base-icon-shopping-basket");
                        // icon.classList.add("cspt-base-icon-shopping-bag");
                        // icon.classList.add("cspt-base-icon-shopping-bag-1");
                        icon.classList.add('cspt-base-icon-supermarket');

                        icon.classList.add('cspt-base-icon-plus');

                        el.firstChild.firstChild.appendChild(icon);
                    }

                    el.firstChild.href = 'javascript:;';
                    el.firstChild.target = '';

                    el.addEventListener('click', function () {
                        myFunction(el);
                    });
                }

                function myFunction(el) {
                    // console.log('element', el);
                    // console.log('element FIRST CHILD', el.firstChild.firstChild);
                    let kern_code = '';
                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }

                    if (localStorage.getItem('cart') != null) {
                        let cart = JSON.parse(localStorage.getItem('cart'));
                        if (cart.includes(kern_code)) {
                            cart = cart.filter(function (value, index, arr) {
                                return value !== kern_code;
                            });
                            el.firstChild.firstChild.style = 'background-color: #4b91c8';
                        } else {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                            cart.push(kern_code);
                        }

                        localStorage.setItem('cart', JSON.stringify(cart));
                    } else {
                        localStorage.setItem('cart', JSON.stringify([kern_code]));
                    }

                    updateKosarica();
                }

                function updateKosarica() {

                    let cart = [];

                    var tableParent = document.createElement('div');

                    if (localStorage.getItem('cart') != null && JSON.parse(localStorage.getItem('cart')).length !== 0) {

                        cart = JSON.parse(localStorage.getItem('cart'));

                        var table = document.createElement('div');

                        cart.forEach(function (code) {

                            var row = document.createElement('div');
                            row.classList.add('cart-data-row');
                            row.setAttribute('style', 'display:flex;justify-content: space-between;padding-bottom:10px;align-items: center;');
                            var node1 = document.createElement('div');
                            node1.setAttribute('style', 'font-weight: 500');
                            var input = document.createElement('input');
                            input.setAttribute('type', 'number');
                            row.appendChild(node1).innerHTML = code;
                            var qtyContainer = document.createElement('div');
                            qtyContainer.setAttribute('style', 'display: flex;align-items: center;');
                            qtyContainer.appendChild(input);
                            input.setAttribute('value', '1');
                            input.setAttribute('style', 'font-weight: 500;text-align: center;background-color: aliceblue;');
                            let removeItem = document.createElement('span');
                            removeItem.innerHTML = '×';
                            removeItem.classList.add('remove-item');
                            removeItem.addEventListener('click', function () {
                                removeItemFromLocalStorage(code);
                            });
                            qtyContainer.appendChild(removeItem);
                            row.appendChild(qtyContainer);
                            table.appendChild(row);


                        });
                        tableParent.appendChild(table);

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';
                        modal.getElementsByClassName('modal-body')[0].setAttribute('style', 'overflow: auto;max-height:500px');
                        modal.getElementsByClassName('modal-body')[0].appendChild(tableParent);


                        // // handle remove item btn
                        // var items = document.getElementsByClassName("remove-item");
                        // Array.from(items).forEach(function (element) {
                        //     let code = element.parentElement.parentElement.firstChild.innerHTML;
                        //     element.addEventListener("click", function () {
                        //         removeItemFromLocalStorage(code)
                        //     });
                        // });

                        function removeItemFromLocalStorage(kern_code) {
                            console.log('kern_code', kern_code);
                            if (localStorage.getItem('cart') != null) {
                                let cart = JSON.parse(localStorage.getItem('cart'));
                                if (cart.includes(kern_code)) {
                                    cart = cart.filter(function (value, index, arr) {
                                        return value !== kern_code;
                                    });
                                }
                                localStorage.setItem('cart', JSON.stringify(cart));
                            }
                            updateKosarica();
                        }


                    } else {

                        var noProducts = document.createElement('div');
                        noProducts.innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].appendChild(noProducts);

                    }

                }

            });

        });

});</script><style>
</style>


		</div>
	</div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>

</div>
</div><p>The post <a href="https://www.kern.si/en/3461-0/">3461 Cylinder low head cap screws, DIN7984</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>3462 Countersunk head cap screws, ISO10642, DIN7991</title>
		<link>https://www.kern.si/en/3462-0/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Sep 2019 09:45:15 +0000</pubDate>
				<category><![CDATA[Accessories]]></category>
		<guid isPermaLink="false">https://beta.webis.si/kern/3462-0/</guid>

					<description><![CDATA[<p>The post <a href="https://www.kern.si/en/3462-0/">3462 Countersunk head cap screws, ISO10642, DIN7991</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-6 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_raw_code wpb_content_element wpb_raw_html" >
		<div class="wpb_wrapper">
			<img decoding="async" class="svg-kern" alt="alt-text" width="500" src="http://kern.angelis.si/wp-content/uploads/2017/06/3462.svg" />
		</div>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<div class="vc_single_image-wrapper   vc_box_border_grey"><img loading="lazy" decoding="async" width="300" height="300" src="https://www.kern.si/wp-content/uploads/2019/09/3462-1-300x3001.png" class="vc_single_image-img attachment-medium" alt="" title="3462-1-300x300[1]" srcset="https://www.kern.si/wp-content/uploads/2019/09/3462-1-300x3001.png 300w, https://www.kern.si/wp-content/uploads/2019/09/3462-1-300x3001-150x150.png 150w, https://www.kern.si/wp-content/uploads/2019/09/3462-1-300x3001-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" data-id="18929" /></div>
		</figure>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-2 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.si/wp-content/uploads/2017/06/3461-3462.pdf" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-file-pdf-o"></i> PDF</span></a></div>
<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.partcommunity.com/3d-cad-models/3462-countersunk-head-cap-screws-kern/?info=kern%2Fdies%2Faccessories%2F3462.prj" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-download"></i> 3D</span></a></div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
<div class="wpdt-c wdt-skin-light">
    

    <div class="wpDataTables wpDataTablesFilter wpDataTablesWrapper wdt-skin-light data-t"
         data-wpdatatable_id="148">
        <div id="filterBox_table_8" class="wpDataTableFilterBox">
                                                                                                                                                                <div class="wpDataTableFilterSection" id="table_8_4_filter_sections">
                        <label>d1:</label>
                        <div id="table_8_4_filter"></div>
                    </div>
                                                                <div class="wpDataTableFilterSection" id="table_8_5_filter_sections">
                        <label>L1:</label>
                        <div id="table_8_5_filter"></div>
                    </div>
                                                                                                        </div>
    </div>
<input type="hidden" id="wdtNonceFrontendEdit_148" name="wdtNonceFrontendEdit_148" value="b1fcdb6da5" /><input type="hidden" name="_wp_http_referer" value="/en/category/accessories-en/feed/" />    <input type="hidden" id="table_8_desc"
           value='{"tableId":"table_8","tableType":"manual","selector":"#table_8","responsive":true,"responsiveAction":"icon","editable":false,"inlineEditing":false,"infoBlock":true,"pagination":true,"paginationAlign":"right","paginationLayout":"full_numbers","paginationLayoutMobile":"simple","file_location":"","tableSkin":"light","table_wcag":0,"scrollable":false,"globalSearch":true,"showRowsPerPage":true,"popoverTools":false,"hideBeforeLoad":false,"number_format":1,"decimalPlaces":2,"spinnerSrc":"https:\/\/www.kern.si\/wp-content\/plugins\/wpdatatables\/assets\/\/img\/spinner.gif","groupingEnabled":false,"tableWpId":148,"dataTableParams":{"sDom":"BT\u003C\u0027clear\u0027\u003Elftip","bSortCellsTop":false,"bFilter":true,"bPaginate":true,"sPaginationType":"full_numbers","aLengthMenu":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,"All"]],"iDisplayLength":10,"columnDefs":[{"sType":"formatted-num","wdtType":"int","bVisible":false,"orderable":true,"searchable":true,"InputType":"text","name":"wdt_ID","origHeader":"wdt_ID","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-wdt_id","aTargets":[0]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d2","origHeader":"d2","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-d2","aTargets":[1]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"k","origHeader":"k","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-k","aTargets":[2]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"sw","origHeader":"sw","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-sw","aTargets":[3]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d1","origHeader":"d1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-d1","aTargets":[4]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l1","origHeader":"l1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l1","aTargets":[5]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"kodakern","origHeader":"kodakern","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-kodakern","sWidth":"120","aTargets":[6]},{"sType":"string","wdtType":"link","bVisible":true,"orderable":true,"searchable":true,"InputType":"link","name":"cart","origHeader":"cart","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-cart","aTargets":[7]}],"bAutoWidth":false,"order":[[0,"asc"]],"ordering":true,"fixedHeader":{"header":false,"headerOffset":0},"fixedColumns":false,"oLanguage":{"sSearchPlaceholder":""},"buttons":[],"bProcessing":false,"serverSide":true,"ajax":{"url":"https:\/\/www.kern.si\/wp-admin\/admin-ajax.php?action=get_wdtable&table_id=148","type":"POST"},"oSearch":{"bSmart":false,"bRegex":false,"sSearch":""}},"tabletWidth":"1024","mobileWidth":"480","renderFilter":"footer","advancedFilterEnabled":true,"advancedFilterOptions":{"aoColumns":[{"type":"null","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"wdt_ID","displayHeader":"wdt_ID","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_8_0_filter"},{"type":"null","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"d2","displayHeader":"d2","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_8_1_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"k","displayHeader":"K","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_8_2_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"sw","displayHeader":"SW","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_8_3_filter"},{"type":"select","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":[{"value":"M4","label":"M4"},{"value":"M5","label":"M5"},{"value":"M6","label":"M6"},{"value":"M8","label":"M8"}],"origHeader":"d1","displayHeader":"d1","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_8_4_filter"},{"type":"select","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":[{"value":"0","label":"0"},{"value":"8","label":"8"},{"value":"10","label":"10"},{"value":"12","label":"12"},{"value":"16","label":"16"},{"value":"20","label":"20"},{"value":"25","label":"25"},{"value":"30","label":"30"},{"value":"35","label":"35"},{"value":"40","label":"40"},{"value":"45","label":"45"},{"value":"50","label":"50"}],"origHeader":"l1","displayHeader":"L1","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_8_5_filter"},{"type":"null","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"kodakern","displayHeader":"KERN ID","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_8_6_filter"},{"type":"null","columnType":"link","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"cart","displayHeader":"CART","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"add","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_8_7_filter"}],"bUseColVis":true},"filterInForm":true,"serverSide":true,"autoRefreshInterval":0,"processing":true,"fnServerData":true,"columnsFixed":0,"sumFunctionsLabel":"","avgFunctionsLabel":"","minFunctionsLabel":"","maxFunctionsLabel":"","columnsDecimalPlaces":{"wdt_ID":-1,"d2":-1,"k":-1,"sw":-1,"d1":-1,"l1":-1,"kodakern":-1,"cart":-1},"columnsThousandsSeparator":{"wdt_ID":0,"d2":1,"l1":1},"sumColumns":[],"avgColumns":[],"sumAvgColumns":[],"timeFormat":"h:i A","datepickFormat":"dd\/mm\/yy"}'/>

    <table id="table_8"
           class="  responsive display nowrap data-t data-t wpDataTable wpDataTableID-148"
           style=""
           data-described-by='table_8_desc'
           data-wpdatatable_id="148">
        
        <!-- Table header -->
        
<thead>
<tr>
                    <th
                        class=" wdtheader sort numdata integer "
        style="">wdt_ID</th>        <th
        data-class="expand"                class=" wdtheader sort numdata integer "
        style="">d2</th>        <th
                        class=" wdtheader sort numdata float "
        style="">K</th>        <th
                        class=" wdtheader sort numdata float "
        style="">SW</th>        <th
                        class=" wdtheader sort "
        style="">d1</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L1</th>        <th
                        class=" wdtheader sort "
        style="">KERN ID</th>        <th
                        class=" wdtheader sort "
        style="">CART</th>    </tr>
</thead>
        <!-- /Table header -->

        <!-- Table body -->
        
<tbody>
            <tr id="table_148_row_0">
                            <td style="">1</td>
                            <td style="">8</td>
                            <td style="">2,30</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">8</td>
                            <td style="">3462.04.08</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_148_row_1">
                            <td style="">2</td>
                            <td style="">8</td>
                            <td style="">2,30</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">10</td>
                            <td style="">3462.04.10</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_148_row_2">
                            <td style="">3</td>
                            <td style="">8</td>
                            <td style="">2,30</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">12</td>
                            <td style="">3462.04.12</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_148_row_3">
                            <td style="">4</td>
                            <td style="">8</td>
                            <td style="">2,30</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">16</td>
                            <td style="">3462.04.16</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_148_row_4">
                            <td style="">5</td>
                            <td style="">8</td>
                            <td style="">2,30</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">20</td>
                            <td style="">3462.04.20</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_148_row_5">
                            <td style="">6</td>
                            <td style="">8</td>
                            <td style="">2,30</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">25</td>
                            <td style="">3462.04.25</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_148_row_6">
                            <td style="">7</td>
                            <td style="">8</td>
                            <td style="">2,30</td>
                            <td style="">2,50</td>
                            <td style="">M4</td>
                            <td style="">30</td>
                            <td style="">3462.04.30</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_148_row_7">
                            <td style="">8</td>
                            <td style="">10</td>
                            <td style="">2,80</td>
                            <td style="">3,00</td>
                            <td style="">M5</td>
                            <td style="">10</td>
                            <td style="">3462.05.10</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_148_row_8">
                            <td style="">9</td>
                            <td style="">10</td>
                            <td style="">2,80</td>
                            <td style="">3,00</td>
                            <td style="">M5</td>
                            <td style="">12</td>
                            <td style="">3462.05.12</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_148_row_9">
                            <td style="">10</td>
                            <td style="">10</td>
                            <td style="">2,80</td>
                            <td style="">3,00</td>
                            <td style="">M5</td>
                            <td style="">16</td>
                            <td style="">3462.05.16</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
    </tbody>        <!-- /Table body -->

        <!-- Table footer -->
        
    <tfoot>
                <tr style="display: none">
                            <td
                class="wdtheader sort numdata integer "
                style=""></td>                <td
                class="wdtheader sort numdata integer "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort "
                style="">d1</td>                <td
                class="wdtheader sort numdata integer "
                style="">L1</td>                <td
                class="wdtheader sort "
                style=""></td>                <td
                class="wdtheader sort "
                style=""></td>        </tr>
                            </tfoot>
        <!-- /Table footer -->
    </table>

</div><style>
table.wpDataTable { table-layout: fixed !important; }
table.wpDataTable td, table.wpDataTable th { white-space: normal !important; }
.buy-now {
background-color: #4b91c8;
color: white !important;
}

.column-cart{
text-align: center !important;
}

.column-cart1{
text-align: center !important;
}

.remove-item {
	font-size: xx-large;
    margin-left: 20px;
    margin-right: 20px;
}

.remove-item:hover {
    cursor: pointer;
    color:red;
}table.wpDataTable td.numdata { text-align: right !important; }
</style>
<script>hasdone = 0;

jQuery(window).load(function () {

    getTables = [];
    let tables = document.getElementsByClassName('wpDataTable');
    Array.prototype.forEach.call(tables, function (table) {
        let id = table.id;
        if (!getTables.includes(id)) {
            getTables.push(id);
        }
    });

    let go = getTables[hasdone];
    hasdone++;

    wpDataTables['' + go].addOnDrawCallback(
        function () {

            let tab = document.getElementById(go);
            var els = '';
            if (tab.getElementsByClassName('  column-cart')[0]) {
                els = tab.getElementsByClassName('  column-cart')
            } else if (tab.getElementsByClassName('  column-cart1')[0]) {
                els = tab.getElementsByClassName('  column-cart1')
            }
            if (els[0] != undefined) {
                els[0].innerHTML = '';
            }
            Array.prototype.forEach.call(els, function (el) {
                let cart = [];

                if (localStorage.getItem('cart') != null) {
                    cart = JSON.parse(localStorage.getItem('cart'));
                    let kern_code = '';

                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }
                    cart.forEach(function (code) {
                        if (code === kern_code) {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                        }
                    });
                } else {
                    localStorage.setItem('cart', JSON.stringify(cart));
                }

                if (el.firstChild != null) {
                    // console.log(el.firstChild.firstChild)
                    if (el.firstChild.firstChild != null) {
                        el.firstChild.firstChild.innerHTML = '';
                        var icon = document.createElement('i');
                        // icon.classList.add("cspt-base-icon-shopping-basket");
                        // icon.classList.add("cspt-base-icon-shopping-bag");
                        // icon.classList.add("cspt-base-icon-shopping-bag-1");
                        icon.classList.add('cspt-base-icon-supermarket');

                        icon.classList.add('cspt-base-icon-plus');

                        el.firstChild.firstChild.appendChild(icon);
                    }

                    el.firstChild.href = 'javascript:;';
                    el.firstChild.target = '';

                    el.addEventListener('click', function () {
                        myFunction(el);
                    });
                }

                function myFunction(el) {
                    // console.log('element', el);
                    // console.log('element FIRST CHILD', el.firstChild.firstChild);
                    let kern_code = '';
                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }

                    if (localStorage.getItem('cart') != null) {
                        let cart = JSON.parse(localStorage.getItem('cart'));
                        if (cart.includes(kern_code)) {
                            cart = cart.filter(function (value, index, arr) {
                                return value !== kern_code;
                            });
                            el.firstChild.firstChild.style = 'background-color: #4b91c8';
                        } else {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                            cart.push(kern_code);
                        }

                        localStorage.setItem('cart', JSON.stringify(cart));
                    } else {
                        localStorage.setItem('cart', JSON.stringify([kern_code]));
                    }

                    updateKosarica();
                }

                function updateKosarica() {

                    let cart = [];

                    var tableParent = document.createElement('div');

                    if (localStorage.getItem('cart') != null && JSON.parse(localStorage.getItem('cart')).length !== 0) {

                        cart = JSON.parse(localStorage.getItem('cart'));

                        var table = document.createElement('div');

                        cart.forEach(function (code) {

                            var row = document.createElement('div');
                            row.classList.add('cart-data-row');
                            row.setAttribute('style', 'display:flex;justify-content: space-between;padding-bottom:10px;align-items: center;');
                            var node1 = document.createElement('div');
                            node1.setAttribute('style', 'font-weight: 500');
                            var input = document.createElement('input');
                            input.setAttribute('type', 'number');
                            row.appendChild(node1).innerHTML = code;
                            var qtyContainer = document.createElement('div');
                            qtyContainer.setAttribute('style', 'display: flex;align-items: center;');
                            qtyContainer.appendChild(input);
                            input.setAttribute('value', '1');
                            input.setAttribute('style', 'font-weight: 500;text-align: center;background-color: aliceblue;');
                            let removeItem = document.createElement('span');
                            removeItem.innerHTML = '×';
                            removeItem.classList.add('remove-item');
                            removeItem.addEventListener('click', function () {
                                removeItemFromLocalStorage(code);
                            });
                            qtyContainer.appendChild(removeItem);
                            row.appendChild(qtyContainer);
                            table.appendChild(row);


                        });
                        tableParent.appendChild(table);

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';
                        modal.getElementsByClassName('modal-body')[0].setAttribute('style', 'overflow: auto;max-height:500px');
                        modal.getElementsByClassName('modal-body')[0].appendChild(tableParent);


                        // // handle remove item btn
                        // var items = document.getElementsByClassName("remove-item");
                        // Array.from(items).forEach(function (element) {
                        //     let code = element.parentElement.parentElement.firstChild.innerHTML;
                        //     element.addEventListener("click", function () {
                        //         removeItemFromLocalStorage(code)
                        //     });
                        // });

                        function removeItemFromLocalStorage(kern_code) {
                            console.log('kern_code', kern_code);
                            if (localStorage.getItem('cart') != null) {
                                let cart = JSON.parse(localStorage.getItem('cart'));
                                if (cart.includes(kern_code)) {
                                    cart = cart.filter(function (value, index, arr) {
                                        return value !== kern_code;
                                    });
                                }
                                localStorage.setItem('cart', JSON.stringify(cart));
                            }
                            updateKosarica();
                        }


                    } else {

                        var noProducts = document.createElement('div');
                        noProducts.innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].appendChild(noProducts);

                    }

                }

            });

        });

});</script><style>
</style>


		</div>
	</div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>

</div>
</div><p>The post <a href="https://www.kern.si/en/3462-0/">3462 Countersunk head cap screws, ISO10642, DIN7991</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>3463 Locking screws with engaged surface, ISO4028, DIN915</title>
		<link>https://www.kern.si/en/3463-0/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 24 Sep 2019 09:45:15 +0000</pubDate>
				<category><![CDATA[Accessories]]></category>
		<guid isPermaLink="false">https://beta.webis.si/kern/3463-0/</guid>

					<description><![CDATA[<p>The post <a href="https://www.kern.si/en/3463-0/">3463 Locking screws with engaged surface, ISO4028, DIN915</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-6 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_raw_code wpb_content_element wpb_raw_html" >
		<div class="wpb_wrapper">
			<img decoding="async" class="svg-kern" alt="alt-text" width="500" src="http://kern.angelis.si/wp-content/uploads/2017/06/3463.svg" />
		</div>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-4 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<div class="vc_single_image-wrapper   vc_box_border_grey"><img loading="lazy" decoding="async" width="300" height="300" src="https://www.kern.si/wp-content/uploads/2019/09/3463-1-300x3001.png" class="vc_single_image-img attachment-medium" alt="" title="3463-1-300x300[1]" srcset="https://www.kern.si/wp-content/uploads/2019/09/3463-1-300x3001.png 300w, https://www.kern.si/wp-content/uploads/2019/09/3463-1-300x3001-150x150.png 150w, https://www.kern.si/wp-content/uploads/2019/09/3463-1-300x3001-100x100.png 100w" sizes="(max-width: 300px) 100vw, 300px" data-id="18944" /></div>
		</figure>
	</div>
		</div>

	</div>
</div>


<div class="wpb_column vc_column_container vc_col-sm-2 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.si/wp-content/uploads/2017/06/3463-3464.pdf" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-file-pdf-o"></i> PDF</span></a></div>
<div class="vc_btn3-container vc_btn3-center" >
	<a class="vc_general vc_btn3 vc_btn3-size-md vc_btn3-shape-rounded vc_btn3-style-custom vc_btn3-icon-left" href="http://kern.partcommunity.com/3d-cad-models/3463-locking-screws-with-engaged-surface-kern/?info=kern%2Fdies%2Faccessories%2F3463.prj" title="" target="_blank"><span><i class="vc_btn3-icon fa fa-download"></i> 3D</span></a></div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
			
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
<div class="wpdt-c wdt-skin-light">
    

    <div class="wpDataTables wpDataTablesFilter wpDataTablesWrapper wdt-skin-light data-t"
         data-wpdatatable_id="149">
        <div id="filterBox_table_9" class="wpDataTableFilterBox">
                                                                                                                                                                <div class="wpDataTableFilterSection" id="table_9_4_filter_sections">
                        <label>d1:</label>
                        <div id="table_9_4_filter"></div>
                    </div>
                                                                <div class="wpDataTableFilterSection" id="table_9_5_filter_sections">
                        <label>L1:</label>
                        <div id="table_9_5_filter"></div>
                    </div>
                                                                                                        </div>
    </div>
<input type="hidden" id="wdtNonceFrontendEdit_149" name="wdtNonceFrontendEdit_149" value="49b05837bd" /><input type="hidden" name="_wp_http_referer" value="/en/category/accessories-en/feed/" />    <input type="hidden" id="table_9_desc"
           value='{"tableId":"table_9","tableType":"manual","selector":"#table_9","responsive":true,"responsiveAction":"icon","editable":false,"inlineEditing":false,"infoBlock":true,"pagination":true,"paginationAlign":"right","paginationLayout":"full_numbers","paginationLayoutMobile":"simple","file_location":"","tableSkin":"light","table_wcag":0,"scrollable":false,"globalSearch":true,"showRowsPerPage":true,"popoverTools":false,"hideBeforeLoad":false,"number_format":1,"decimalPlaces":2,"spinnerSrc":"https:\/\/www.kern.si\/wp-content\/plugins\/wpdatatables\/assets\/\/img\/spinner.gif","groupingEnabled":false,"tableWpId":149,"dataTableParams":{"sDom":"BT\u003C\u0027clear\u0027\u003Elftip","bSortCellsTop":false,"bFilter":true,"bPaginate":true,"sPaginationType":"full_numbers","aLengthMenu":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,"All"]],"iDisplayLength":10,"columnDefs":[{"sType":"formatted-num","wdtType":"int","bVisible":false,"orderable":true,"searchable":true,"InputType":"text","name":"wdt_ID","origHeader":"wdt_ID","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-wdt_id","aTargets":[0]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"z","origHeader":"z","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-z","aTargets":[1]},{"sType":"formatted-num","wdtType":"float","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"dp","origHeader":"dp","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata float  column-dp","aTargets":[2]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"sw","origHeader":"sw","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-sw","aTargets":[3]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"d1","origHeader":"d1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-d1","aTargets":[4]},{"sType":"formatted-num","wdtType":"int","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"l1","origHeader":"l1","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":"numdata integer  column-l1","aTargets":[5]},{"sType":"string","wdtType":"string","bVisible":true,"orderable":true,"searchable":true,"InputType":"text","name":"kodakern","origHeader":"kodakern","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-kodakern","aTargets":[6]},{"sType":"string","wdtType":"link","bVisible":true,"orderable":true,"searchable":true,"InputType":"link","name":"cart","origHeader":"cart","notNull":false,"conditionalFormattingRules":[],"transformValueRules":"","className":" column-cart","aTargets":[7]}],"bAutoWidth":false,"order":[[0,"asc"]],"ordering":true,"fixedHeader":{"header":false,"headerOffset":0},"fixedColumns":false,"oLanguage":{"sSearchPlaceholder":""},"buttons":[],"bProcessing":false,"serverSide":true,"ajax":{"url":"https:\/\/www.kern.si\/wp-admin\/admin-ajax.php?action=get_wdtable&table_id=149","type":"POST"},"oSearch":{"bSmart":false,"bRegex":false,"sSearch":""}},"tabletWidth":"1024","mobileWidth":"480","renderFilter":"footer","advancedFilterEnabled":true,"advancedFilterOptions":{"aoColumns":[{"type":"null","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"wdt_ID","displayHeader":"wdt_ID","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_9_0_filter"},{"type":"null","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"z","displayHeader":"Z","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_9_1_filter"},{"type":"null","columnType":"float","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"dp","displayHeader":"dp","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_9_2_filter"},{"type":"null","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"sw","displayHeader":"SW","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_9_3_filter"},{"type":"select","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":[{"value":"M10","label":"M10"},{"value":"M12","label":"M12"},{"value":"M16","label":"M16"},{"value":"M4","label":"M4"},{"value":"M6","label":"M6"},{"value":"M8","label":"M8"}],"origHeader":"d1","displayHeader":"d1","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_9_4_filter"},{"type":"select","columnType":"int","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":[{"value":"10","label":"10"},{"value":"12","label":"12"},{"value":"16","label":"16"},{"value":"20","label":"20"},{"value":"25","label":"25"},{"value":"30","label":"30"},{"value":"40","label":"40"},{"value":"50","label":"50"},{"value":"60","label":"60"}],"origHeader":"l1","displayHeader":"L1","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_9_5_filter"},{"type":"null","columnType":"string","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"kodakern","displayHeader":"KERN ID","possibleValuesAddEmpty":false,"possibleValuesAjax":10,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_9_6_filter"},{"type":"null","columnType":"link","numberOfDecimalPlaces":"2","possibleValuesType":"read","globalSearchColumn":1,"values":null,"origHeader":"cart","displayHeader":"CART","possibleValuesAddEmpty":false,"possibleValuesAjax":-1,"column_align_fields":"","defaultValue":"","column_align_header":"","column_rotate_header_name":"","exactFiltering":false,"filterLabel":"","searchInSelectBox":1,"searchInSelectBoxEditing":1,"checkboxesInModal":0,"andLogic":0,"linkButtonLabel":"add","rangeSlider":false,"rangeMaxValueDisplay":"0","customMaxRangeValue":"0","sSelector":"#table_9_7_filter"}],"bUseColVis":true},"filterInForm":true,"serverSide":true,"autoRefreshInterval":0,"processing":true,"fnServerData":true,"columnsFixed":0,"sumFunctionsLabel":"","avgFunctionsLabel":"","minFunctionsLabel":"","maxFunctionsLabel":"","columnsDecimalPlaces":{"wdt_ID":-1,"z":-1,"dp":-1,"sw":-1,"d1":-1,"l1":-1,"kodakern":-1,"cart":-1},"columnsThousandsSeparator":{"wdt_ID":0,"z":1,"sw":1,"l1":1},"sumColumns":[],"avgColumns":[],"sumAvgColumns":[],"timeFormat":"h:i A","datepickFormat":"dd\/mm\/yy"}'/>

    <table id="table_9"
           class="  responsive display nowrap data-t data-t wpDataTable wpDataTableID-149"
           style=""
           data-described-by='table_9_desc'
           data-wpdatatable_id="149">
        
        <!-- Table header -->
        
<thead>
<tr>
                    <th
                        class=" wdtheader sort numdata integer "
        style="">wdt_ID</th>        <th
        data-class="expand"                class=" wdtheader sort numdata integer "
        style="">Z</th>        <th
                        class=" wdtheader sort numdata float "
        style="">dp</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">SW</th>        <th
                        class=" wdtheader sort "
        style="">d1</th>        <th
                        class=" wdtheader sort numdata integer "
        style="">L1</th>        <th
                        class=" wdtheader sort "
        style="">KERN ID</th>        <th
                        class=" wdtheader sort "
        style="">CART</th>    </tr>
</thead>
        <!-- /Table header -->

        <!-- Table body -->
        
<tbody>
            <tr id="table_149_row_0">
                            <td style="">1</td>
                            <td style="">2</td>
                            <td style="">2,50</td>
                            <td style="">2</td>
                            <td style="">M4</td>
                            <td style="">10</td>
                            <td style="">3463.04.010</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_149_row_1">
                            <td style="">2</td>
                            <td style="">3</td>
                            <td style="">4,00</td>
                            <td style="">3</td>
                            <td style="">M6</td>
                            <td style="">12</td>
                            <td style="">3463.06.012</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_149_row_2">
                            <td style="">3</td>
                            <td style="">3</td>
                            <td style="">4,00</td>
                            <td style="">3</td>
                            <td style="">M6</td>
                            <td style="">16</td>
                            <td style="">3463.06.016</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_149_row_3">
                            <td style="">4</td>
                            <td style="">3</td>
                            <td style="">4,00</td>
                            <td style="">3</td>
                            <td style="">M6</td>
                            <td style="">20</td>
                            <td style="">3463.06.020</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_149_row_4">
                            <td style="">5</td>
                            <td style="">3</td>
                            <td style="">4,00</td>
                            <td style="">3</td>
                            <td style="">M6</td>
                            <td style="">25</td>
                            <td style="">3463.06.025</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_149_row_5">
                            <td style="">6</td>
                            <td style="">4</td>
                            <td style="">5,50</td>
                            <td style="">4</td>
                            <td style="">M8</td>
                            <td style="">16</td>
                            <td style="">3463.08.016</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_149_row_6">
                            <td style="">7</td>
                            <td style="">4</td>
                            <td style="">5,50</td>
                            <td style="">4</td>
                            <td style="">M8</td>
                            <td style="">20</td>
                            <td style="">3463.08.020</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_149_row_7">
                            <td style="">8</td>
                            <td style="">4</td>
                            <td style="">5,50</td>
                            <td style="">4</td>
                            <td style="">M8</td>
                            <td style="">25</td>
                            <td style="">3463.08.025</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_149_row_8">
                            <td style="">9</td>
                            <td style="">4</td>
                            <td style="">5,50</td>
                            <td style="">4</td>
                            <td style="">M8</td>
                            <td style="">30</td>
                            <td style="">3463.08.030</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
                <tr id="table_149_row_9">
                            <td style="">10</td>
                            <td style="">5</td>
                            <td style="">7,00</td>
                            <td style="">5</td>
                            <td style="">M10</td>
                            <td style="">20</td>
                            <td style="">3463.10.020</td>
                            <td style=""><a href='add' rel='' target='_blank'><button class='buy-now'>add</button></a></td>
                    </tr>
    </tbody>        <!-- /Table body -->

        <!-- Table footer -->
        
    <tfoot>
                <tr style="display: none">
                            <td
                class="wdtheader sort numdata integer "
                style=""></td>                <td
                class="wdtheader sort numdata integer "
                style=""></td>                <td
                class="wdtheader sort numdata float "
                style=""></td>                <td
                class="wdtheader sort numdata integer "
                style=""></td>                <td
                class="wdtheader sort "
                style="">d1</td>                <td
                class="wdtheader sort numdata integer "
                style="">L1</td>                <td
                class="wdtheader sort "
                style=""></td>                <td
                class="wdtheader sort "
                style=""></td>        </tr>
                            </tfoot>
        <!-- /Table footer -->
    </table>

</div><style>
table.wpDataTable { table-layout: fixed !important; }
table.wpDataTable td, table.wpDataTable th { white-space: normal !important; }
.buy-now {
background-color: #4b91c8;
color: white !important;
}

.column-cart{
text-align: center !important;
}

.column-cart1{
text-align: center !important;
}

.remove-item {
	font-size: xx-large;
    margin-left: 20px;
    margin-right: 20px;
}

.remove-item:hover {
    cursor: pointer;
    color:red;
}table.wpDataTable td.numdata { text-align: right !important; }
</style>
<script>hasdone = 0;

jQuery(window).load(function () {

    getTables = [];
    let tables = document.getElementsByClassName('wpDataTable');
    Array.prototype.forEach.call(tables, function (table) {
        let id = table.id;
        if (!getTables.includes(id)) {
            getTables.push(id);
        }
    });

    let go = getTables[hasdone];
    hasdone++;

    wpDataTables['' + go].addOnDrawCallback(
        function () {

            let tab = document.getElementById(go);
            var els = '';
            if (tab.getElementsByClassName('  column-cart')[0]) {
                els = tab.getElementsByClassName('  column-cart')
            } else if (tab.getElementsByClassName('  column-cart1')[0]) {
                els = tab.getElementsByClassName('  column-cart1')
            }
            if (els[0] != undefined) {
                els[0].innerHTML = '';
            }
            Array.prototype.forEach.call(els, function (el) {
                let cart = [];

                if (localStorage.getItem('cart') != null) {
                    cart = JSON.parse(localStorage.getItem('cart'));
                    let kern_code = '';

                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }
                    cart.forEach(function (code) {
                        if (code === kern_code) {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                        }
                    });
                } else {
                    localStorage.setItem('cart', JSON.stringify(cart));
                }

                if (el.firstChild != null) {
                    // console.log(el.firstChild.firstChild)
                    if (el.firstChild.firstChild != null) {
                        el.firstChild.firstChild.innerHTML = '';
                        var icon = document.createElement('i');
                        // icon.classList.add("cspt-base-icon-shopping-basket");
                        // icon.classList.add("cspt-base-icon-shopping-bag");
                        // icon.classList.add("cspt-base-icon-shopping-bag-1");
                        icon.classList.add('cspt-base-icon-supermarket');

                        icon.classList.add('cspt-base-icon-plus');

                        el.firstChild.firstChild.appendChild(icon);
                    }

                    el.firstChild.href = 'javascript:;';
                    el.firstChild.target = '';

                    el.addEventListener('click', function () {
                        myFunction(el);
                    });
                }

                function myFunction(el) {
                    // console.log('element', el);
                    // console.log('element FIRST CHILD', el.firstChild.firstChild);
                    let kern_code = '';
                    if (el.parentElement.getElementsByClassName('  column-kodakern')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kodakern')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernkoda')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernkoda')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kerncode')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kerncode')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernid')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernid')[0].innerHTML;
                    } else if (el.parentElement.getElementsByClassName('  column-kernidmat58')[0]) {
                        kern_code = el.parentElement.getElementsByClassName('  column-kernidmat58')[0].innerHTML;
                    } else {
                        kern_code = '';
                    }

                    if (localStorage.getItem('cart') != null) {
                        let cart = JSON.parse(localStorage.getItem('cart'));
                        if (cart.includes(kern_code)) {
                            cart = cart.filter(function (value, index, arr) {
                                return value !== kern_code;
                            });
                            el.firstChild.firstChild.style = 'background-color: #4b91c8';
                        } else {
                            el.firstChild.firstChild.style = 'background-color: #e3e0e6';
                            cart.push(kern_code);
                        }

                        localStorage.setItem('cart', JSON.stringify(cart));
                    } else {
                        localStorage.setItem('cart', JSON.stringify([kern_code]));
                    }

                    updateKosarica();
                }

                function updateKosarica() {

                    let cart = [];

                    var tableParent = document.createElement('div');

                    if (localStorage.getItem('cart') != null && JSON.parse(localStorage.getItem('cart')).length !== 0) {

                        cart = JSON.parse(localStorage.getItem('cart'));

                        var table = document.createElement('div');

                        cart.forEach(function (code) {

                            var row = document.createElement('div');
                            row.classList.add('cart-data-row');
                            row.setAttribute('style', 'display:flex;justify-content: space-between;padding-bottom:10px;align-items: center;');
                            var node1 = document.createElement('div');
                            node1.setAttribute('style', 'font-weight: 500');
                            var input = document.createElement('input');
                            input.setAttribute('type', 'number');
                            row.appendChild(node1).innerHTML = code;
                            var qtyContainer = document.createElement('div');
                            qtyContainer.setAttribute('style', 'display: flex;align-items: center;');
                            qtyContainer.appendChild(input);
                            input.setAttribute('value', '1');
                            input.setAttribute('style', 'font-weight: 500;text-align: center;background-color: aliceblue;');
                            let removeItem = document.createElement('span');
                            removeItem.innerHTML = '×';
                            removeItem.classList.add('remove-item');
                            removeItem.addEventListener('click', function () {
                                removeItemFromLocalStorage(code);
                            });
                            qtyContainer.appendChild(removeItem);
                            row.appendChild(qtyContainer);
                            table.appendChild(row);


                        });
                        tableParent.appendChild(table);

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';
                        modal.getElementsByClassName('modal-body')[0].setAttribute('style', 'overflow: auto;max-height:500px');
                        modal.getElementsByClassName('modal-body')[0].appendChild(tableParent);


                        // // handle remove item btn
                        // var items = document.getElementsByClassName("remove-item");
                        // Array.from(items).forEach(function (element) {
                        //     let code = element.parentElement.parentElement.firstChild.innerHTML;
                        //     element.addEventListener("click", function () {
                        //         removeItemFromLocalStorage(code)
                        //     });
                        // });

                        function removeItemFromLocalStorage(kern_code) {
                            console.log('kern_code', kern_code);
                            if (localStorage.getItem('cart') != null) {
                                let cart = JSON.parse(localStorage.getItem('cart'));
                                if (cart.includes(kern_code)) {
                                    cart = cart.filter(function (value, index, arr) {
                                        return value !== kern_code;
                                    });
                                }
                                localStorage.setItem('cart', JSON.stringify(cart));
                            }
                            updateKosarica();
                        }


                    } else {

                        var noProducts = document.createElement('div');
                        noProducts.innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].innerHTML = '';

                        modal.getElementsByClassName('modal-body')[0].appendChild(noProducts);

                    }

                }

            });

        });

});</script><style>
</style>


		</div>
	</div>
		</div>

	</div>
</div>

</div>

<div class="vc_row wpb_row vc_row-fluid cspt-row cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
			
<div class="wpb_column vc_column_container vc_col-sm-12 cspt-column cspt-bg-color-yes cspt-bg-color-transparent cspt-zindex-zero">
	<div class="vc_column-inner ">

	
		<div class="wpb_wrapper">
					</div>

	</div>
</div>

</div>
</div><p>The post <a href="https://www.kern.si/en/3463-0/">3463 Locking screws with engaged surface, ISO4028, DIN915</a> appeared first on <a href="https://www.kern.si/en/">KERN</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
