Help
RSS
API
Feed
Maltego
Contact
Domain > empresa.cochezycia.com
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2020-09-16
23.62.35.81
(
ClassC
)
2023-04-10
23.215.223.171
(
ClassC
)
2023-04-27
23.222.27.173
(
ClassC
)
2024-10-01
23.55.167.9
(
ClassC
)
Port 443
HTTP/1.1 200 OKStrict-Transport-Security: max-age63072000; includeSubDomainsX-Content-Type-Options: nosniffContent-Security-Policy: upgrade-insecure-requestsP3P: CPCUR OTR STAX-UA-Compatible: IEedgeLast-Modified: Tue, 01 Oct 2024 18:56:06 GMTContent-Security-Policy: frame-ancestors selfX-FRAME-OPTIONS: SAMEORIGINContent-Type: text/html;charsetUTF-8Cache-Control: public, must-revalidate, max-age0, s-maxage600Expires: Tue, 01 Oct 2024 18:56:07 GMTDate: Tue, 01 Oct 2024 18:56:07 GMTTransfer-Encoding: chunkedConnection: keep-aliveConnection: Transfer-EncodingSet-Cookie: CookieConsentPolicy0:1; path/; expiresWed, 01-Oct-2025 18:56:06 GMT; Max-Age31536000; secureSet-Cookie: LSKey-c$CookieConsentPolicy0:1; path/; expiresWed, 01-Oct-2025 18:56:06 GMT; Max-Age31536000; secureSet-Cookie: apex__cclgtkn; path/; secure; SameSiteStrictx-origin-cache-control: public,must-revalidate,max-age0,s-maxage600Akamai-GRN: 0.05a73717.1727808966.7ada96a !DOCTYPE HTML>html langen xmlnshttp://www.w3.org/1999/xhtml xmlns:fbhttp://ogp.me/ns/fb# xmlns:oghttp://ogp.me/ns#> head>script src/static/111213/js/perf/stub.js typetext/javascript>/script>script src/jslibrary/1698336665250/sfdc/VFRemote.js typetext/javascript>/script>script src/jslibrary/1699262264250/ui-sfdc-javascript-impl/SfdcCore.js typetext/javascript>/script>script src/static/111213/js/picklist4.js typetext/javascript>/script>script src/jslibrary/1698336665250/sfdc/VFState.js typetext/javascript>/script>script>(function(UITheme) { UITheme.getUITheme function() { return UserContext.uiTheme; };}(window.UITheme window.UITheme || {}));/script>script typetext/javascript>Visualforce.remoting.Manager.add(new $VFRM.RemotingProviderImpl({vf:{vid:0661U000005iqc5,xhr:false,dev:false,tst:false,dbg:false,tm:1727808967083,ovrprm:false},actions:{AddToCartRemoteValidator:{ms:{name:addToCartProductsFromPromoPG,len:2,ns:,ver:42.0,csrf:VmpFPSxNakF5TkMweE1DMHdORlF4T0RvMU5qb3dOeTR3T0ROYSxWM3h3OEpybnhnSy10VVZNVkFzdWNjZ21ZR21HY0hCRnBES0pQbVFiQ1BnPSxPR0k0WXpJdw,authorization:eyJub25jZSI6Ikhoenp4LTBsaWg1NkRUTkxFS3VTYnY1Smc2OGFPcGtVRDE5MnN5SldnRElcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRcIjpcIjAwRDFVMDAwMDAwb3ZZMFwiLFwidlwiOlwiMDJHMVUwMDAwMDBjWUEzXCIsXCJhXCI6XCJ2ZnJlbW90aW5nc2lnbmluZ2tleVwiLFwidVwiOlwiMDA1MVUwMDAwMDVYN0ZRXCJ9IiwiY3JpdCI6WyJpYXQiXSwiaWF0IjoxNzI3ODA4OTY3MDg0LCJleHAiOjB9.Q2pWQlpHUlViME5oY25SU1pXMXZkR1ZXWVd4cFpHRjBiM0l1WVdSa1ZHOURZWEowVUhKdlpIVmpkSE5HY205dFVISnZiVzlRUnc9PQ.KO5_OrVQvMoQZqs5XhvzgUy76Btl_-BoUTkFkBtRlLo},{name:addWarrantyToProduct,len:2,ns:,ver:42.0,csrf:VmpFPSxNakF5TkMweE1DMHdORlF4T0RvMU5qb3dOeTR3T0RSYSxDWTNmWkxRanZGWktEQldDNWtGMEdqMVlIdmR4R2h4aWZLY3B3S0R5LU5NPSxaR0prTlRCaA,authorization:eyJub25jZSI6IkczSkphbFBnWmlpamFxdzZLYUZXM1RSN2NiU21ub0xwNlpReWpmWjY4M3NcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIs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XWVd4cFpHRjBiM0l1WjJWMFkyOTFjRzl1Y3c9PQ.YQ8RpxFWOJsbbMPoltNQuSHuxQrQ9z_zXyn6PX63z9o},{name:itemQuantityValidationRemoteAction,len:2,ns:,ver:42.0,csrf:VmpFPSxNakF5TkMweE1DMHdORlF4T0RvMU5qb3dOeTR3T0RsYSwyU2VRellFM0ljeVFkUkZleFNCS2l5RkFjWXVxN25DQnU1dy1kMU5TSDZ3PSxNMlkzTkRSaw,authorization:eyJub25jZSI6IlAzUzk2LUk3ZC11MjBTR3poOF9YeHNoQVFoTTFGdVRuNGVhaEpXRWlwWUFcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRcIjpcIjAwRDFVMDAwMDAwb3ZZMFwiLFwidlwiOlwiMDJHMVUwMDAwMDBjWUEzXCIsXCJhXCI6XCJ2ZnJlbW90aW5nc2lnbmluZ2tleVwiLFwidVwiOlwiMDA1MVUwMDAwMDVYN0ZRXCJ9IiwiY3JpdCI6WyJpYXQiXSwiaWF0IjoxNzI3ODA4OTY3MDg5LCJleHAiOjB9.Q2p0QlpHUlViME5oY25SU1pXMXZkR1ZXWVd4cFpHRjBiM0l1YVhSbGJWRjFZVzUwYVhSNVZtRnNhV1JoZEdsdmJsSmxiVzkwWlVGamRHbHZiZz09.pyhmz4ymbnAUvRHmP5gWsS9Tdu4nbnj7bI04_bFcipA},{name:itemQuantityValidationRemoteActionBundle,len:2,ns:,ver:42.0,csrf:VmpFPSxNakF5TkMweE1DMHdORlF4T0RvMU5qb3dOeTR3T0RsYSxpcV9KVmJWVkt0NTJiMzFEMjF6bEhkVTlRVWtVVFNFdC11azdhMGdTczNvPSxPRGRoWlRKaQ,authorization:eyJub25jZSI6IkN1cWdSUWdKWWpPXzFLektWYXZ3WGZqTVJ5N1NEdWVLbE1nZjJRaG9jdFlcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRcIjpcIjAwR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BadmIzUmxja3hwYm10RGIyNTBjbTlzYkdWeUxtZGxkRVp2YjNSbGNreHBibXR6.YEkDss_prF-xH5GWuvHN4lvefRzdEjprA3c5rABLpTk},prm:0},cc_Cynx_UpperMenuController:{ms:{name:getUpperMenuLinks,len:2,ns:,ver:48.0,csrf:VmpFPSxNakF5TkMweE1DMHdORlF4T0RvMU5qb3dOeTR3T1RKYSwzS0QzRXE4NjlDeVNoNjZZeGRVc2l2WVFpc045VlBGazBiLUxkZHF0ZWhNPSxOamsyTm1RNA,authorization:eyJub25jZSI6IlRjSnROM05mRmhWMjRnQ1FHUHRqZUFrVHRjOXVRdzJHR0hiWXdiMUpiemtcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRcIjpcIjAwRDFVMDAwMDAwb3ZZMFwiLFwidlwiOlwiMDJHMVUwMDAwMDBjWUEzXCIsXCJhXCI6XCJ2ZnJlbW90aW5nc2lnbmluZ2tleVwiLFwidVwiOlwiMDA1MVUwMDAwMDVYN0ZRXCJ9IiwiY3JpdCI6WyJpYXQiXSwiaWF0IjoxNzI3ODA4OTY3MDkyLCJleHAiOjB9.Q2kxalkxOURlVzU0WDFWd2NHVnlUV1Z1ZFVOdmJuUnliMnhzWlhJdVoyVjBWWEJ3WlhKTlpXNTFUR2x1YTNNPQ.jEQ49kDAMTEloOIIY6Rk3kgCBrd6jXumkdQmxc375Gw},prm:0},ccCynx_AddressInMapController:{ms:{name:disCardIvdGiftCard,len:2,ns:,ver:45.0,csrf:VmpFPSxNakF5TkMweE1DMHdORlF4T0RvMU5qb3dOeTR3T1ROYSx1TGJ3bGhHLWhhTWhrRHM2ZnZPZFNoQWZVblBVMUFianBWTGM0TmNyVHp3PSxaalpqWXprNQ,authorization:eyJub25jZSI6InpVN05kNnhIWTNJRnNYSlZSVjNVYkZTOW54bEtxeURqNy1WZjhJU3hlNU1cdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImt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mUVdSa2NtVnpjMGx1VFdGd1EyOXVkSEp2Ykd4bGNpNTJaWEpwWm5sRFlYSjBSbTl5VUVkUWNtOXRidz09.gPycqrlMNvHXjvNXLgr8JjtEn_OwZUAJtHmnSj4ctnk},prm:0},ccCynx_headerController:{ms:{name:getContactHasCredit,len:1,ns:,ver:48.0,csrf:VmpFPSxNakF5TkMweE1DMHdORlF4T0RvMU5qb3dOeTR3T1RkYSxkdnphQWIxSmxvb0ctVmF5NnhsUm9Hc1l0ejJsT3F0WnZ1bGFSc1RMTlVBPSxNVEEzWkdFdw,authorization:eyJub25jZSI6ImZ0dDl4NjlTVkVOZmhPTEtjOU0tUGFUZklrSjdsaG9iMmlyeGZkOXVlbDBcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRcIjpcIjAwRDFVMDAwMDAwb3ZZMFwiLFwidlwiOlwiMDJHMVUwMDAwMDBjWUEzXCIsXCJhXCI6XCJ2ZnJlbW90aW5nc2lnbmluZ2tleVwiLFwidVwiOlwiMDA1MVUwMDAwMDVYN0ZRXCJ9IiwiY3JpdCI6WyJpYXQiXSwiaWF0IjoxNzI3ODA4OTY3MDk3LCJleHAiOjB9.Q2l0alkwTjVibmhmYUdWaFpHVnlRMjl1ZEhKdmJHeGxjaTVuWlhSRGIyNTBZV04wU0dGelEzSmxaR2ww.IqLBVdi9dxU7MfkecEyDZI3gUK0YbErtXG15N6bNWXc},{name:getStoresByGeolocation,len:2,ns:,ver:48.0,csrf:VmpFPSxNakF5TkMweE1DMHdORlF4T0RvMU5qb3dOeTR3T1RoYSx6TTNUdFpDT3QyVGNLY09HZTFIS01hdEZ2UF9LOF9RWnhySnN6eUk1aURNPSxNMlF4Wm1Jdw,authorization:eyJub25jZSI6IjJybGxrWGhPd3FTVHlFc2MtaTRseDFJYVR6QllhendPd3p1bEpYMElIS0VcdTAwM2QiLCJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImtpZCI6IntcInRc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LMtGErjuRAd3LkkJ1sCIhbd2TICZL8},prm:1}},service:apexremote}));/script>meta HTTP-EQUIVPRAGMA CONTENTNO-CACHE />meta HTTP-EQUIVExpires contentMon, 01 Jan 1990 12:00:00 GMT /> script> if (window.location.protocol ! https:){window.location.href https: + window.location.href.substring(window.location.protocol.length);} /script> script typetext/javascript> var CCRZ CCRZ || {}; CCRZ.devMode CCRZ.devMode||false; CCRZ.logOn false; CCRZ.disableAdaptive true; /script>meta charsetutf-8>meta http-equivX-UA-Compatible contentIEedge>meta nameviewport contentwidthdevice-width, initial-scale1>!-- OneTrust Cookies Consent Notice start for www.cochezycia.com -->script srchttps://cdn.cookielaw.org/scripttemplates/otSDKStub.js typetext/javascript charsetUTF-8 data-domain-scriptb203204b-c635-4ddc-9545-6581d6ca4aa2-test >/script>script typetext/javascript> function OptanonWrapper() { }/script>!-- Google Tag Manager -->script>(function(w,d,s,l,i){wlwl||;wl.push({gtm.start:new Date().getTime(),event:gtm.js});var fd.getElementsByTagName(s)0,jd.createElement(s),dll!dataLayer?&l+l:;j.asynctrue;j.srchttps://www.googletagmanager.com/gtm.js?id+i+dl;f.parentNode.insertBefore(j,f);})(window,document,script,dataLayer,GTM-KB3LSJ2);/script>!-- End Google Tag Manager -->!-- Hotjar Tracking Code -->script>(function(h,o,t,j,a,r){h.hjh.hj||function(){(h.hj.qh.hj.q||).push(arguments)};h._hjSettings{hjid:1278193,hjsv:6};ao.getElementsByTagName(head)0;ro.createElement(script);r.async1;r.srct+h._hjSettings.hjid+j+h._hjSettings.hjsv;a.appendChild(r);})(window,document,https://static.hotjar.com/c/hotjar-,.js?sv);/script>script typetext/javascript srchttps://100026161.collect.igodigital.com/collect.js>/script>script>(function (HawkSearch, undefined) {HawkSearch.BaseUrl http://cochezycia.hawksearch.com/sites/cochezycia;HawkSearch.HawkUrl HawkSearch.BaseUrl;HawkSearch.TrackingUrl http://tracking-na.hawksearch.com;HawkSearch.RecommenderUrl http://recs-na.hawksearch.com;HawkSearch.ClientGuid 3f3063fb0b584d43b6c91421aede6c03;if (https: document.location.protocol) {HawkSearch.BaseUrl HawkSearch.BaseUrl.replace(http://, https://);HawkSearch.HawkUrl HawkSearch.HawkUrl.replace(http://, https://);HawkSearch.TrackingUrl HawkSearch.TrackingUrl.replace(http://, https://);HawkSearch.RecommenderUrl HawkSearch.RecommenderUrl.replace(http://, https://);}}(window.HawkSearch window.HawkSearch || {}));/script>script>!function(f,b,e,v,n,t,s){if(f.fbq)return;nf.fbqfunction(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbqn;n.pushn;n.loaded!0;n.version2.0;n.queue;tb.createElement(e);t.async!0;t.srcv;sb.getElementsByTagName(e)0;s.parentNode.insertBefore(t,s)}(window, document, script, https://connect.facebook.net/en_US/fbevents.js);fbq(init, 392717287871632);fbq(track, PageView);/script>noscript>img height1 width1 styledisplay:none srchttps://www.facebook.com/tr?id392717287871632&evPageView&noscript1/>/noscript>script srchttps://secure.paguelofacil.com/HostedFields/vendor/scripts/PFScriptClave.js>/script>script srchttps://scripts.publitas.com/plugins/ecom-light/website.js typetext/javascript>/script>script typetext/javascript srchttps://scripts.publitas.com/plugins/ecom-light/script.js>/script>script>ecomLight.init({enabled: true,maxModalWidth: 1200px});/script>link typetext/css relstylesheet href/resource/1707576375000/ccrz__CCRZ_JS/v004/boot3/css/ccrz-libs.min.css />script typetext/javascript src/resource/1707576375000/ccrz__CCRZ_JS/v004/boot3/ccrz-libsh-min.js>/script>script typetext/javascript src/resource/1707576376000/ccrz__CC_Javascript_Framework/js/cc3-min.js>/script>link typetext/css relstylesheet href/resource/1712862429000/ccCochez_B2B_Theme/css3/styles.css/>script typetext/javascript src/resource/1712862429000/ccCochez_B2B_Theme/js/uiproperties.js>/script>meta namegoogle-site-verification contentVtQGHNNizIrJPx_xEBoxCP5tcuEvhdYINHmYbZeahVw />link relpreload href/resource/1712862429000/ccCochez_B2B_Theme/css3/app.css asstyles>link relalternate hreflanges-PA hrefhttps://cochezycia.com/>link relshortcut icon href/resource/1712862429000/ccCochez_B2B_Theme/images/icons/favicon.ico typeimage/x-icon>link relicon href/resource/1712862429000/ccCochez_B2B_Theme/images/icons/favicon.ico>link typetext/css relstylesheet href/resource/1712862429000/ccCochez_B2B_Theme/css3/app.css />link typetext/css relstylesheet href/resource/1712862429000/ccCochez_B2B_Theme/css3/owl.carousel.css />script defer typetext/javascript src/resource/1712862429000/ccCochez_B2B_Theme/js/app.js>/script>script defer srchttps://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js>/script>script defer srchttps://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.40/moment-timezone-with-data.min.js>/script>script defer srchttps://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.40/moment-timezone.min.js>/script>script defer srchttps://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/locale/es.min.js>/script>script defer typetext/javascript src/resource/1712862429000/ccCochez_B2B_Theme/js/lib/owl.carousel.js>/script>script defer typetext/javascript src/resource/1712862429000/ccCochez_B2B_Theme/js/lib/loadingoverlay.min.js>/script>script typetext/javascript src/b2ccochez/resource/1582315735000/ccrz__CC_Javascript_Framework/js/cc3-min.js>/script>script srchttps://scripts.publitas.com/grupo-cochez/website.js typetext/javascript>/script>meta namegoogle contentnotranslate>script defer typetext/javascript src/resource/1712862429000/ccCochez_B2B_Theme/js/lib/js-image-zoom.js>/script>meta namefacebook-domain-verification contenteqkam093wus1mmr30kbed0j1x188o8/>meta namegoogle-site-verification contentrVO11hxBSaoqsFV30ZhgRTOtAJGzjrR1sCvR53fJE-U/> script> var hasCookieId false; //CC event aggregator to channel events from multiple objects into a single object to //simplify registration for clients. CCRZ.pubSub _.extend({}, Backbone.Events); CCRZ.pagevars.storefrontName B2BCochez; CCRZ.pagevars.themeBaseURL /resource/1712862429000/ccCochez_B2B_Theme/; CCRZ.pagevars.staticResourceMap {}; CCRZ.pagevars.isGuest true; CCRZ.pagevars.pageConfig _.extend({so.enablesg:FALSE,exdev.disableexpressdelivery:04:30:00 pm,exdev.enableexpressdelivery:08:00:00 am,pgp.extwarrantyav:FALSE,co.modaliframetime:15000,co.attemptsfactrs:100,pd.cmfdues:36,pd.cmfenableinfo:FALSE,pd.cmfminimumamountshow:25,pd.cmfanualrate:33,pd.settimepopup:30000,catalogs.publitas_colnum:2,pd.enablepopuppl:FALSE,rvd.empty_subject:/**No_Subject**/,rvd.empty_comment:/**No_Comment**/,catalogs.publitas_enabled:FALSE,digifest.show_promos:TRUE,digifest.show_carousel3:TRUE,digifest.show_carousel2:TRUE,digifest.show_carousel1:TRUE,digifest.display_classic:TRUE,digifest.display_carousel:TRUE,digifest.colnum:1,digifest.colnum_lg:1,digifest.colnum_sm:1,digifest.colnum_xs:1,digifest.colnum_md:1,pmt.hspo:TRUE,upmenu.b2b-chz-url:https://empresa.cochezycia.com,upmenu.show-b2b-chz-link:FALSE,ma.show_list_clone:FALSE,ma.show_cart_clone:FALSE,rfq.show_generate_quote:TRUE,ext_wrty.enable:FALSE,c.clonedcartpricing:1,c.clonedcartpage:1,ui.lightningsitemap:FALSE,hp.csrlanding:HomePage,h.enablemyaccmenu:FALSE,hp.exturl:,hp.type:visualforce,upmenu.show-cmf-link:FALSE,upmenu.img-url:https://storage.googleapis.com/chz-marketing-repositorio-fotos/novey/iconos_storefront/home/LogoCMF.svg,upmenu.cmf-url:https://portal.cmf.com.pa/cardrequest,paint.brands_enable:Behr,Glidden,Lanco,Pintuco,mc.qits:5,myaccount_menu.show_acc_sta:FALSE,pmt_dc.tma:1,sfmc.mcp_enable:FALSE,sfmc.acc_id:Empty,debug.show_dcl:FALSE,rcm.enable:FALSE,bee_m.beeactive:FALSE,catalogs.papelaweb_height_mobile:400,catalogs.papelaweb_height:250,catalogs.enable_papelaweb:FALSE,pmt_cc.nf:TRUE,menu.showpromos:Departamentos,menu.is_dropdown:Departamentos,Fases de proyectos,exdev.ted:FALSE,ui.restorelegacyhtmlprefilter:FALSE,paint.ipp:5,hsm.enable_hs:FALSE,catalogs.show_carousel3:FALSE,catalogs.show_carousel2:FALSE,catalogs.show_carousel1:TRUE,catalogs.colnum_lg:1,catalogs.colnum_sm:1,catalogs.colnum_xs:1,catalogs.colnum_md:1,catalogs.colnum:1,catalogs.display_classic:FALSE,catalogs.show_promos:TRUE,catalogs.display_carousel:TRUE,pm_u.cd_fcolor:#000000,pm_u.countdown:FALSE,paint.show_profile_options_attr:TRUE,paint.default_paint:a3J4Q000003u9JdUAI,paint.paintcat_banner:TRUE,paint.enable_paintbanner:TRUE,paint.default_paint_name:Pasteles,paint.category_banner:Pintura,Pinturas,pintura,pinturas,paint.arcofpaint:TRUE,h.storloc:TRUE,rfq.show_pay_quote:TRUE,menu.switch_b2b_b2c:FALSE,eff.pick_acc:TRUE,custom_chat.enable:TRUE,paint.my_inkeds:FALSE,fp.colnum_xs:2,fp.colnum_sm:3,fp.colnum_lg:5,fp.colnum_md:4,sl.colnum_xs:2,sl.colnum_sm:3,sl.colnum_lg:5,sl.colnum_md:4,sl.enable_custom_spotlight:TRUE,arc.enable:TRUE,pm_cat.colnum:4,pm_cat.enable:TRUE,hp.quick_access:FALSE,fpc.tabs:MasVendidos,Recomendados,UltimasUnidades,fpc.colnum_xs:2,fpc.colnum_sm:3,fpc.colnum_lg:5,fpc.colnum_md:4,fpc.bg_color:#FAFAFA,fpc.enable:TRUE,tsm.enable:FALSE,f.subs_bar:FALSE,mqp.maxquantity:FALSE,cat_w.enable:FALSE,cs.enable:FALSE,bar_i.font_color:#000000,bar_i.bg_color:#FFFFFF,login.add2logos:FALSE,analytics.gaipanonymization:FALSE,rfq.show_load_quote:FALSE,gtm.enable_dl:FALSE,pm_u.bg_color:#ffee00,pm_u.enable:TRUE,env.isprod:TRUE,catbar.enable:TRUE,bar_i.colnum:4,bar_i.enable:TRUE,ppm.enable:FALSE,pm_b.enable:FALSE,qo.g2c:FALSE,pl.dspladdtinfo:TRUE,pl.dsplshortdesc:TRUE,or.showtotalsurcharge:FALSE,mc.chkinc:FALSE,mc.wrninc:FALSE,mc.ext:TRUE,mc.ro:TRUE,mc.dsplitem:TRUE,h.skcall:FALSE,h.displsearch:TRUE,fp.colnum:4,ma.usedef:TRUE,ma.overrideflow:FALSE,wlt.enabled:TRUE,ui.noimage:,sel.mapenabled:TRUE,eff.dispmode:header,c.dsplcomments:TRUE,c.dspladdtinfo:TRUE,c.dspladdtlsku:TRUE,c.pgrdcke:FALSE,c.crtcke:FALSE,c.vernoqty:TRUE,c.noqty:FALSE,pcp.dspladdtlshortdesc:TRUE,c.dspladdtlshortdesc:TRUE,sel.locationenabled:TRUE,sel.listenabled:TRUE,qo.clr:FALSE,pcp.dspladdcart:TRUE,pcp.dsplavlb:TRUE,pl.pagesizes:10,25,50,75,pl.defpagesize:25,pcp.dsplsku:FALSE,pcp.g2c:FALSE,pcp.dsplsvprc:TRUE,pcp.dspluom:FALSE,pcp.dspllistprc:TRUE,pcp.dspladdtlsku:TRUE,pcp.dsplprc:TRUE,pcp.dspladdtinfo:TRUE,pcp.dsplshortdesc:TRUE,pl.namesort:TRUE,pcp.enabled:TRUE,pd.tierovflco:4,pd.tiersassec:FALSE,ff.showvaluecount:TRUE,ff.sortvalby:value,pl.layoutopts:grid,list,pl.pricesort:TRUE,pl.relsort:FALSE,pl.seqsort:TRUE,pl.usenew:TRUE,pl.newestsort:TRUE,c.usenewcart:TRUE,sl.colnum:4,pr.enabled:TRUE,sel.gkey:,sel.enabled:FALSE,login.dsplreg:TRUE,pmt_po.reqnum:TRUE,pgl.curr:TRUE,co.pmts:pcc,cc,cmf,yap,ach,pet,dspl.ccemail:FALSE,dspl.skst:FALSE,dspl.skct:FALSE,wl.g2c:FALSE,wl.dspladdtlshortdesc:TRUE,wl.enabled:FALSE,wl.dspladdtlsku:TRUE,wl.pkron:TRUE,wl.dspladdcart:TRUE,wl.dspladdtinfo:TRUE,wl.dsplprc:TRUE,wl.dspluom:TRUE,wl.pgbl:TRUE,sb.location:RIGHT,nav.tmpl:TRUE,nav.subs:FALSE,reg.tmzn:FALSE,reg.cmpytype:ISP,reg.addlinf:FALSE,pgbl.tmpl:FALSE,pgbl.wndsz:3,pgbl.addr:FALSE,pgbl.itmperp:10,25,50,75,pgbl.pagesize:10,rfq.descmaxlen:32000,rfq.emailvldt:TRUE,rfq.phnrqrd:TRUE,rfq.cmpnyrqrd:TRUE,rfq.emailrqrd:TRUE,rfq.lnamerqrd:TRUE,pgbl.ord:FALSE,rfq.fnamerqrd:TRUE,rfq.loggedin:TRUE,rfq.guestuser:FALSE,pd.g2c:FALSE,pd.dispdkflow:FALSE,pd.dsplprc:TRUE,pd.dspllistprc:TRUE,pd.dspltype:TRUE,pd.dsplsvprc:TRUE,pd.dsplsdesc:TRUE,pd.dspluom:FALSE,pd.dsplsku:TRUE,pd.dsplavlb:TRUE,pd.dspladdcart:TRUE,pl.dspladdcart:TRUE,pl.dsplavlb:TRUE,pl.dspladdtlshortdesc:TRUE,pl.dsplsku:TRUE,pl.g2c:FALSE,pl.dsplsvprc:TRUE,pl.dspllistprc:TRUE,pl.dsplsubcat:TRUE,pl.dspladdtlsku:TRUE,pl.sortasc:TRUE,pl.defsort:sequence,ur.dirlogin:FALSE,so.dspladdrcompany:TRUE,so.dsplshipoptions:FALSE,so.gatedderr:TRUE,so.dsplshipcomplete:FALSE,so.dspladdrname:TRUE,pl.dsplspec:TRUE,pl.dsplprc:TRUE,so.dsplshipnotes:TRUE,co.itbmsrecalccoapex:FALSE,pmt_ach.enable_yappy:FALSE,co.itbmsrecalcco:FALSE,bee_m.urldispatchtrack:https://cochez.dispatchtrack.com/track/,pm_u.show_close:FALSE,lshop.title:Live Shopping,lshop.url:https://www.youtube.com/embed/di6iwHhrH6s,lshop.show_title:FALSE,p2p.show_promos:TRUE,p2p.show_carousel3:TRUE,p2p.show_carousel2:TRUE,p2p.show_carousel1:TRUE,p2p.display_carousel:TRUE,p2p.colnum:1,p2p.colnum_lg:1,p2p.colnum_sm:1,p2p.colnum_xs:1,p2p.colnum_md:1,p1p.colnum:1,p1p.colnum_lg:1,p1p.colnum_sm:1,p1p.colnum_xs:1,p1p.colnum_md:1,p1p.show_carousel3:TRUE,p1p.show_carousel2:TRUE,p1p.show_carousel1:TRUE,p1p.show_promos:TRUE,p1p.display_carousel:TRUE,menu.menulayoutid:{ \departments\: \allDepartmentsFlyout\, \departmentsf\: \Departamentos\, \instalations\: \allInstalations\, \instalationsf\: \Instalaciones\ },gc.yappyenabled:false},{ get: function(srchVar){ return (this(srchVar||).toLowerCase()||); }, isTrue: function(srchVar){ var val this.get(srchVar); return (trueval)||(trueval.toLowerCase()); } }); CCRZ.pagevars.currentCartID ; //first check if the page var is enabled) if(CCRZ.pagevars.queryParams.reloaded){ //check if we have a blank current cart (if we do it means that either a bad cart id //came from cookie or url, and doesnt have a valid cart (not in correct status, invalid number, no number)) if(!CCRZ.pagevars.currentCartID){ //if this is the case, then we need to remove the url param, as well as delete the original cookie //delete the cookie by setting value null and date to past CCRZ.setCookieWithPath(apex__currCartId, null, -1, /); CCRZ.setCookieWithPath(LSKeyccurrCartId, null, -1, /); } }else{ //this wasnt reloaded, so try to load the page again if it meets the criteria if(CCRZ.pagevars.pageConfig.isTrue(C.pgRdCke) && CCRZ.pagevars.isGuest){ if(!CCRZ.pagevars.currentCartID){ //read the cookie if it exists var cookieId CCRZ.getCookie(apex__currCartId); if(cookieId){ CCRZ.console.log(reloading page with cart id from cookie); CCRZ.pagevars.currentCartID cookieId; //set the url param, and then reload page CCRZ.reloadCurrentPage(); }else{ CCRZ.console.log(did not find a cart id cookie); } }else{ CCRZ.console.log(currentCartID was not null: + CCRZ.pagevars.currentCartID); } }else{ CCRZ.console.log(not a guest or read cookie disabled); } } CCRZ.userIsoCode USD; CCRZ.pagevars.storeSettings JSON.parse({\Name\:\B2BCochez\,\AutoCalcPriceAdjust__c\:false,\eCommerceType__c\:\B2B\,\DisplayPageLabelNames__c\:false,\Skip_Shipping_Calculation__c\:false,\Skip_Tax_Calculation__c\:false,\InventoryCheckFlag__c\:false,\DevMode__c\:false,\Site_Secure_Domain__c\:\https://empresa.cochezycia.com/\,\Display_Cart_Coupon__c\:true,\Filter_Orders_Based_on_Owner__c\:true}); CCRZ.pagevars.namespace ccrz.; CCRZ.pagevars.storeName ; CCRZ.pagevars.portalUserId ; CCRZ.pagevars.effAccountId ; CCRZ.pagevars.priceGroupId ; CCRZ.pagevars.currSiteURL https://empresa.cochezycia.com/; CCRZ.pagevars.sitePrefix ; //CCRZ-5250 in csr flow, there is no site, so we need to prevent it from being a relative url by adding the / in front CCRZ.pagevars.attachmentURL CCRZ.pagevars.currSiteURL? CCRZ.pagevars.currSiteURL + servlet/servlet.FileDownload?file : /servlet/servlet.FileDownload?file; CCRZ.pagevars.userLocale en_US; CCRZ.pagevars.currencyData _.extend({storefront:DefaultStore,displayFormat:{0}{1},decimalPoints:2.0,currencySymbol:,currencyName:USD,currencyFullName:US Dollars,charThousandsPoint:comma,charDecimalPoint:dot}, { symbol: {comma:,, dot:., ws: , sq:}, initialize : function(){ this.charDecimalPoint this.symbolthis.charDecimalPoint; this.charThousandsPoint this.symbolthis.charThousandsPoint; var idx1 this.displayFormat.indexOf({0}); var idx2 this.displayFormat.indexOf({1}); this.prefix true; if(idx1 ! -1 && idx2 ! -1 && idx2 idx1) { this.prefix false; } return this; } }).initialize(); CCRZ.pagevars.currentPageName ccrz__CCSiteLogin; CCRZ.pagevars.currentPageURL https://empresa.cochezycia.com/ccrz__CCSiteLogin?refURLhttp%3A%2F%2Fempresa.cochezycia.com%2F; CCRZ.pagevars.currentCartRepricing false; CCRZ.pagevars.linkOverrideMap {MiniCartLogin:false,MyAccountChangePassword:false,MyAccountEditProfile:false,HeaderMyAccount:false,HeaderLogout:false,HeaderLogin:false}; CCRZ.pagevars.useFriendlyUrls false; CCRZ.pageUrls { homePage: CCRZ.goToHomePage(https://empresa.cochezycia.com, false), products: /ccrz__Products, productDetails: /ccrz__ProductDetails, cart: /ccrz__Cart }; CCRZ.pageUrls.productList TRUECCRZ.pagevars.pageConfigpl.usenew ? /ccrz__ProductList : /ccrz__Products; CCRZ.pagevars.remoteContext { storefront: CCRZ.pagevars.storefrontName, portalUserId: CCRZ.pagevars.portalUserId, effAccountId: CCRZ.pagevars.effAccountId, priceGroupId: CCRZ.pagevars.priceGroupId, currentCartId: CCRZ.pagevars.currentCartID, userIsoCode: CCRZ.userIsoCode , userLocale: CCRZ.pagevars.userLocale, currentPageName: CCRZ.pagevars.currentPageName, currentPageURL: CCRZ.pagevars.currentPageURL, queryParams: CCRZ.pagevars.queryParams }; CCRZ.homePage function() { document.location CCRZ.goToHomePage(https://empresa.cochezycia.com, false); }; CCRZ.pubSub.on(cartChange, function(cartId) { CCRZ.console.log(got cart change!); CCRZ.pagevars.currentCartID cartId; //if the option to set cookies is enabled, then set the cookie if(CCRZ.pagevars.pageConfig.isTrue(C.crtCke) && CCRZ.pagevars.isGuest){ CCRZ.console.log(setting session cookie); CCRZ.setCookieWithPath(apex__currCartId, cartId, null, /); CCRZ.setCookieWithPath(LSKeyccurrCartId, cartId, null, /); }else{ CCRZ.console.log(set cart cookie disabled); } CCRZ.console.log(done with cart change); }, this); $(document).ready(function() { jQuery(#chevronUpText).html(CCRZ.pagevars.pageLabelsScrollTop); jQuery(#chevronUpLink).attr(title,CCRZ.pagevars.pageLabelsScrollTop); }); /script> title>Cochez Empresarial | Todo para tus proyectos de construcción y remodelación/title> meta contentSomos los líderes en materiales de construcción, acabados y ferretería. Encuentre todo lo que necesita para construir, reparar o remodelar en nuestra tienda en línea. namedescription /> meta contentConstrucción,Proyectos,Pintura,Redpro,Contratistas,Catálogo,Cochez,Puntos Gordos,Remodelación,Panamá,Seguridad,Acabados,Herramientas,Techo,Ferretería,Crédito,Garantía Extendida,Instalación namekeywords /> /head> body classcc_main_body>form idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm nameloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm methodpost actionhttps://empresa.cochezycia.com/ccrz__CCSiteLogin?refURLhttp%3A%2F%2Fempresa.cochezycia.com%2F classphoneLoginForm enctypeapplication/x-www-form-urlencoded>input typehidden nameloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm valueloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm />script typetext/javascript languageJavascript>function dpf(f) {var adp f.adp;if (adp ! null) {for (var i 0;i adp.length;i++) {adpi.parentNode.removeChild(adpi);}}};function apf(f, pvp) {var adp new Array();f.adp adp;var ps pvp.split(,);for (var i 0,ii 0;i ps.length;i++,ii++) {var p document.createElement(input);p.type hidden;p.name psi;p.value psi + 1;f.appendChild(p);adpii p;i + 1;}};function jsfcljs(f, pvp, t) {apf(f, pvp);var ft f.target;if (t) {f.target t;}f.submit();f.target ft;dpf(f);};/script>script>function login() { SfdcApp.Visualforce.VSManager.vfPrepareForms(loginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm); if(typeof jsfcljs function){jsfcljs(document.formsloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm,loginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm:j_id24,loginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm:j_id24,);}return false }/script>input idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm:hdnUsername typehidden nameloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm:hdnUsername />input idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm:hdnPassword typehidden nameloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm:hdnPassword />div idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm:j_id538>/div>/form>span idajax-view-state-page-container styledisplay: none>span idajax-view-state styledisplay: none>input typehidden idcom.salesforce.visualforce.ViewState namecom.salesforce.visualforce.ViewState valuei:AAAAWXsidCI6IjAwRDFVMDAwMD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N9fmZyfL/Y6CAaqQ/vEjoX292q1kHewJnfaQPcyMs9Xt/R9TWuea4K9vasVJoo0CNttk2e4tw4iWEMtZBWeXwQLyZKQQJ33GplyJ0KHtdJLtQ+1KwD13/WFNT22ArS/k4gw836JH1g5uOD0XIZwo2x4hyY1ujPp9TpDBshoqJpWeBRZqKOfdA2Hechc/ujHo+qzh+I3KONq0xPPU/4J+WM7HmXLIAu20ODxiJEZk1OtPGM5Y5x+L2cdHPOQrD7I6vLjv7sppraE7R6NNR3NvFO9TNrWU+RGrLvR8FpioCehLpO3I9+YFAsZMgwbXglbwMBVES7iPszMMAyScFd+Td4du5XPCVzTa73UbXSN4MYgi33zd7VVl5iAY90Mu4xgV1Uxr/iJ9D1GS4d3QvD1O1ph4a5AMZBohnovEdMW2wVbKQM75b9gZxYEbVUJ1xpq17mBkzRY02Rlt/1M+KWX7/hvXA9G3JLI />input typehidden idcom.salesforce.visualforce.ViewStateVersion namecom.salesforce.visualforce.ViewStateVersion value202409271805270140 />input typehidden idcom.salesforce.visualforce.ViewStateMAC namecom.salesforce.visualforce.ViewStateMAC valueAGV5SnViMjVqWlNJNkltNTRNMGx2VVRCaFRETldiRTFXYlcxdFRESnpiR1JCUVRkRWNqbHhUV2xNTm5GNFVWRXdTRVZ5V2pCY2RUQXdNMlFpTENKMGVYQWlPaUpLVjFRaUxDSmhiR2NpT2lKSVV6STFOaUlzSW10cFpDSTZJbnRjSW5SY0lqcGNJakF3UkRGVk1EQXdNREF3YjNaWk1Gd2lMRndpZGx3aU9sd2lNREpITVZVd01EQXdNREJqV1VFelhDSXNYQ0poWENJNlhDSjJabk5wWjI1cGJtZHJaWGxjSWl4Y0luVmNJanBjSWpBd05URlZNREF3TURBMVdEZEdVVndpZlNJc0ltTnlhWFFpT2xzaWFXRjBJbDBzSW1saGRDSTZNVGN5Tnpnd09EazJOams0Tml3aVpYaHdJam93ZlE9PS4udmdCc3llZVBHLXhrcEpuemp4emdKY1BzMlFvQkhVVTNzaFdwYndmZFVOND0 />/span>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id35 styledisplay: none;>/span> div classdeskLayout cc_deskLayout> header> div classheader cc_header>/div> div classmenu_container cc_menu_container>/div> /header> div classhome_slider cc_home_slider>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id221>div idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id221:cc_Hero:j_id222 classmain_page_title main_page_title MyAccount en_US>/div>/span> div classcontainer cc_breadrumb_container idbreadcrumb_desktop_container>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id226> ol classbreadcrumb> li>a href# onclickhomePage(); titleGo to Store Home Page>Home/a> /li> li>Loginspan idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id227:MiniBreadCrumb:j_id259 styledisplay: none;>/span> /li> /ol> script> var homePage function() { document.location CCRZ.goToHomePage(https://empresa.cochezycia.com, false); }; /script>/span> /div> /div> div classcontentBody cc_content_body> div classcontainer cc_main_container cc_tmpl_OneColRD cc_main_content_col>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id342> script> function SHA256(s) { var chrsz 8; var hexcase 0; function safe_add(x, y) { var lsw (x & 0xFFFF) + (y & 0xFFFF); var msw (x >> 16) + (y >> 16) + (lsw >> 16); return (msw 16) | (lsw & 0xFFFF); } function S(X, n) { return (X >>> n) | (X (32 - n)); } function R(X, n) { return (X >>> n); } function Ch(x, y, z) { return ((x & y) ^ ((~x) & z)); } function Maj(x, y, z) { return ((x & y) ^ (x & z) ^ (y & z)); } function Sigma0256(x) { return (S(x, 2) ^ S(x, 13) ^ S(x, 22)); } function Sigma1256(x) { return (S(x, 6) ^ S(x, 11) ^ S(x, 25)); } function Gamma0256(x) { return (S(x, 7) ^ S(x, 18) ^ R(x, 3)); } function Gamma1256(x) { return (S(x, 17) ^ S(x, 19) ^ R(x, 10)); } function core_sha256(m, l) { var K new Array(0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5, 0x3956C25B, 0x59F111F1, 0x923F82A4, 0xAB1C5ED5, 0xD807AA98, 0x12835B01, 0x243185BE, 0x550C7DC3, 0x72BE5D74, 0x80DEB1FE, 0x9BDC06A7, 0xC19BF174, 0xE49B69C1, 0xEFBE4786, 0xFC19DC6, 0x240CA1CC, 0x2DE92C6F, 0x4A7484AA, 0x5CB0A9DC, 0x76F988DA, 0x983E5152, 0xA831C66D, 0xB00327C8, 0xBF597FC7, 0xC6E00BF3, 0xD5A79147, 0x6CA6351, 0x14292967, 0x27B70A85, 0x2E1B2138, 0x4D2C6DFC, 0x53380D13, 0x650A7354, 0x766A0ABB, 0x81C2C92E, 0x92722C85, 0xA2BFE8A1, 0xA81A664B, 0xC24B8B70, 0xC76C51A3, 0xD192E819, 0xD6990624, 0xF40E3585, 0x106AA070, 0x19A4C116, 0x1E376C08, 0x2748774C, 0x34B0BCB5, 0x391C0CB3, 0x4ED8AA4A, 0x5B9CCA4F, 0x682E6FF3, 0x748F82EE, 0x78A5636F, 0x84C87814, 0x8CC70208, 0x90BEFFFA, 0xA4506CEB, 0xBEF9A3F7, 0xC67178F2); var HASH new Array(0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A, 0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19); var W new Array(64); var a, b, c, d, e, f, g, h, i, j; var T1, T2; ml >> 5 | 0x80 (24 - l % 32); m((l + 64 >> 9) 4) + 15 l; for (var i 0; i m.length; i + 16) { a HASH0; b HASH1; c HASH2; d HASH3; e HASH4; f HASH5; g HASH6; h HASH7; for (var j 0; j 64; j++) { if (j 16) Wj mj + i; else Wj safe_add(safe_add(safe_add(Gamma1256(Wj - 2), Wj - 7), Gamma0256(Wj - 15)), Wj - 16); T1 safe_add(safe_add(safe_add(safe_add(h, Sigma1256(e)), Ch(e, f, g)), Kj), Wj); T2 safe_add(Sigma0256(a), Maj(a, b, c)); h g; g f; f e; e safe_add(d, T1); d c; c b; b a; a safe_add(T1, T2); } HASH0 safe_add(a, HASH0); HASH1 safe_add(b, HASH1); HASH2 safe_add(c, HASH2); HASH3 safe_add(d, HASH3); HASH4 safe_add(e, HASH4); HASH5 safe_add(f, HASH5); HASH6 safe_add(g, HASH6); HASH7 safe_add(h, HASH7); } return HASH; } function str2binb(str) { var bin Array(); var mask (1 chrsz) - 1; for (var i 0; i str.length * chrsz; i + chrsz) { bini >> 5 | (str.charCodeAt(i / chrsz) & mask) (24 - i % 32); } return bin; } function Utf8Encode(string) { string string.replace(/\r\n/g, \n); var utftext ; for (var n 0; n string.length; n++) { var c string.charCodeAt(n); if (c 128) { utftext + String.fromCharCode(c); } else if ((c > 127) && (c 2048)) { utftext + String.fromCharCode((c >> 6) | 192); utftext + String.fromCharCode((c & 63) | 128); } else { utftext + String.fromCharCode((c >> 12) | 224); utftext + String.fromCharCode(((c >> 6) & 63) | 128); utftext + String.fromCharCode((c & 63) | 128); } } return utftext; } function binb2hex(binarray) { var hex_tab hexcase ? 0123456789ABCDEF : 0123456789abcdef; var str ; for (var i 0; i binarray.length * 4; i++) { str + hex_tab.charAt((binarrayi >> 2 >> ((3 - i % 4) * 8 + 4)) & 0xF) + hex_tab.charAt((binarrayi >> 2 >> ((3 - i % 4) * 8)) & 0xF); } return str; } s Utf8Encode(s); return binb2hex(core_sha256(str2binb(s), s.length * chrsz)); } /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id345> script> //-------------------------------------------------------------------------------- // --------------- CUSTOM EVENTS - LISTENER ---------------- //-------------------------------------------------------------------------------- //****** USER DATA - ON LOAD - JELLYFISH ******* // document.addEventListener(DOMContentLoaded, function() { // CCRZ.pubSub.on(view:headerView:refresh, function() { CCRZ.pubSub.on(view:Menu:init, function() { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setTimeout(() > { setDataLayer_UserData(); }, 1500); } }); //****** SIGN-UP - JELLYFISH ******* CCRZ.pubSub.on(sign_up_Event, function(signUp_Data) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_SignUp(signUp_Data); } }); //****** PICK STORE - JELLYFISH ******* CCRZ.pubSub.on(pickStore_Event, function(store) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_PickStore(store); } }); //****** FOOTER MENU CLICK - JELLYFISH ******* CCRZ.pubSub.on(clickFooterMenu_Event, function(SelectedOption) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_ClickFooterMenu(SelectedOption); } }); //****** SOCIAL MEDIA CLICK - JELLYFISH ******* CCRZ.pubSub.on(clickFooterSocial_Event, function(SelectedOption) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_ClickFooterSocial(SelectedOption); } }); //****** CONTACT PHONE CLICK - JELLYFISH ******* CCRZ.pubSub.on(clickPhone_Event, function() { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_ClickPhone(); } }); //****** CALCULATOR CLICK - JELLYFISH ******* CCRZ.pubSub.on(clickCalc_Event, function(title, width, depth) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_ClickCalc(title, width, depth); } }); //****** USER MENU ITEM CLICK - JELLYFISH ******* CCRZ.pubSub.on(click_UserMenuItem, function(name) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_click_UserMenuItem(name); } }); //****** CATALOG CLICK - JELLYFISH ******* CCRZ.pubSub.on(click_Open_Catalog, function(name, description) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_Click_Open_Catalog(name); } }); //****** CHECK INVENTORY BY STORE - JELLYFISH ******* CCRZ.pubSub.on(check_inventory, function(name, description) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_check_inventory(name); } }); //****** CLICK SUB MENU - JELLYFISH ******* CCRZ.pubSub.on(menu_Click_Event, function(isSubMenu, selectecItem, parentItem) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_ClickMenu(isSubMenu, selectecItem, parentItem); } }); //****** CLICK SUB MENU - JELLYFISH ******* CCRZ.pubSub.on(click_Category_Event, function(promoClick) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_Click_Category(promoClick); } }); //****** CALCULATE ON PDP - JELLYFISH ******* CCRZ.pubSub.on(click_Calculate_Event, function(neededValue, requestedValue) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_click_Calculate(neededValue, requestedValue); } }); //****** REFUND EVENT - JELLYFISH ******* CCRZ.pubSub.on(click_Refund_Event, function(refundJSON) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_click_Refund(refundJSON); } }); //****** TRACKING EVENT - JELLYFISH ******* CCRZ.pubSub.on(click_Tracking_Event, function(dataJSON) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_click_Tracking(dataJSON); } }); //****** SEARCH EVENT - JELLYFISH ******* CCRZ.pubSub.on(search_Event, function(search_term, item_list_name) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_Search(search_term, item_list_name); } }); // ****** PARA ESTE EVENTO HAWKSEARCH DEBE INCRUSTAR ESTE PUBSUB EN EL SUCCESS DEL SEARCH // CCRZ.pubSub.trigger(search_Event, search param here, item list name here); //****** SEARCH RESULT EVENT - JELLYFISH ******* CCRZ.pubSub.on(search_Result_Event, function(search_term, quantity) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_Search_Result(search_term, quantity); } }); // ****** PARA ESTE EVENTO HAWKSEARCH DEBE INCRUSTAR ESTE PUBSUB EN EL SUCCESS DEL SEARCH RESULT // CCRZ.pubSub.trigger(search_Result_Event, search param here, quantity here); //****** CLICK COMPARE EVENT - JELLYFISH ******* CCRZ.pubSub.on(click_Compare_Event, function(products) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_Click_Compare(products); } }); // ****** PARA ESTE EVENTO HAWKSEARCH DEBE INCRUSTAR ESTE PUBSUB EN EL SUCCESS DEL SEARCH RESULT // CCRZ.pubSub.trigger(click_Compare_Event, search param here, quantity here); // *******CADA PRODUCTO REQUIERE DE LOS SIGUIENTES ELEMENTOS // item_name : item.name, // item_id : item.id, // item_list_id : , // price : item.price, // discount : item.basePrice && item.price ? item.basePrice - item.price : 0, // currency : CCRZ.pagevars.currencyData.currencyName, // item_brand : item.brandName undefined? : item.brandName, // item_category : , // item_category2: , // quantity : item.quantity, // stock : //****** CLICK COMPARE EVENT - JELLYFISH ******* CCRZ.pubSub.on(filter_Event, function(option) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_filter(option); } }); // ****** PARA ESTE EVENTO HAWKSEARCH DEBE INCRUSTAR ESTE PUBSUB EN EL SUCCESS DEL FILTER // CCRZ.pubSub.trigger(filter_Event, SELECTED OPTION); //-------------------------------------------------------------------------------- // --------------- ECOMMERCE- LISTENER ---------------- //-------------------------------------------------------------------------------- // ****** CAROUSEL PRODUCTS ****** CCRZ.pubSub.on(carouselProductPrint, function(productList, listName) { // console.log(carouselProductPrint , productList) if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_CarouselProductPrint(productList,listName) } }); // // ****** CAROUSEL PRODUCTS ****** // CCRZ.pubSub.on(carouselProductPrint, function(productList, listName) { // // console.log(carouselProductPrint , productList) // if(CCRZ.getPageConfig(gtm.enable_dl,false)){ // setDataLayer_CarouselProductPrint(productList,listName) // } // }); CCRZ.pubSub.on(relatedProductPrint_Alt, function(productList, sectionName, listTitle) { // console.log(productPrint , productList) if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_RelatedProductPrint_Alt(productList, sectionName, listTitle); } }); // ****** PRODUCTS ****** CCRZ.pubSub.on(productPrint, function(productList) { // console.log(productPrint , productList) if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_ProductPrint(productList) } }); // ****** CAROUSEL - SELECT ITEM - JELLYFISH****** // CCRZ.pubSub.on(selectitem, function(product, category) { // // console.log(productPrint , productList) // if(CCRZ.getPageConfig(gtm.enable_dl,false)){ // setDataLayer_selectitem(product, category) // } // }); // ****** ADD TO CART - FROM HOME ****** CCRZ.pubSub.on(add_To_Cart, function(qty, typeProduct, dataProduct) { if(CCRZ.getPageConfig(hsm.enable_hs)){ hawkDataTrackCynx(qty, typeProduct, dataProduct);//gs code hawkSearch } if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_Add_To_Cart(qty, typeProduct, dataProduct) } }); // ****** ADD TO CART - FROM PDP ****** CCRZ.pubSub.on(addToCartSuccess_Alt, function(qty, typeProduct, dataProduct) { if(CCRZ.getPageConfig(hsm.enable_hs)){ hawkDataTrackCynx(qty, typeProduct, dataProduct);//gs code hawkSearch } if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_Add_To_Cart(qty, typeProduct, dataProduct); } // * * * UPDATE CART ITEMS MARKETING CLOUD PIXEL * * * if(is_MC_Pixel_Active()){ setTimeout(() > { set_MC_Pixel_Tracking_CartItems() }, 1500); } }); // ****** PROMOTIONS ****** CCRZ.pubSub.on(promoPrint_Alt, function(promoView) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_PromoPrint_alt(promoView); } }); // ****** PROMOTIONS CLICKS****** CCRZ.pubSub.on(promoClick_Alt, function(promoClick) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_PromoClick_Alt(promoClick) } }); // ****** PRODUCT DETAIL PAGE VIEW ***** CCRZ.pubSub.on(productDetailPrint_Alt, function(productList) { // console.log(productPrint , productList) if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_ProductDetailPrint_Alt(productList); } // * * * UPDATE CART ITEMS MARKETING CLOUD PIXEL * * * if(is_MC_Pixel_Active() && (CCRZ.getPageConfig(sfmc.acc_id, ) ! && CCRZ.getPageConfig(sfmc.acc_id, ) ! Empty) ){ setTimeout(() > { if(CCRZ.getPageConfig(env.isprod,false)){ _etmc.push(setOrgId, CCRZ.getPageConfig(sfmc.acc_id, )); _etmc.push(trackPageView, { item : productList.SKU}); }else{ console.log(Product SKU > , productList0.SKU); } }, 500); } }); // ****** VIEW CART CHECKOUT - JELLY FISH ****** CCRZ.pubSub.on(cartItemsPrint_Alt, function(items, totalAmount) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_ViewCart_Alt(items, totalAmount) } }) // ****** REMOVE ITEM FROM CART - JELLYFISH ****** CCRZ.pubSub.on(removeItemFromCart_Alt, function(prodRem) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_RemoveItemCart_Alt(prodRem) } }); // ****** CHECKOUT - STEPS - USER INFO & SHIPPING - JELLYFISH ****** CCRZ.pubSub.on(Checkout_Alt, function(step, co_option ,prodRem) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_onCheckoutStep_Alt(step,co_option,prodRem); } }); // ****** CHECKOUT - PURCHASE SUCCESS - JELLYFISH ****** CCRZ.pubSub.on(purchaseSuccess_Alt, function(dataPurchase) { if(CCRZ.getPageConfig(debug.show_dcl, false)){ console.log(ejecuta pubsub purchase datalayer, dataPurchase) } if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_PurchaseSuccess_Alt( dataPurchase ) } if(is_MC_Pixel_Active()){ set_MC_Pixel_PurchaseSuccess(dataPurchase) } //Activa traking para hawkSearch if(CCRZ.getPageConfig(hsm.enable_hs)){ hawkDataTrackOrderConfirmation(dataPurchase) } }); //-------------------------------------------------------------------------------- // --------------- PUSH DATA IN TO DATALAYER ---------------- //-------------------------------------------------------------------------------- function pushDataLayer(data) { if(!CCRZ.getPageConfig(env.isprod,false)){ console.log(DATALAYER PUSH ---> , data); }else{ dataLayer.push(data); } } //-------------------------------------------------------------------------------- // --------------- VALIDATE IF DATALAYER IS ACTIVE ---------------- //-------------------------------------------------------------------------------- function is_MC_Pixel_Active() { let isActive false if(typeof _etmc ! undefined && CCRZ.getPageConfig(sfmc.mcp_enable,false)){ isActive true } return isActive } //-------------------------------------------------------------------------------- // --------------- HELPER FUNCTIONS ---------------- //-------------------------------------------------------------------------------- function getCategoryNameFromFilterDataProp(paramObj) { //DATALAYER AJX //se obtiene la categoría del producto try { let catFilter ; catFilter paramObj .split(|) .filter(x > x.includes(CategoryName)) .find(x > !x.includes(SubCategory)) .split()1; return catFilter; } catch (error) { // console.log( error ); return ; } } function getCategoryNameFromLocalStorage(sku) { //DATALAYER AJX //se obtiene la categoría del producto try { let catName ; catName JSON.parse(localStorage.getItem( DatalayerCategoryProduct )) .find(x > x.prod sku).cat; return catName; } catch (error) { // console.log( error ); return ; } } function setLocalStorageDatalayerCategoryProduct(objProdCat, deleteStorage) { try { if(deleteStorage){ localStorage.removeItem(DatalayerCategoryProduct); return } let prodCatObj ; let getStorage localStorage.getItem(DatalayerCategoryProduct); if(getStorage){ prodCatObj JSON.parse(getStorage); prodCatObj.push(objProdCat); localStorage.setItem(DatalayerCategoryProduct, JSON.stringify(prodCatObj)); } else{ prodCatObj.push(objProdCat); localStorage.setItem(DatalayerCategoryProduct, JSON.stringify(prodCatObj)); } } catch (error) { } } //-------------------------------------------------------------------------------- //---------- PREPARE DATA TO USE IN PRODUCT CLICK DATALAYER ------------ //-------------------------------------------------------------------------------- function callProductClick_DataLayer(e) { let dataProduct JSON.parse(e.currentTarget.getAttribute(data-product)), // productUrl e.toElement.href productUrl e.currentTarget.href // console.log(dataProduct event ----> ,dataProduct) dataProduct.productUrl productUrl let viewState new URLSearchParams(window.location.search).getAll(viewState)0, operation new URLSearchParams(window.location.search).getAll(operation)0, isCategory CCRZ.productListPageModel undefined? false : CCRZ.productListPageModel.attributes.isCategory if(dataProduct.typeProduct Spotlight || dataProduct.typeProduct Featured){ viewState ListView dataProduct.category dataProduct.typeProduct Spotlight? Destacados : Recomendados } if (viewState ListView || operation quickSearch) { dataProduct.listType (viewState ListView? viewState:operation) } if(isCategory){ if(CCRZ.productListPageModel.attributes.category.sfdcName Root: CochezB2C){ dataProduct.category Ofertas }else{ dataProduct.category CCRZ.productListPageModel.attributes.category.sfdcName } } CCRZ.pubSub.trigger(productClick, dataProduct); } function callCategoryLinkClick_DataLayer(e) { let dataPromo JSON.parse(e.currentTarget.getAttribute(data-category)) if(dataPromo ! null || dataPromo ! undefined){ CCRZ.pubSub.trigger(promoClick, dataPromo) }else{ console.log(vacio) } } // CLICK CATEGORY FUNCTION - CALL click_Category_Event - JELLYFISH function callCategoryLinkClick_DataLayer_Alt(e) { let category JSON.parse(e.currentTarget.getAttribute(data-category)) if(category ! null || category ! undefined){ CCRZ.pubSub.trigger(click_Category_Event, category); }else{ console.log(Category click empty); } } // ********************************************************************************************************************** // CUSTOM EVENTS // ********************************************************************************************************************** //****** USER DATA - JELLYFISH ***** function setDataLayer_UserData() { loginStatus CCRZ.currentUser.UserType Guest ? Guest : logged in; let data { event: user_data, login_status: loginStatus, user_id : CCRZ.currentUser.Id } pushDataLayer(data); } //****** SIGN UP - JELLYFISH ***** function setDataLayer_SignUp(signUp_Data) { let data { event: sign_up, user_id : No-Id, email: SHA256(signUp_Data.email) } pushDataLayer(data); } //****** PICK STORE - JELLYFISH ***** function setDataLayer_PickStore(store) { let data { event: pick_store, store_name: store } pushDataLayer(data); } //****** CLICK FOOTER MENU - JELLYFISH ***** function setDataLayer_ClickFooterMenu(SelectedOption) { let data { event: click_footer_menu, option: SelectedOption } pushDataLayer(data); } //****** CLICK FOOTER SOCIAL NETWORK - JELLYFISH ***** function setDataLayer_ClickFooterSocial(SelectedOption) { let data { event: click_social_media, option: SelectedOption } pushDataLayer(data); } //****** CLICK FOOTER SOCIAL NETWORK - JELLYFISH ***** function setDataLayer_ClickPhone() { let data { event: click_phone } pushDataLayer(data); } //****** CLICK CALCULATOR - JELLYFISH ***** function setDataLayer_ClickCalc(title, width, depth) { let data { event: click_calculator, calculator_type: title, Input : width + | + depth } pushDataLayer(data); } //****** CLICK USER MENU - JELLYFISH ***** function setDataLayer_click_UserMenuItem(name) { let data { event: click_user_menu, option: name } pushDataLayer(data); } //****** OPEN CATALOG - JELLYFISH ***** function setDataLayer_Click_Open_Catalog(name) { let data { event: open_catalog, catalog_id: name } pushDataLayer(data); } //****** CHECK INVENTORY - JELLYFISH ***** function setDataLayer_check_inventory(name) { let data { event: check_inventory, store_name: name } pushDataLayer(data); } //****** CLICK MENU - JELLYFISH ***** function setDataLayer_ClickMenu(isSubMenu, selectecItem, parentItem) { let data; if (isSubMenu) { data { event: click_products_menu, option: parentItem, option_detail: selectecItem } }else{ data { event: click_products_menu, option: selectecItem } } pushDataLayer(data); } //****** CLICK CATEGORY - JELLYFISH ***** function setDataLayer_Click_Category(promoClick) { console.log(setDataLayer_Click_Category(promoClick) --> , promoClick); let name ; if (promoClick.title) { name promoClick.title }else{ name promoClick.name } let data { event : click_categorias_destacadas, option: name } pushDataLayer(data); } //****** CLICK CALCULATE PDP - JELLYFISH ***** function setDataLayer_click_Calculate(neededValue, requestedValue) { // console.log(setDataLayer_click_Calculate - neededValue --> , neededValue); // console.log(setDataLayer_click_Calculate - requestedValue --> , requestedValue); let data { event : calculate, result: `${neededValue} cajas para ${requestedValue} m2` } pushDataLayer(data); } //****** CLICK CALCULATE PDP - JELLYFISH ***** function setDataLayer_click_Refund(refundJSON) { // console.log(setDataLayer_click_Refund - refundJSON --> , refundJSON); let data { event : click_refund, transaction_id: refundJSON.originatedOrder, order_status : refundJSON.status, tracking_id : , total : refundJSON.total, revenue : refundJSON.total, items : } refundJSON.returnItems.forEach(product > { let returnedProduct; returnedProduct { item_name : product.productName, item_id : product.productId, price : product.price, item_brand : , item_category : , item_category2: , item_variant : , quantity : product.quantityReturned } data.items.push(returnedProduct); }); pushDataLayer(data); } //****** CLICK CALCULATE PDP - JELLYFISH ***** function setDataLayer_click_Tracking(dataJSON) { // console.log(setDataLayer_click_Tracking - dataJSON --> , dataJSON); let beeData dataJSON.datos.response; let data { event : track_order, transaction_id: dataJSON.orden, order_status : beeData.status, tracking_id : beeData.beecode, total : , revenue : , items : } beeData.items.forEach(item > { let trackingProduct; trackingProduct { item_name : item.name, item_id : item.id, price : , item_brand : , item_category : , item_category2: , item_variant : , quantity : item.quantity } data.items.push(trackingProduct); }); pushDataLayer(data); } //****** SEARCH - JELLYFISH ***** function setDataLayer_Search(search_term, item_list_name) { // console.log(setDataLayer_Search - search_term --> , search_term); // console.log(setDataLayer_Search - item_list_name --> , item_list_name); let data { event : search, search_term : search_term, item_list_name: item_list_name ? item_list_name : } pushDataLayer(data); } //****** SEARCH RESULTS - JELLYFISH ***** function setDataLayer_Search_Result(search_term, quantity) { // console.log(setDataLayer_Search_Result - search_term --> , search_term); // console.log(setDataLayer_Search_Result - quantity --> , quantity); let data { event : search, search_term : search_term, result_quantity: quantity } pushDataLayer(data); } //****** CLICK COMPARE - JELLYFISH ***** function setDataLayer_Click_Compare(products) { // console.log(setDataLayer_Click_Compare - products --> , products); let data { event : click_compare, items : } products.forEach(item > { let Product; product { item_name : item.name, item_id : item.id, item_list_id : , price : item.price, discount : item.basePrice && item.price ? item.basePrice - item.price : 0, currency : CCRZ.pagevars.currencyData.currencyName, item_brand : item.brandName undefined? : item.brandName, item_category : , item_category2: , quantity : item.quantity, stock : } data.items.push(product); }); pushDataLayer(data); } //****** SEARCH - JELLYFISH ***** function setDataLayer_filter(option) { // console.log(setDataLayer_filter - option --> , option); let data { event : click_filter, option : option } pushDataLayer(data); } // ********************************************************************************************************************** // ECOMMERCE EVENTS // ********************************************************************************************************************** //-------------------------------------------------------------------------------- // --------------- EVENTO: IMPRESSIONS ---------------- //-------------------------------------------------------------------------------- //---------- HOME CAROUSELS ------------ function setDataLayer_CarouselProductPrint(productList, listTitle) { // console.log(setDataLayer_ProductPrint productList received -->, productList); let data { event: view_item_list, ecommerce: { items: } } let productIndex 0; let storefront CCRZ.pagevars.storefrontName; for(product of productList){ // console.log(product solo -> , product.model.attributes) let sku; if (CCRZ.pagevars.storefrontName B2CCochez && product.mockProduct.SKUCochez) { sku product.mockProduct.SKUCochez; }else if (CCRZ.pagevars.storefrontName B2CNovey && product.mockProduct.SKUNovey) { sku product.mockProduct.SKUNovey; }else{ sku product.mockProduct.SKU; } data.ecommerce.items.push({ item_name: product.mockProduct.sfdcName, item_id: sku, item_list_name: listTitle, item_list_id: , price: product.mockProduct.price, discount: product.mockProduct.basePrice && product.mockProduct.price ? product.mockProduct.basePrice - product.mockProduct.price: 0, currency: CCRZ.pagevars.currencyData.currencyName, item_brand: product.mockProduct.brandName, item_category: , item_category2: , index: (productIndex + 1) }); productIndex++ } // console.log(setDataLayer_CarouselProductPrint , data); pushDataLayer(data); }; //****** SEARCH - JELLYFISH ***** function setDataLayer_selectitem(product, category) { // // console.log(setDataLayer_filter - option --> , option); // // item.basePrice && item.price ? item.basePrice - item.price : 0, let data { event : select_item, ecommerce: { items: { item_name: product.name, item_id: product.SKU, item_list_name: , item_list_id: , price: product.price, discount: 4.34, // cuando aplique en ofertas currency: USD, item_brand: product.brandName, item_category: , item_category2: , quantity: 1 } } } pushDataLayer(data); } // dataLayer.push({ // event: select_item, // ecommerce: { // items: { // item_name: Porcelanato de 30cm x 60cm Fachaleta 7077 - caja // de 1.08m2, // item_id: A057-000009, // item_list_name: home, // búsqueda, productos similares, // otros clientes también vieron // item_list_id: AZ-01234, // price: 15.09, // discount: 4.34, // cuando aplique en ofertas // currency: USD, // item_brand: TITANIUM, // item_category: Pisos, Paredes y Acabados, // item_category2: Paredes Porcelanato, // quantity: ‘1’ // } // } // }); //---------- Format data function setDataLayer_ProductPrint(productList) { // console.log(setDataLayer_ProductPrint , productList); let data { ecommerce: { currencyCode: CCRZ.pagevars.currencyData.currencyName, impressions: } } // console.log(data ----> , data) let productIndex 0, viewState new URLSearchParams(window.location.search).getAll(viewState)0, operation new URLSearchParams(window.location.search).getAll(operation)0, listType , isCategory CCRZ.productListPageModel ! undefined? CCRZ.productListPageModel.attributes.isCategory : , categoryName if(isCategory){ if(CCRZ.productListPageModel.attributes.category.sfdcName Root: CochezB2C){ categoryName Ofertas }else{ categoryName CCRZ.productListPageModel.attributes.category.sfdcName } } // CCRZ.productListPageModel.attributes.category.sfdcName Root: CochezB2C? Ofertas : product.model.attributes.category.sfdcName) : if (viewState ListView || operation quickSearch) { listType (viewState ListView? viewState:operation) // console.log(listType -> , listType) } for(product of productList){ // console.log(product solo -> , product.model.attributes) data.ecommerce.impressions.push({ name: product.model.attributes.sfdcName, id: product.model.attributes.SKU, price: product.model.attributes.price, brand: product.model.attributes.brandName undefined? : product.model.attributes.brandName, category: isCategory? categoryName : , variant: , list: listType, position: (productIndex + 1) }); productIndex++ // console.log(productIndex , data) } pushDataLayer(data) }; //-------------------------------------------------------------------------------- // --------------- EVENTO: RELATED PRODUCT IMPRESSIONS ---------------- //-------------------------------------------------------------------------------- //---------- Listener CCRZ.pubSub.on(relatedProductPrint, function(productList, sectionName) { // console.log(productPrint , productList) if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_RelatedProductPrint(productList, sectionName) } }); //---------- Format data function setDataLayer_RelatedProductPrint(productList, sectionName) { // console.log(setDataLayer_ProductPrint , productList) let data { ecommerce: { currencyCode: CCRZ.pagevars.currencyData.currencyName, impressions: } } // console.log(data ----> , data) let productIndex 0 for(product of productList){ // console.log(product solo -> , product.model.attributes) if(sectionName Cart_CrossSell){ data.ecommerce.impressions.push({ name: product.mockProduct.sfdcName, id: product.mockProduct.sku, price: product.price, brand: product.mockProduct.brandName undefined? : product.mockProduct.brandName, category: , variant: , list: sectionName + carousel, position: (productIndex + 1) }); }else{ data.ecommerce.impressions.push({ name: product.prodBean.sfdcName, id: product.prodBean.sku, price: product.price, brand: product.prodBean.brandName undefined? : product.prodBean.brandName, category: , variant: , list: Product Detail - + sectionName + carousel, position: (productIndex + 1) }); } productIndex++ // console.log(productIndex , data) } pushDataLayer(data) }; //******* LOAD LIST OF PRODUCT ON CAROUSEL OF ******* //******* RELATED PRODUCTS PDP AND CROSS-SELL ON CHECKOUT ******* //******* JELLYFISH ******* function setDataLayer_RelatedProductPrint_Alt(productList, sectionName, listTitle) { // console.log(setDataLayer_ProductPrint , productList) let data { event: view_item_list, ecommerce: { items: } } let prodBase , productIndex 0, storefront CCRZ.pagevars.storefrontName; for(product of productList){ if(sectionName Cart_CrossSell){ prodBase productmockProduct; }else{ prodBase productprodBean; } let sku; if (storefront B2CCochez && prodBase.SKUCochez) { sku prodBase.SKUCochez; }else if (storefront B2CNovey && prodBase.SKUNovey) { sku prodBase.SKUNovey; }else{ sku prodBase.SKU; } data.ecommerce.items.push({ item_name: prodBase.sfdcName, item_id: sku, item_list_name: listTitle, item_list_id: , price: product.price, discount: product.basePrice && product.price ? product.basePrice - product.price: 0, currency: CCRZ.pagevars.currencyData.currencyName, item_brand: prodBase.brandName undefined? : prodBase.brandName, item_category: , item_category2: , index: (productIndex + 1) }); productIndex++ } pushDataLayer(data) }; //-------------------------------------------------------------------------------- // --------------- EVENTO: PRODUCT DETAIL IMPRESSION ---------------- //-------------------------------------------------------------------------------- //---------- Listener CCRZ.pubSub.on(productDetailPrint, function(productList) { // console.log(productPrint , productList) if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_ProductDetailPrint(productList) } // * * * UPDATE CART ITEMS MARKETING CLOUD PIXEL * * * if(is_MC_Pixel_Active() && (CCRZ.getPageConfig(sfmc.acc_id, ) ! && CCRZ.getPageConfig(sfmc.acc_id, ) ! Empty) ){ setTimeout(() > { if(CCRZ.getPageConfig(env.isprod,false)){ _etmc.push(setOrgId, CCRZ.getPageConfig(sfmc.acc_id, )); _etmc.push(trackPageView, { item : productList.SKU}); }else{ console.log(Product SKU > , productList0.SKU); } }, 500); } }); //---------- Format data function setDataLayer_ProductDetailPrint(productList) { // console.log(setDataLayer_ProductPrint , productList) let data { ecommerce: { detail: { actionField: {list: }, products: } } } // console.log(data ----> , data) let productIndex 0, viewState new URLSearchParams(window.location.search).getAll(viewState)0, operation new URLSearchParams(window.location.search).getAll(operation)0, listType , isCategory CCRZ.productListPageModel ! undefined? CCRZ.productListPageModel.attributes.isCategory : , categoryName if(isCategory){ if(CCRZ.productListPageModel.attributes.category.sfdcName Root: CochezB2C){ categoryName Ofertas }else{ categoryName CCRZ.productListPageModel.attributes.category.sfdcName } } // CCRZ.productListPageModel.attributes.category.sfdcName Root: CochezB2C? Ofertas : product.model.attributes.category.sfdcName) : if (viewState ListView || operation quickSearch) { listType (viewState ListView? viewState:operation) // console.log(listType -> , listType) } for(product of productList){ // console.log(product solo -> , product.model.attributes) data.ecommerce.detail.products.push({ name: product.sfdcName, id: product.SKU, price: product.price, brand: product.brandName undefined? : product.brandName, category: getCategoryNameFromFilterDataProp(product.filterData), variant: }); productIndex++ } pushDataLayer(data); }; //---------- PRODUCT DETAIL VIEW - JELLYFISH function setDataLayer_ProductDetailPrint_Alt(productList) { // console.log(setDataLayer_ProductDetailPrint_Alt , productList); let data { event: view_item, ecommerce: { items: } } // console.log(data ----> , data) let productIndex 0, viewState new URLSearchParams(window.location.search).getAll(viewState)0, operation new URLSearchParams(window.location.search).getAll(operation)0, listType , isCategory CCRZ.productListPageModel ! undefined? CCRZ.productListPageModel.attributes.isCategory : , categoryName if(isCategory){ if(CCRZ.productListPageModel.attributes.category.sfdcName Root: CochezB2C){ categoryName Ofertas; }else{ categoryName CCRZ.productListPageModel.attributes.category.sfdcName; } } if (viewState ListView || operation quickSearch) { listType (viewState ListView? viewState:operation); // console.log(listType -> , listType) } for(product of productList){ // console.log(product solo -> , product.model.attributes) let sku; if (CCRZ.pagevars.storefrontName B2CCochez && product.SKUCochez) { sku product.SKUCochez; }else if (CCRZ.pagevars.storefrontName B2CNovey && product.SKUNovey) { sku product.SKUNovey; }else{ sku product.SKU; } data.ecommerce.items.push({ item_name: product.sfdcName, item_id: sku, item_list_name: , // búsqueda, productos similares, otros clientes también vieron item_list_id: , price: product.price, discount: product.basePrice && product.price ? product.basePrice - product.price: 0, // cuando aplique en ofertas currency: CCRZ.pagevars.currencyData.currencyName, item_brand: product.brandName undefined? : product.brandName, item_category: getCategoryNameFromFilterDataProp(product.filterData), item_category2: , quantity: , stock: }); productIndex++ } pushDataLayer(data) }; //-------------------------------------------------------------------------------- // --------------- EVENTO: CART ITEMS IMPRESSION -------------------- //-------------------------------------------------------------------------------- //---------- Listener CCRZ.pubSub.on(cartItemsPrint, function(items) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_CartItemsPrint(items) } }) //---------- Format data function setDataLayer_CartItemsPrint(items){ let data { ecommerce: { currencyCode: CCRZ.pagevars.currencyData.currencyName, impressions: } } let productIndex 0 for(item of items){ data.ecommerce.impressions.push({ name: item.attributes.product.sfdcName, id: item.attributes.product.SKU, price: item.attributes.price, brand: item.attributes.product.brandName undefined? : item.attributes.product.brandName, category: , variant: , list: Cart Items, position: (productIndex + 1), quantity: item.attributes.quantity }); productIndex++ } pushDataLayer(data) } //******** VIEW CART - JELLYFISH ******** function setDataLayer_ViewCart_Alt(items, totalAmount){ let data { event : view_cart, currency : CCRZ.pagevars.currencyData.currencyName, value : totalAmount, ecommerce : { items : } } for(item of items){ data.ecommerce.items.push({ item_id: item.attributes.product.SKU, item_name: item.attributes.product.sfdcName, item_brand: item.attributes.product.brandName undefined? : item.attributes.product.brandName, item_category: , item_category2: , discount: item.attributes.originalItemPrice && item.attributes.price ? item.attributes.originalItemPrice - item.attributes.price: 0, price: item.attributes.price, currency: CCRZ.pagevars.currencyData.currencyName, quantity: item.attributes.quantity }); } pushDataLayer(data) } //-------------------------------------------------------------------------------- // --------------- EVENTO: CLICK PRODUCTO ---------------- //-------------------------------------------------------------------------------- //---------- Listener CCRZ.pubSub.on(productClick, function(productList) { // console.log(productClick , productList) if(CCRZ.getPageConfig(gtm.enable_dl,false)){ // setDataLayer_ProductClick(productList) setDataLayer_selectitem(productList); } }); //---------- Format data function setDataLayer_ProductClick(productList) { // console.log(setDataLayer_ProductPrint , productList) let data { event: productClick, ecommerce: { click: { actionField: {list: productList.listType}, // Optional list property. products: { name: productList.name, // Name or ID is required. id: productList.SKU, price: productList.price, brand: productList.brand undefined? :productList.brand, category: productList.category undefined? :productList.category, variant: productList.variant, position: productList.position } } } // , // eventCallback: function() { // document.location productList.productUrl // } } // console.log(data ----> , data) pushDataLayer(data) }; //-------------------------------------------------------------------------------- // --------------- EVENTO: ADD TO CART ---------------- //-------------------------------------------------------------------------------- //---------- Listener // add to cart old CCRZ.pubSub.on(addToCartSuccess, function(qty, typeProduct, dataProduct) { if(CCRZ.getPageConfig(hsm.enable_hs)){ hawkDataTrackCynx(qty, typeProduct, dataProduct);//gs code hawkSearch } if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_AddCart(qty, typeProduct, dataProduct); } // * * * UPDATE CART ITEMS MARKETING CLOUD PIXEL * * * if(is_MC_Pixel_Active()){ setTimeout(() > { set_MC_Pixel_Tracking_CartItems() }, 1500); } }); //---------- NEW ADD TO CART - JELLYFISH function setDataLayer_Add_To_Cart(qty, typeProduct, dataProduct) { let data { event: add_to_cart, ecommerce: { items: } }; let viewState new URLSearchParams(window.location.search).getAll(viewState)0; let operation new URLSearchParams(window.location.search).getAll(operation)0; if( viewState undefined && (typeProduct ! Spotlight && typeProduct ! Featured) ){ viewState DetailView } if(typeProduct Spotlight || typeProduct Featured){ viewState ListView dataProduct.category typeProduct Spotlight? Destacados : Recomendados } if (viewState ListView || operation quickSearch || window.location.pathname.includes(ccrz__ProductList)) { let catName ; if(typeProduct Spotlight){ catName getCategoryNameFromFilterDataProp(CCRZ.productsPromosView.data.Spotlight.find(x > x.mockProduct.SKU dataProduct.sku).mockProduct.filterData); } else if(typeProduct Featured){ try { catName getCategoryNameFromFilterDataProp(CCRZ.views.featuredProduct1View.model.attributes.Featured.find(x > x.mockProduct.SKU dataProduct.sku).mockProduct.filterData); } catch (error) { catName ; } } else{ catName getCategoryNameFromFilterDataProp(CCRZ.productListPageView.productItemsView.collection.models.find(x > x.attributes.SKU dataProduct.sku).attributes.filterData); } data.ecommerce.items.push({ item_name: dataProduct.name, item_id: dataProduct.brandSku, item_list_name: dataProduct.item_list_name, item_list_id: , price: dataProduct.price, currency: CCRZ.pagevars.currencyData.currencyName, item_brand: dataProduct.brandName undefined? : dataProduct.brandName, item_category: , item_category2: , quantity: qty, stock: }); setLocalStorageDatalayerCategoryProduct({prod: dataProduct.sku, cat: catName }, false); } else if (viewState DetailView) { if (typeProduct Dynamic Kit) { let prods CCRZ.dynamicKitView.selView.dataSet.selList.toJSON(); for (p of prods) { data.ecommerce.items.push({ item_name: p.name, item_id: p.sku, item_list_name: p.item_list_name, item_list_id: , price: p.price, currency: CCRZ.pagevars.currencyData.currencyName, item_brand: p.brandName undefined? : p.brandName, item_category: p.category undefined? : p.category, item_category2: , quantity: p.qty, stock: }); } } else { data.ecommerce.items.push({ item_name: dataProduct.name, item_id: dataProduct.sku, item_list_name: dataProduct.item_list_name, item_list_id: , price: dataProduct.price, currency: CCRZ.pagevars.currencyData.currencyName, item_brand: dataProduct.brandName undefined? : dataProduct.brandName, item_category: dataProduct.category undefined ? getCategoryNameFromFilterDataProp(CCRZ.productDetailModel.attributes.product.prodBean.filterData) : dataProduct.category, item_category2: , quantity: qty, stock: }); setLocalStorageDatalayerCategoryProduct({prod: dataProduct.sku, cat: getCategoryNameFromFilterDataProp(CCRZ.productDetailModel.attributes.product.prodBean.filterData) }, false); } } pushDataLayer(data) } //---------- Format data function setDataLayer_AddCart(qty, typeProduct, dataProduct) { let data { event: addToCart, ecommerce: { currencyCode: CCRZ.pagevars.currencyData.currencyName, add: { products: } } }; let viewState new URLSearchParams(window.location.search).getAll(viewState)0; let operation new URLSearchParams(window.location.search).getAll(operation)0; if( viewState undefined && (typeProduct ! Spotlight && typeProduct ! Featured) ){ viewState DetailView } if(typeProduct Spotlight || typeProduct Featured){ viewState ListView dataProduct.category typeProduct Spotlight? Destacados : Recomendados } if (viewState ListView || operation quickSearch || window.location.pathname.includes(ccrz__ProductList)) { let catName ; if(typeProduct Spotlight){ catName getCategoryNameFromFilterDataProp(CCRZ.productsPromosView.data.Spotlight.find(x > x.mockProduct.SKU dataProduct.sku).mockProduct.filterData); } else if(typeProduct Featured){ try { catName getCategoryNameFromFilterDataProp(CCRZ.views.featuredProduct1View.model.attributes.Featured.find(x > x.mockProduct.SKU dataProduct.sku).mockProduct.filterData); } catch (error) { catName ; } } else{ catName getCategoryNameFromFilterDataProp(CCRZ.productListPageView.productItemsView.collection.models.find(x > x.attributes.SKU dataProduct.sku).attributes.filterData); } data.ecommerce.add.products.push({ name: dataProduct.name, id: dataProduct.sku, price: dataProduct.price, brand: dataProduct.brandName undefined? : dataProduct.brandName, category: catName, variant: , qty: qty }); setLocalStorageDatalayerCategoryProduct({prod: dataProduct.sku, cat: catName }, false); } else if (viewState DetailView) { if (typeProduct Dynamic Kit) { let prods CCRZ.dynamicKitView.selView.dataSet.selList.toJSON(); for (p of prods) { data.ecommerce.add.products.push({ name: p.name, id: p.sku, price: p.price, brand: p.brandName undefined? : p.brandName, category: p.category undefined? : p.category, variant: , qty: p.qty }); } } else { data.ecommerce.add.products.push({ name: dataProduct.name, id: dataProduct.sku, price: dataProduct.price, brand: dataProduct.brandName undefined? : dataProduct.brandName, category: dataProduct.category undefined ? getCategoryNameFromFilterDataProp(CCRZ.productDetailModel.attributes.product.prodBean.filterData) : dataProduct.category, variant: , qty: qty }); setLocalStorageDatalayerCategoryProduct({prod: dataProduct.sku, cat: getCategoryNameFromFilterDataProp(CCRZ.productDetailModel.attributes.product.prodBean.filterData) }, false); } } pushDataLayer(data) } //-------------------------------------------------------------------------------- // --------------- EVENTO: UPDATE ITEM FROM CART ----------- //-------------------------------------------------------------------------------- //---------- Listener CCRZ.pubSub.on(updateItemFromCart, function(dataProduct) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_UpdateItemCart(dataProduct) } // * * * UPDATE CART ITEMS MARKETING CLOUD PIXEL * * * if(is_MC_Pixel_Active()){ setTimeout(() > { set_MC_Pixel_Tracking_CartItems() }, 1500); } }); //---------- Format data function setDataLayer_UpdateItemCart(dataProduct) { let isRem, isAdd false let dataRem { event: removeFromCart, ecommerce: { remove: { products: } } }; let dataAdd { event: addToCart, ecommerce: { currencyCode: CCRZ.pagevars.currencyData.currencyName, add: { products: } } }; for(products of dataProduct){ if(products.attributes.quantity ! products.attributes.originalQuantity){ if(products.attributes.quantity products.attributes.originalQuantity){ isRem true dataRem.ecommerce.remove.products.push({ name: products.attributes.product.sfdcName, id: products.attributes.product.SKU, price: products.attributes.price, brand: products.attributes.product.brandName undefined? : products.attributes.product.brandName, category: , variant: , qty: (products.attributes.originalQuantity - products.attributes.quantity) }); } else if (products.attributes.quantity > products.attributes.originalQuantity){ isAdd true dataAdd.ecommerce.add.products.push({ name: products.attributes.product.sfdcName, id: products.attributes.product.SKU, price: products.attributes.price, brand: products.attributes.product.brandName undefined? : products.attributes.product.brandName, category: , variant: , qty: (products.attributes.quantity - products.attributes.originalQuantity) }); } } } if(isRem){ pushDataLayer(dataRem) } if(isAdd){ pushDataLayer(dataAdd) } } //-------------------------------------------------------------------------------- // --------------- EVENTO: REMOVE FROM CART ---------------- //-------------------------------------------------------------------------------- //---------- Listener CCRZ.pubSub.on(removeItemFromCart, function(prodRem) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_RemoveItemCart(prodRem) } }); //---------- Format data function setDataLayer_RemoveItemCart(prodRem) { let dataRem { event: removeFromCart, ecommerce: { remove: { products: } } }; dataRem.ecommerce.remove.products.push({ name: prodRem.product.sfdcName, id: prodRem.product.SKU, price: prodRem.product.price, brand: prodRem.product.brandName undefined ? : prodRem.product.brandName, category: , variant: , qty: prodRem.quantity }); pushDataLayer(dataRem) } //******** REMOVE ITEM FROM CART - JELLYFISH ******** function setDataLayer_RemoveItemCart_Alt(prodRem) { // console.log(setDataLayer_RemoveItemCart_Alt - prodRem --> , prodRem); let dataRem { event: remove_from_cart, ecommerce: { items: } }; let sku; if (CCRZ.pagevars.storefrontName B2CCochez && prodRem.product.SKUCochez) { sku prodRem.product.SKUCochez; }else if (CCRZ.pagevars.storefrontName B2CNovey && prodRem.product.SKUNovey) { sku prodRem.product.SKUNovey; }else{ sku prodRem.product.SKU; } dataRem.ecommerce.items.push({ item_name: prodRem.product.sfdcName, item_id: sku, item_list_name: , // búsqueda, productos similares, otros clientes también vieron item_list_id: , price: prodRem.price, currency: CCRZ.pagevars.currencyData.currencyName, item_brand: prodRem.product.brandName undefined ? : prodRem.product.brandName, item_category: , item_category2: , quantity: prodRem.quantity, stock: }); pushDataLayer(dataRem) } //-------------------------------------------------------------------------------- // --------------- EVENTO: PROMOVIEWS (IMPRESIONES DE PROMOS) ---------------- //-------------------------------------------------------------------------------- //---------- Listener CCRZ.pubSub.on(promoPrint, function(promoView) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_PromoPrint(promoView); } }); //---------- Format data function setDataLayer_PromoPrint(promoView) { var promoList promoView let data { ecommerce: { promoView: { promotions: } } }; for(promos of promoList){ data.ecommerce.promoView.promotions.push({ id: promos.sfid, name: promos.name, creative: , position: promos.pageLocation + + promos.locationType + + promos.sequence, }); } pushDataLayer(data) } function setDataLayer_PromoPrint_alt(promoView) { var promoList promoView let data { event: view_promotion, ecommerce: { items: } }; for(promos of promoList){ console.log(promoList - promos -> , promos); data.ecommerce.items.push({ item_name: , item_id: , item_list_name: promos.pageLocation + + promos.locationType, price: , discount: , item_brand: , item_category: , item_category2: , promotion_id: promos.sfid, promotion_name: promos.name, creative_name: promos.title, creative_slot: , index: promos.sequence, quantity: }); } pushDataLayer(data) } //-------------------------------------------------------------------------------- // --------------- EVENTO: PROMOCLICK (CLICKS DE PROMOS) ---------------- //-------------------------------------------------------------------------------- //---------- Listener CCRZ.pubSub.on(promoClick, function(promoClick) { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_PromoClick(promoClick) } }); //---------- Format data function setDataLayer_PromoClick(promoClick) { let data { event: promotionClick, ecommerce: { promoClick: { promotions: { id: promoClick.sfid, name: promoClick.name, creative: , position: promoClick.pageLocation + + promoClick.locationType + + promoClick.sequence } } } // , // eventCallback: function() { // document.location productList.productUrl // } } pushDataLayer(data) }; //---------- PROMOTIONS CLICK - JELLYFISH function setDataLayer_PromoClick_Alt(promoClick) { let data { event: select_promotion, ecommerce: { items: { promotion_id: promoClick.sfid, promotion_name: promoClick.name, creative_name: promoClick.pageLocation + + promoClick.locationType, creative_slot: } } } pushDataLayer(data) }; //-------------------------------------------------------------------------------- // --------------- EVENTO: PURCHASE PROCCESS ---------------- //-------------------------------------------------------------------------------- //---------- Listeners CCRZ.pubSub.on(Datalayer_onCheckout, function(co_step, co_option, co_productsList) { // console.log(ejecuta pubsub checkout datalayer) if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_onCheckoutStep( co_step, co_option, co_productsList ) } }); CCRZ.pubSub.on(view:PaymentsCCView:refresh, function() { if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_onCheckoutStep( 2, Payments, CCRZ.miniCartCheckoutModel.attributes ) } }) //---------- Format data function setDataLayer_onCheckoutStep(co_step, co_option, co_productsList) { let data { event: checkout, ecommerce: { checkout: { actionField: {step: co_step, option: co_option}, products: } } } // console.log(co_productsList ->,co_productsList) let productList co_productsList.cartItems for(product of productList){ item product.mockProduct ! undefined? product.mockProduct:product.product data.ecommerce.checkout.products.push({ name: item.name ! undefined? item.name:item.sfdcName, id: item.sku ! undefined? item.sku:item.SKU, price: product.price, brand: item.brandName undefined? : item.brandName, category: item.category undefined ? getCategoryNameFromLocalStorage(item.sku) : item.category, variant: , qty: product.quantity }); } pushDataLayer(data) } // ********************************************************** // ****************** CHECKOUT ALL STEPS ****************** // ****************** USER_INFO ***************** // ****************** SHIPPING_INFO ***************** // ****************** PAYMENT_INFO ***************** // ********************************************************** // ****************** JELLYFISH ***************** // ********************************************************** function setDataLayer_onCheckoutStep_Alt(co_step, co_option, co_productsList) { // console.log(setDataLayer_onCheckoutStep_Alt - co_option --> , co_option); // console.log(setDataLayer_onCheckoutStep_Alt - co_productsList --> , co_productsList); let data {} // debugger; switch (co_step) { case Begin: data { event : begin_checkout, currency : USD, value : co_productsList.subTotal, coupon : co_productsList.hasCoupon ? co_productsList.couponName : , ecommerce : { items : } } break; case 0: data { event : add_user_info, value : co_productsList.subTotal, coupon : co_productsList.hasCoupon ? co_productsList.couponName : , email : SHA256(co_productsList.buyerEmail), // email encriptado SHA256 ecommerce : { items : } } break; case 1: data { event : add_shipping_info, value : co_productsList.subTotal, coupon : co_productsList.hasCoupon ? co_productsList.couponName : , shipping_tier : co_option DOM? Envio a domicilio : Retiro en sucursal, // Entrega a domicilio ecommerce : { items : } } if(co_option SUC){ data.store_name co_productsList.CheckoutPayload.Store; } break; case 2: data { event : add_payment_info, value : co_productsList.subTotal, coupon : co_productsList.hasCoupon ? co_productsList.couponName : , payment_type : co_option, // Entrega a domicilio ecommerce : { items: } } if(co_option SUC){ data.store_name co_productsList.CheckoutPayload.Store; } break; default: console.log(* * * the system did nothing * * * ); break; } // console.log(co_productsList ->,co_productsList) let productList co_productsList.cartItems for(product of productList){ item product.mockProduct ! undefined? product.mockProduct:product.product data.ecommerce.items.push({ item_name: item.name ! undefined? item.name:item.sfdcName, item_id: item.sku ! undefined? item.sku:item.SKU, item_brand: item.brandName undefined? : item.brandName, item_category: item.category undefined ? getCategoryNameFromLocalStorage(item.sku) : item.category, item_category2: , discount: , // cuando aplique en ofertas price: product.price, currency: CCRZ.pagevars.currencyData.currencyName, quantity: product.quantity, stock: , }); } pushDataLayer(data); } //-------------------------------------------------------------------------------- // --------------- EVENTO: PURCHASE PROCCESS ---------------- //-------------------------------------------------------------------------------- //---------- Listener CCRZ.pubSub.on(purchaseSuccess, function(dataPurchase) { if(CCRZ.getPageConfig(debug.show_dcl, false)){ console.log(ejecuta pubsub purchase datalayer, dataPurchase) } if(CCRZ.getPageConfig(gtm.enable_dl,false)){ setDataLayer_PurchaseSuccess( dataPurchase ) } if(is_MC_Pixel_Active()){ set_MC_Pixel_PurchaseSuccess(dataPurchase) } //Activa traking para hawkSearch if(CCRZ.getPageConfig(hsm.enable_hs)){ hawkDataTrackOrderConfirmation(dataPurchase) } }); //---------- Format data google tag manager function setDataLayer_PurchaseSuccess(dataPurchase) { let data { ecommerce: { purchase: { actionField: { id: dataPurchase.sfdcName, // Transaction ID. Required for purchases and refunds ----- ORDER NUMBER ON SALESFORCE. affiliation: Online Store, revenue: dataPurchase.totalAmount, // Total transaction value (incl. tax and shipping) tax: dataPurchase.tax, shipping: dataPurchase.shippingCharge, coupon: dataPurchase.couponName }, products: // ------ PRODUCTS LIST HERE } } }; let productList dataPurchase.orderItems for(product of productList){ data.ecommerce.purchase.products.push({ name: product.mockProduct.name, id: product.mockProduct.sku, price: product.price, brand: product.mockProduct.brandName undefined? : product.mockProduct.brandName, category: product.mockProduct.category undefined ? getCategoryNameFromLocalStorage(product.mockProduct.sku) : product.mockProduct.category, variant: , qty: product.quantity }); } pushDataLayer(data); //borra el localstorage //setLocalStorageDatalayerCategoryProduct({}, true); } //---------- Format data google tag manager function setDataLayer_PurchaseSuccess_Alt(dataPurchase) { // debugger; let data { event: transaction, ecommerce: { transaction_id: dataPurchase.sfdcName, affiliation: Online Store, value: dataPurchase.subTotal, tax: dataPurchase.tax, // impuesto shipping: dataPurchase.shippingCharge, // Costo del envío currency: CCRZ.pagevars.currencyData.currencyName, coupon: dataPurchase.couponName, items: } }; let productList dataPurchase.orderItems for(product of productList){ data.ecommerce.items.push({ item_name: product.mockProduct.name, item_id: product.mockProduct.sku, price: product.price, item_brand: product.mockProduct.brandName undefined ? : product.mockProduct.brandName, item_category: product.mockProduct.category undefined ? getCategoryNameFromLocalStorage(product.mockProduct.sku) : product.mockProduct.category, item_category2: , item_variant: , quantity: product.quantity }); } pushDataLayer(data); //borra el localstorage //setLocalStorageDatalayerCategoryProduct({}, true); } function setDataLayer_ThanksYouPage(dataCustomEvent) { let data { event: thanksyoupage, ecommerce: { purchase: { actionField: { id: dataCustomEvent.sfdcName, affiliation: Online Store, revenue: dataCustomEvent.totalAmount, tax: dataCustomEvent.tax, shipping: dataCustomEvent.shippingCharge, coupon: dataCustomEvent.couponName }, products: // ------ PRODUCTS LIST HERE } } }; let productList dataCustomEvent.orderItems for(product of productList){ data.ecommerce.purchase.products.push({ name: product.mockProduct.name, id: product.mockProduct.sku, price: product.price, brand: product.mockProduct.brandName undefined? : product.mockProduct.brandName, category: product.mockProduct.category undefined ? getCategoryNameFromLocalStorage(product.mockProduct.sku) : product.mockProduct.category, variant: , qty: product.quantity }); } //CCRZ.pagevars.pageConfigenv.isprod TRUE pushDataLayer(data); //borra el localstorage setLocalStorageDatalayerCategoryProduct({}, true); } // }) /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id348> script> // Activa los handlebars jQuery(function($) { let gtmLabel ; if(CCRZ.pagevars.storefrontName B2CCochez || CCRZ.pagevars.storefrontName B2BCochez){ gtmLabel GTM-KB3LSJ2; }else{ gtmLabel GTM-57PWZ3B; } $(noscript>iframe srchttps://www.googletagmanager.com/ns.html?id+gtmLabel+ height0 width0 styledisplay:none;visibility:hidden>/iframe>/noscript>).prependTo($(body)); // replaces CCs OOTB rendering for Handlebars templates CCRZ.util.template function(id) { const uncompiledHB .hbs; var source $(# + id).html(); if (_.isUndefined(source)) { source ; if (Handlebars.templates) { compiledHB Handlebars.templatesid; if (_.isFunction(compiledHB)) { return compiledHB; } } if (id.indexOf(uncompiledHB) > 0) { // get uncompiled source $.ajax({ url: CCRZ.pagevars.themeBaseURL + tmpl/hbs/ + id, cache: true, async: false, success: function(data) { preSource div classexternalHB> + id + /div>; source ((CCRZ.getCookie(handlebars) ! ) ? preSource : ) + data; } }); } } else { preSource div classinternalHB> + id + /div>; source ((CCRZ.getCookie(handlebars) ! ) ? preSource : ) + source; } return Handlebars.compile(source); } }); /* //////////////////////////////////////////////////////// //////////////// GLOBAL AUXILIAR FUNCTIONS //////////////// */ ///////////////////////////////////////////////////////// // CLONE ANY OBJECT function cloneObject(objectToClone) { return JSON.parse(JSON.stringify(objectToClone)); } //Asigna a un span> un texto de error //Parametros: //elem: $(#elemento) o $(.clase) etc //message: mensaje de error function setMessageErrorInElement(elem, message) { elem.html(message).css(color, #ff0000); } //Limpia el span> de error //Parametros: //elem: $(#elemento) o $(.clase) etc //millisecond: 3000 o la cantidad de milisegundos que desee function hideMessageErrorInElement(elem, millisecond) { setTimeout(() > { elem.html(); }, millisecond); } //Deshabilita los input de un form //Parametros: //elem: $(#elemento) o $(.clase) etc //excludeInput: string de input que desea excluir separados por coma(,). Ejm: #txtInput1,.txtClassBtn,#txtArea function disabledForm(elem, excludeInput) { if (excludeInput ! undefined) { elem.not(excludeInput).prop(disabled, true); } else { elem.prop(disabled, true); } } //Habilita los input de un form //Parametros: //elem: $(#elemento) o $(.clase) etc function enabledForm(elem) { elem.prop(disabled, false); } //Valida si es visita o no function IsGuest() { if (CCRZ.currentUser.UserType Guest) { return true; } else { return false; } } //Retorna el nombre del día de la semana function getDayName(dayNumber) { let weekday new Array(7); weekday0 Global_DayName1; weekday1 Global_DayName2; weekday2 Global_DayName3; weekday3 Global_DayName4; weekday4 Global_DayName5; weekday5 Global_DayName6; weekday6 Global_DayName7; return weekdaydayNumber; } //Habilita los popovers de un form //Parametros: //elem: $(#elemento) o $(.clase) etc function showMessageTypePopover(elem, title, content, timeClose) { if(CCRZ.getPageConfig(pd.enablepopuppl)){ if($(elem).data(isavailableurl)){ elem.attr(data-html, true); let brandTitleCCRZ.productDetailModel.attributes.product.prodBean.brandName; let labelBrandCCRZ.pagevars.pageLabels.seeMoreProductsByBrand?CCRZ.pagevars.pageLabels.seeMoreProductsByBrand:; let writter; let storeCCRZ.pagevars.storefrontName; writter+p classfont-size-14px text-black m-0 font-weight-normal>+content+/p>; writter+u >a href+getUrlToProuctList(true)+ target_blank classfont-size-14px +(store B2CNovey?brand-color-important:)+>+ +labelBrand+ + brandTitle+/a>/u>; contentwritter; titlep classfont-size-14px text-black m-0 font-weight-normal>+title+/p>; } let timeToSet(CCRZ.getPageConfig(pd.settimepopup)?CCRZ.getPageConfig(pd.settimepopup):30000); timeCloseparseInt(timeToSet); } elem.attr(title, title); elem.attr(data-content, content); elem.attr(data-trigger, focus); elem.attr(data-toggle, popover); elem.attr(data-container, body); elem.attr(data-placement, top); elem.popover(show); setTimeout(() > { elem.popover(hide); elem.popover(destroy); }, timeClose); } function getJsonToAddCart(idProd, qty, typeProduct) { let data ; // ----- FIX FOR COMPARE PRODUCTS let viewState $(#viewState).val() undefined? ListView:$(#viewState).val() if (viewState ListView) { data.push({ prodId: idProd, qty: qty }); } else if (viewState DetailView) { if (typeProduct Dynamic Kit) { let prods CCRZ.dynamicKitView.selView.dataSet.selList.toJSON(); for (p of prods) { data.push({ prodId: p.id, qty: p.quantity }); } } else { data.push({ prodId: idProd, qty: qty }); } } return data; } function percentagesOfDiscount(price, basePrice){ let percent 100, result 0; result ((percent - (percent * price) / basePrice)).toFixed(); return result + %; } //-------------------------------------------------------------------------------- // ------------------ FORMATO DE NUMERO SEPARADO POR COMAS ----------------------- //-------------------------------------------------------------------------------- var formatNumber { separador: ,, // separador para los miles sepDecimal: ., // separador para los decimales formatear:function (num){ num +; var splitStr num.split(.); var splitLeft splitStr0; var splitRight splitStr.length > 1 ? this.sepDecimal + splitStr1 : ; var regx /(\d+)(\d{3})/; while (regx.test(splitLeft)) { splitLeft splitLeft.replace(regx, $1 + this.separador + $2); } return this.simbol + splitLeft + splitRight; }, new:function(num, simbol){ this.simbol simbol ||; return this.formatear(num); } } function cartItemsHasSelectSubscrip(){ if(CCRZ.cartCheckoutModel.attributes.cartItems){ let found CCRZ.cartCheckoutModel.attributes.cartItems.find(x > x.hasOwnProperty(subProdterm)); if(found){ return true; }else{ return false; } }else{ return false; } } function getPrefixStore() { return CCRZ.pagevars.storefrontName.toLowerCase().indexOf(cochez) > 0 ? C : N; } function getPrefixStore2() { return CCRZ.pagevars.storefrontName.toLowerCase().indexOf(cochez) > 0 ? CO : NO; } function getPrefixStore3(){ return CCRZ.pagevars.storefrontName.toLowerCase().indexOf(cochez) > 0 ? Chz : Nvy; } function getCodeCompany() { return CCRZ.pagevars.storefrontName.toLowerCase().indexOf(cochez) > 0 ? 01 : 03; } function getNameCompany(){ return CCRZ.pagevars.storefrontName.toLowerCase().indexOf(cochez) > 0 ? Cochez : Novey; } function getGeneralNameCategories() { returnRoot: CochezB2C, Root: NoveyB2C, Root: NoveyB2C2,Root: CochezB2B; } //-------------------------------------------------------------------------------- //-- REMOVE TEXT Provincia de FROM GOOGLE MAPS API RESULT //-------------------------------------------------------------------------------- function removeUnnecessaryText(text) { text text.replace(Provincia de , ).replace(Province, ).replace(Distrito de , ).replace(District, ); return text } //-------------------------------------------------------------------------------- //Funcion vieja updateMiniCartFields/* function updateMiniCartFields(){ // subtotal, tax, shipping let subtotal; if(CCRZ.pagevars.storefrontName.includes(B2B)){ subtotal (CCRZ.LLIPaymentModel.attributes.cartData.subtotalAmount ! undefined)? parseFloat(CCRZ.LLIPaymentModel.attributes.cartData.subtotalAmount) : 0, tax (CCRZ.LLIPaymentModel.attributes.cartData.taxAmount ! undefined)? parseFloat(CCRZ.LLIPaymentModel.attributes.cartData.taxAmount) : 0, shipping (CCRZ.LLIPaymentModel.attributes.cartData.shipAmount ! undefined)? parseFloat(CCRZ.LLIPaymentModel.attributes.cartData.shipAmount) : 0. itbmsString parseFloat(tax).toFixed(2), itbms parseFloat(itbmsString) }else{ subtotal (CCRZ.cartCheckoutView.model.attributes.subtotalAmount ! undefined)? parseFloat(CCRZ.cartCheckoutView.model.attributes.subtotalAmount) : 0, tax (CCRZ.cartCheckoutView.model.attributes.tax ! undefined)? parseFloat(CCRZ.cartCheckoutView.model.attributes.tax) : 0, shipping (CCRZ.cartCheckoutView.model.attributes.shippingCharge ! undefined)? parseFloat(CCRZ.cartCheckoutView.model.attributes.shippingCharge) : 0. itbmsString parseFloat(tax).toFixed(2), itbms parseFloat(itbmsString) } // totalAmount (subtotal + itbms + shippingCharge).toFixed(2) console.log(subtotal,subtotal, tac,tax, shipping,shipping ) subtotal parseFloat(subtotal) tax parseFloat(tax) shipping parseFloat(shipping) itbmsStringparseFloat(tax).toFixed(2); itbmsparseFloat(itbmsString); sumasubtotal + itbms + shipping; var totalsuma.toFixed(2); // console.log(totsum,sumaTot); // total parseFloat((subtotal + tax + shipping)).toFixed(2) // console.log(total,total); $(#writerTax).empty(); $(#writertotalAmount).empty(); $(#writerShip).empty(); $(#writerTax).append(formatNumber.new(itbms, $)); $(#writertotalAmount).append(formatNumber.new( total, $) ); $(#writerShip).append(formatNumber.new( shipping, $) ); //writeExtData(); $(.plusInfo).attr(style,display:block); $(.plusInfoTot).attr(style,display:block); $(.plusInfoEnv).attr(style,display:block); } */ //funcion nueva updateMiniCartFields function updateMiniCartFields() { let subtotal, tax, shipping, itbms; if (CCRZ.pagevars.storefrontName.includes(B2B)) { subtotal (CCRZ.LLIPaymentModel.attributes.cartData.subtotalAmount ! undefined) ? parseFloat(CCRZ.LLIPaymentModel.attributes.cartData.subtotalAmount) : 0; tax (CCRZ.LLIPaymentModel.attributes.cartData.taxAmount ! undefined) ? parseFloat(CCRZ.LLIPaymentModel.attributes.cartData.taxAmount) : 0; shipping (CCRZ.LLIPaymentModel.attributes.cartData.shipAmount ! undefined) ? parseFloat(CCRZ.LLIPaymentModel.attributes.cartData.shipAmount) : 0; itbms parseFloat(tax).toFixed(2); } else { subtotal (CCRZ.cartCheckoutView.model.attributes.subtotalAmount ! undefined) ? parseFloat(CCRZ.cartCheckoutView.model.attributes.subtotalAmount) : 0; tax (CCRZ.cartCheckoutView.model.attributes.tax ! undefined) ? parseFloat(CCRZ.cartCheckoutView.model.attributes.tax) : 0; shipping (CCRZ.cartCheckoutView.model.attributes.shippingCharge ! undefined) ? parseFloat(CCRZ.cartCheckoutView.model.attributes.shippingCharge) : 0; if (CCRZ.pagevars.pageConfigco.itbmsrecalcco TRUE) { if(CCRZ.cartCheckoutModel.attributes.buyerPhone ! Certificado) { if (CCRZ.cartCheckoutModel.attributes.accountR.taxExemptAccount false) { //if (tax 0) { tax (subtotal + shipping) * 0.07; tax tax.toFixed(2); CCRZ.cartCheckoutView.model.attributes.tax tax; // } } } } itbms parseFloat(tax).toFixed(2); } subtotal parseFloat(subtotal); tax parseFloat(tax); shipping parseFloat(shipping); suma subtotal + tax + shipping; var total suma.toFixed(2); if (CCRZ.pagevars.pageConfigco.itbmsrecalccoapex TRUE){ if(CCRZ.pagevars.storefrontName ! B2BCochez) { var remoteCall _.extend(CCRZ.RemoteInvocation, { className: AddToCartRemoteValidator }); remoteCall.invokeContainerLoadingCtx($(.deskLayout), resavetotal,CCRZ.cartView.cartmodel.attributes.encryptedId, subtotal,tax,total, function (res, err) { console.log(JMC >+JSON.stringify(res)); if(res ! null){ if(res.success){ console.log(JMC > recalculo actualizado); CCRZ.cartCheckoutModel.attributes.totalAmount total; CCRZ.cartCheckoutView.model.attributes.totalAmount total; buildDataB2c(); }else{ console.log(JMC > error al actualizar recalculo); } } }, { nmsp: false, escape: false, timeout: 10000, buffer: false }); } } $(#writerTax).empty(); $(#writertotalAmount).empty(); $(#writerShip).empty(); $(#writerTax).append(formatNumber.new(itbms, $)); $(#writertotalAmount).append(formatNumber.new(total, $)); $(#writerShip).append(formatNumber.new(shipping, $)); $(.plusInfo).attr(style, display:block); $(.plusInfoTot).attr(style, display:block); $(.plusInfoEnv).attr(style, display:block); } //termina funcion nueva updateMiniCartFields function writeExtData(){ $(#writerExtDataComprador).empty(); var writer; console.log(check type,CCRZ.CheckoutPayload.DeliveryType); if(CCRZ.CheckoutPayload.DeliveryTypeDOM){ writer+div classrow p-2>; if(CCRZ.pagevars.storefrontNameB2CNovey){ writer+spam class >Información de envío /spam>; } else if(CCRZ.pagevars.storefrontNameB2CCochez){ writer+spam classunderline underline-brand >Información de envío /spam>; } writer+p classmt-3 font-size-cochez-14>+CCRZ.processPageLabelMap(AddressInMap_Country) +: +CCRZ.CheckoutPayload.Country+ /p>; writer+ p classfont-size-cochez-14>+CCRZ.processPageLabelMap(Checkout_ship_description) +: +CCRZ.CheckoutPayload.addressDescription+/p> ; // writer+ p classfont-size-cochez-14>+CCRZ.processPageLabelMap(Checkout_ChooseDeliveryDate) +: +CCRZ.CheckoutPayload.liMainDelivery+ /p>; writer+ p classfont-size-cochez-14>+CCRZ.processPageLabelMap(Checkout_ChooseDeliveryDate) +: +CCRZ.CheckoutPayload.DeliveryDate+ /p>; writer+/div>; }else if(CCRZ.CheckoutPayload.DeliveryTypeSUC){ writer+div classrow p-2>; if(CCRZ.pagevars.storefrontNameB2CNovey){ writer+spam class >Información de retiro /spam>; } else if(CCRZ.pagevars.storefrontNameB2CCochez){ writer+spam classunderline underline-brand >Información de retiro /spam>; } writer+p classmt-3 font-size-cochez-14>+CCRZ.processPageLabelMap(Checkout_suc_description) +: +CCRZ.CheckoutPayload.DeliveryTypeDesc+ /p>; writer+ p classfont-size-cochez-14>+CCRZ.processPageLabelMap(Checkout_suc_select) +: +CCRZ.CheckoutPayload.Store+/p> ; writer+/div>; } $(#writerExtDataComprador).append(writer); } function writerData( name,ape,email){ $(#writerDataComprador).empty(); // var apeCCRZ.cartCheckoutView.model.attributes.buyerLastName; // var emailCCRZ.cartCheckoutView.model.attributes.buyerEmail; var writer; writer+div classrow >; if(CCRZ.pagevars.storefrontNameB2CNovey){ writer+div classpb-3 col-xs-12>spam class> + CCRZ.processPageLabelMap(Component_MiniCart_BuyerInformation) + /spam>/div>; } else if(CCRZ.pagevars.storefrontNameB2CCochez){ writer+div classpb-3 col-xs-12>spam classunderline underline-brand> + CCRZ.processPageLabelMap(Component_MiniCart_BuyerInformation) + /spam>/div>; } writer+/div>; writer+div classfont-size-cochez-14 row my-style-f>; if(CCRZ.pagevars.storefrontNameB2CNovey){ writer+div classcol-xs-6>p> + CCRZ.processPageLabelMap(Name) + :/p>/div>; writer+div classcol-xs-6>p classpull-right>+name+ +ape+/p>/div>; }else if(CCRZ.pagevars.storefrontNameB2CCochez){ writer+div classcol-xs-6>p> + CCRZ.processPageLabelMap(Name) + : +name+ +ape+/p>/div>; // writer+div classcol-xs-6>p classpull-right>+name+ +ape+/p>/div>; } writer+/div>; writer+div classfont-size-cochez-14 row my-style-f>; if(CCRZ.pagevars.storefrontNameB2CNovey){ writer+div classcol-xs-6>p> + CCRZ.processPageLabelMap(EMail) + /p>/div>; writer+div classcol-xs-6>p classpull-right>+email+/p>/div>; }else if(CCRZ.pagevars.storefrontNameB2CCochez){ writer+div classcol-xs-12>p> + CCRZ.processPageLabelMap(EMail) + : +email+/p>/div>; } writer+/div>; $(#writerDataComprador).append(writer); } function paintCustomerData(){ if(CCRZ.pagevars.isGuest){ var namePCCRZ.cartCheckoutView.model.attributes.buyerFirstName; var apePCCRZ.cartCheckoutView.model.attributes.buyerLastName; var emailPCCRZ.cartCheckoutView.model.attributes.buyerEmail; writerData(nameP, apeP,emailP); }else{ var namePCCRZ.currentUser.FirstName; var apePCCRZ.currentUser.LastName; var emailPCCRZ.currentUser.Email; writerData(nameP, apeP,emailP); } } function clearAmuntAndDelivaryData(){ $(#writerTax).empty(); $(#writertotalAmount).empty(); $(#writerShip).empty(); $(#writerExtDataComprador).empty(); $(.plusInfo).attr(style,display:none); $(.plusInfoTot).attr(style,display:none); $(.plusInfoEnv).attr(style,display:none); } function updateInfo(){ CCRZ.LoadTaxMiniCartnull; if(CCRZ.pagevars.currentPageName ccrz__CheckoutNew){ if(CCRZ.pagevars.isGuest){ CCRZ.LoadTaxMiniCart setInterval(function() { if(!(typeof CCRZ.cartCheckoutView.model.attributes.buyerFirstName undefined)){ // var namePCCRZ.cartCheckoutView.model.attributes.buyerFirstName; // var apePCCRZ.cartCheckoutView.model.attributes.buyerLastName; // var emailPCCRZ.cartCheckoutView.model.attributes.buyerEmail; // writerData(nameP, apeP,emailP); paintCustomerData() if(CCRZ.CheckoutPayload!undefined){ writeExtData(); } updateMiniCartFields(); clearInterval(CCRZ.LoadTaxMiniCart); } }, 1000); }else{ CCRZ.LoadTaxMiniCart setInterval(function() { console.log(pregunta) if(!(typeof CCRZ.currentUser undefined)){ console.log( curr:-,CCRZ.currentUser); // var namePCCRZ.currentUser.FirstName; // var apePCCRZ.currentUser.LastName; // var emailPCCRZ.currentUser.Email; // writerData(nameP, apeP,emailP); paintCustomerData() if(CCRZ.CheckoutPayload!undefined){ writeExtData(); } updateMiniCartFields(); clearInterval(CCRZ.LoadTaxMiniCart); } }, 1000); } } } function is_MC_Pixel_Active() { let isActive false if(typeof _etmc ! undefined && CCRZ.getPageConfig(sfmc.mcp_enable,false)){ isActive true } return isActive } function linkHawkSend(e){ let hawkKey ; //CCRZ.pagevars.storefrontName B2CCochez ? 3f3063fb0b584d43b6c91421aede6c03 : 49842e22915f43fcbcc5c5bcd8280800; switch (CCRZ.pagevars.storefrontName) { case B2CCochez: hawkKey 3f3063fb0b584d43b6c91421aede6c03; break; case B2CNovey: hawkKey 49842e22915f43fcbcc5c5bcd8280800; break; case B2BCochez: hawkKey 3f3063fb0b584d43b6c914XXXXXXXXXX; break; } HawkSearch.link(e,hawkKey,1, e.target.dataset.productsfid,0) ; //e.stopImmediatePropagation(); } // --------------------- PROTOTYPE ------------------------ String.prototype.capitalize function() { return this.charAt(0).toUpperCase() + this.slice(1); } // ---------------- REMOTE INVOKE ACTION ----------------- // Utilizar para cuando el método del controlador recive un JSON como parámetro //----- // Parámetros // remoteCallObj: el objeto con contexto del controlador que se va utilizar. // remoteActionName: nombre del metodo o action a ejecutar en el controlador // data: parametros(objeto) en formato string function callCtrlRemoteAction(remoteCallObj, remoteActionName, data) { // console.log(arguments); return new Promise(function(resolve, reject) { remoteCallObj.invokeContainerLoadingCtx($(.deskLayout), remoteActionName, data, function(res, err) { if (res ! null) { resolve(res); } else if (err.message ! ) { resolve(err); } }, { nmsp: false }); }); } //---------- Format data MC PIXEL function set_MC_Pixel_PurchaseSuccess(dataPurchase) { let data { cart: , order_number: dataPurchase.sfdcName, // Transaction ID. Required for purchases and refunds ----- ORDER NUMBER ON SALESFORCE. discount: , shipping: dataPurchase.shippingCharge, // Shipping value) details: { originatedCart : dataPurchase.originatedCart, buyerEmail: dataPurchase.buyerEmail, buyerFirstName: dataPurchase.buyerFirstName, buyerLastName: dataPurchase.buyerLastName, buyerMobilePhone: dataPurchase.buyerMobilePhone, contactId: dataPurchase.contact, shippingCharge: dataPurchase.shippingCharge, subTotal: dataPurchase.subTotal, tax: dataPurchase.tax, taxSubTotalAmount: dataPurchase.taxSubTotalAmount, totalAmount: dataPurchase.totalAmount } } let productList dataPurchase.orderItems for(product of productList){ data.cart.push({ item: product.mockProduct.name, quantity: product.quantity, price: product.price, unique_id: product.mockProduct.sku }); } if(CCRZ.getPageConfig(env.isprod,false)){ _etmc.push(trackConversion, data) }else{ console.log(data compra MC Pixel > ,data) } } //-------------------------------------------------------------------------------- // --------------- FUNCTION DRAG SCROLL FOR PAINT PALETTE ---------------- //-------------------------------------------------------------------------------- function setDragScroll( elemName ) { const ele document.getElementById( elemName ); ele.style.cursor grab; let pos { top: 0, left: 0, x: 0, y: 0 }; const mouseDownHandler function(e) { ele.style.cursor grabbing; ele.style.userSelect none; pos { left: ele.scrollLeft, top: ele.scrollTop, // Get the current mouse position x: e.clientX, y: e.clientY, }; document.addEventListener(mousemove, mouseMoveHandler); document.addEventListener(mouseup, mouseUpHandler); }; const mouseMoveHandler function(e) { // How far the mouse has been moved const dx e.clientX - pos.x; const dy e.clientY - pos.y; // Scroll the element ele.scrollTop pos.top - dy; ele.scrollLeft pos.left - dx; }; const mouseUpHandler function() { ele.style.cursor grab; ele.style.removeProperty(user-select); document.removeEventListener(mousemove, mouseMoveHandler); document.removeEventListener(mouseup, mouseUpHandler); }; // Attach the handler ele.addEventListener(mousedown, mouseDownHandler); } function ifApplyExpressDelivery(){ if(CCRZ.getPageConfig(exdev.stl)){ let availableExpressList CCRZ.getPageConfig(exdev.stl).split(,); let sucursalFilter; if(localStorage.getItem(locStor+getPrefixStore3())){ sucursalFilter getCodeCompany()+(JSON.parse(localStorage.getItem(locStor+getPrefixStore3())).codigo); if( availableExpressList.find(x>((x.trim())sucursalFilter)) ){ // validamos si el horario de la sucursal está habilitado para el horario de Delivery Express /*( ifApplyExpressDeliveryByTime() true ) ? $(.expressDeliveryStyle).show() : $(.expressDeliveryStyle).hide();*/ const productId (CCRZ.pagevars.currentPageName ccrz__ProductDetails) ? CCRZ.productDetailModel.attributes.product.prodBean.id : ; getStatusExpressDeliveryByStore(productId).then(function(res) { if( res true ){ /*let productBorderTypeDelivery $(.delivery-type).has(div.box-border-quad); productBorderTypeDelivery.addClass(box-border-quad-express); productBorderTypeDelivery.removeClass(box-border-quad); let productIconTypeDelivery productBorderTypeDelivery.children(img)0; productIconTypeDelivery.src https://storage.googleapis.com/chz-marketing-repositorio-fotos/cochez/Iconos/truck-express.svg ; let productTextTypeDelivery $(.msg-quad-inv-delivery); productTextTypeDelivery.empty(); productTextTypeDelivery.append(p classm-0>Disponible parabr>entrega a domiciliobr>express en 45 minutos/p>); productTextTypeDelivery.removeAttr(style); productTextTypeDelivery.css(color, green);*/ //$(.expressDeliveryStyle).show(); // Si se obtiene una respuesta igualmente apagamos lógica para express delivery // Apagamos lógica para express delivery $(.expressDeliveryStyle).hide() }else{ // validamos si el horario de la sucursal está habilitado para el horario de Delivery Express // Apagamos lógica para express delivery /*( ifApplyExpressDeliveryByTime() true ) ? $(.expressDeliveryStyle).show() : $(.expressDeliveryStyle).hide();*/ $(.expressDeliveryStyle).hide() } }) .catch(function(error) { console.log(Error when validating if it is a holiday : + error); }); // Validación para horarios especiales / feriados para sucursales // ***Se comenta bloque de validación a espera de ajuste en ambiente de desarrollo*** /*let dateToday moment().format(YYYY-MM-DD); const ciaCodeStore (JSON.parse(localStorage.getItem(locStor+getPrefixStore3())).codigo); const ciaCodeCompany getCodeCompany(); ifApplyStoreBySpecialHour(dateToday, ciaCodeCompany, ciaCodeStore).then(function(res) { if( res true ){ let productBorderTypeDelivery $(.box-border-quad-express); productBorderTypeDelivery.addClass(box-border-quad); productBorderTypeDelivery.removeClass(box-border-quad-express); let productIconTypeDelivery productBorderTypeDelivery.children(img)0; productIconTypeDelivery.src https://storage.googleapis.com/chz-marketing-repositorio-fotos/novey/iconos_storefront/deliveryNoveyV2.svg; let productTextTypeDelivery $(.msg-quad-inv-delivery); productTextTypeDelivery.empty(); productTextTypeDelivery.append(p classm-0>Disponible parabr>entrega a domicilio/p>); productTextTypeDelivery.removeAttr(style); productTextTypeDelivery.css(color, #0055b8); //$(.expressDeliveryStyle).hide(); }else{ // validamos si el horario de la sucursal está habilitado para el horario de Delivery Express ( ifApplyExpressDeliveryByTime() true ) ? $(.expressDeliveryStyle).show() : $(.expressDeliveryStyle).hide(); } }) .catch(function(error) { console.log(Error when validating if it is a holiday : + error); });*/ }else{ $(.expressDeliveryStyle).hide() } } } } function ifApplyExpressDeliveryByTime(){ let date new Date(); // Creamos y asignamos una fecha / hora para validar horarios // fuera del delivery express //let date2 new Date().toISOString().split(T)0; //date2 date2 + 03:30:00 PM; // Get current hour with timezone. Require moment-timezone library const currentHour moment(date, YYYY-MM-DD H:mm:ss a).tz(America/Panama).format(HH:mm:ss); const openHour date.toISOString().split(T)0 + + CCRZ.getPageConfig(exdev.enableexpressdelivery); const openHourDeliveryExpress moment(openHour, YYYY-MM-DD H:mm:ss a).format(HH:mm:ss); const closeHour date.toISOString().split(T)0 + + CCRZ.getPageConfig(exdev.disableexpressdelivery); const closeHourDeliveryExpress moment(closeHour, YYYY-MM-DD H:mm:ss a).format(HH:mm:ss); return ( ( currentHour > openHourDeliveryExpress) true && (currentHour closeHourDeliveryExpress) true ) ? true : false; } // Obtenemos los datos para validación si existe sucursal con horario especial o feriado /*function ifApplyStoreBySpecialHour(specialDate, ciaCode, ciaStore){ let remoteCall _.extend(CCRZ.RemoteInvocation,{ className: AddToCartRemoteValidator}); remoteCall.invokeCtx(getStoreBySpecialHour, specialDate, ciaCode, ciaStore, function(response, event) { //console.log(AJX RESPONSE :: > + response); let applyResponseSH; if(!response.data.length 0){ const HoraInicioStore response.data0.Hora_Inicio__c; const HoraFinStore response.data0.Hora_Fin__c; if( HoraInicioStore cerrado && HoraFinStore cerrado){ applyResponseSH true; }else{ applyResponseSH false; } }else{ applyResponseSH false; } return applyResponseSH; }, { nmsp: false, escape: false, timeout: 10000, buffer: false }); }*/ /* @return promise Validamos si existe una sucursal con horario especial o feriado */ /*function ifApplyStoreBySpecialHour( specialDate, ciaCode, ciaStore ) { return new Promise((resolve, reject) > { let remoteCall _.extend(CCRZ.RemoteInvocation,{ className: AddToCartRemoteValidator}); remoteCall.invokeCtx(getStoreBySpecialHour, specialDate, ciaCode, ciaStore, function(response, event) { let applyResponseSH; if(!response.data.length 0){ const HoraInicioStore response.data0.Hora_Inicio__c; const HoraFinStore response.data0.Hora_Fin__c; if( HoraInicioStore cerrado && HoraFinStore cerrado){ applyResponseSH true; resolve(applyResponseSH); }else{ applyResponseSH false; reject(applyResponseSH); } }else{ applyResponseSH false; reject(applyResponseSH); } return applyResponseSH; }, { nmsp: false, escape: false, timeout: 10000, buffer: false }); }); }*/ /* @return promise VALIDAMOS SI EL PRODUCTO TIENE DELIVERY EXPRESS Y SI ESTÁ EN EL CENTRO DE ENTREGA EXPRESS */ function getStatusExpressDeliveryByStore( productId ) { return new Promise((resolve, reject) > { let remoteCall _.extend(CCRZ.RemoteInvocation,{ className: AddToCartRemoteValidator}); remoteCall.invokeCtx(getStatusExpressDeliveryByStore, productId, function(response, event) { let applyResponseSH; if(!response.data.length 0){ console.log(EXPRESS DELIVERY RESPONSE > + JSON.stringify(response.data)); const expressDeliveryStatus response.data0.ccrz__ProductItem__r.express_delivery__c; const inventoryLocationCode response.data0.ccrz__InventoryLocationCode__c; console.log(EXPRESS DELIVERY STATUS > +expressDeliveryStatus); console.log(INVENTORY LOCATION CODE > +inventoryLocationCode); if(expressDeliveryStatus true && inventoryLocationCode 0303){ applyResponseSH true; resolve(applyResponseSH); }else{ applyResponseSH false; reject(applyResponseSH); } }else{ applyResponseSH false; reject(applyResponseSH); } return applyResponseSH; }, { nmsp: false, escape: false, timeout: 10000, buffer: false }); }); } function enabledBrandForInk(){ let brandName CCRZ.prodDetailView.model.attributes.product.prodBean.brandName if(brandName ! null){ let brandEnables CCRZ.getPageConfig(paint.brands_enable).split(,) return brandEnables.includes(brandName.toLowerCase().capitalize()) } else { return false } } // id: a1F5C000000kRcWUAU // qty: 1 function addToCartSFAsync( id, qty ) { console.log(JMC > entro); return new Promise((resolve, reject) > { //Valida el inventario let data{ prodId: id, qty: qty.toString() }; let remoteCall _.extend(CCRZ.RemoteInvocation, { className: AddToCartRemoteValidator }); remoteCall.invokeContainerLoadingCtx($(.deskLayout), itemQuantityValidationRemoteAction, JSON.stringify(data), function (res, err) { if (res ! null) { if (res.success) { //Agrega al carrito el producto let remoteCall2 _.extend(CCRZ.RemoteInvocation, { className: ccrz.cc_RemoteActionController }); remoteCall2.invokeContainerLoadingCtx($(.deskLayout), addItem, id, qty, null, null, , null, function (res, err) { if (res.success) { resolve(res); CCRZ.pubSub.trigger(cartChange, res.data); } }, { nmsp: false }); } else { reject(res); } } else if (err.message ! ) { reject(res); } }, { nmsp: false }); }); } CCRZ.pubSub.on(chargeFooter, function() { // function hawkLoadEvent(){ if(CCRZ.getPageConfig(hsm.enable_hs)){ if(CCRZ.pagevars.currentPageNameccrz__HomePage){ HawkSearch.Tracking.track(pageload,{pageType: landing}); } if(CCRZ.pagevars.currentPageNameccrz__Cart){ HawkSearch.Tracking.track(pageload,{pageType: cart}); } if(CCRZ.pagevars.currentPageNameccrz__MyAccount){ HawkSearch.Tracking.track(pageload,{pageType: custom}); } if(CCRZ.pagevars.currentPageNameccrz__CheckoutNew){ HawkSearch.Tracking.track(pageload,{pageType: custom}); } if(CCRZ.pagevars.currentPageNameccrz__ProductList){ HawkSearch.Tracking.track(pageload,{pageType: custom}); } if(CCRZ.pagevars.currentPageNameccrz__ProductList){ } if(CCRZ.pagevars.currentPageNameccrz__ProductDetails){ // setTimeout(() > { HawkSearch.Context.add(uniqueid, CCRZ.productDetailModel.attributes.product.prodBean.id) // }, 1000); HawkSearch.Tracking.track(pageload,{pageType: item}); } } }); function hawkDataTrackCynx(qty, typeProduct, dataProduct){ console.log(datos + dataProduct.sfidProd); console.log(datos2 + dataProduct.id); sfidHawkdataProduct.sfidProd?dataProduct.sfidProd:dataProduct.id; sendEventHawkTrackAdd2Cart(sfidHawk,dataProduct.price,qty) } function sendEventHawkTrackAdd2Cart(sfidHawk,price,qty){ console.log(hawkEventSend > + sfidHawk); HawkSearch.Tracking.track(add2cart,{ uniqueId: sfidHawk, price: parseFloat(price), quantity: parseInt(qty), currency: USD }); } function hawkDataTrackOrderConfirmation(dataPurchase){ let oItems; if(dataPurchase.orderItems){ for(item of dataPurchase.orderItems ){ if(item.product && item.price && item.quantity){ oItems.push({ uniqueid: item.product, itemPrice: item.price, quantity: item.quantity }) } } HawkSearch.Tracking.track(sale, { orderNo: dataPurchase.orderName, itemList: oItems, total: dataPurchase.totalAmount, subTotal: dataPurchase.subTotal, tax: dataPurchase.tax, currency: USD }); } // HawkSearch.Tracking.track(sale, { // orderNo: dataPurchase.orderName, // itemList: dataPurchase.orderItems, // total: dataPurchase.totalAmount, // subTotal: dataPurchase.subTotal, // tax: dataPurchase.tax, // currency: USD // }); } CCRZ.pubSub.on(view:PaymentProcessorView:refresh, function() { updateInfo(); setTimeout(() > { $(#overlay).remove() }, 2000); }) function momentFormatLLLL(date){ let dateLLLL if(date ! ){ let arrDates moment(date).format(LLLL).split( ) arrDates0 arrDates0.toLowerCase().capitalize() arrDates.splice(arrDates.length-1) dateLLLL arrDates.join( ) } else { dateLLLL Fecha invalida } return dateLLLL } function obtenerValorParametroBase(sParametroNombre,url) { var sPaginaURL url; var sURLVariables sPaginaURL.split(&); for (var i 0; i sURLVariables.length; i++) { var sParametro sURLVariablesi.split(); if (sParametro0 sParametroNombre) { return sParametro1; } } return null; } //Funcion que retorna la distancia en kilometros entre dos conjuntos de coordenadas function getDistanceByTwoCoordinates(lat1, lon1, lat2, lon2){ rad function(x){ return x * Math.PI/180; } //Radio de la tierra en km let R 6371; let dLat rad( lat2 - lat1 ); let dLong rad( lon2 - lon1 ); let a Math.sin(dLat/2) * Math.sin(dLat/2) + Math.cos(rad(lat1)) * Math.cos(rad(lat2)) * Math.sin(dLong/2) * Math.sin(dLong/2); let c 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a)); let d R * c; return d.toFixed(2); } //Funcion que ordena por alguna propiedad del JSON function jsonSortOrder(prop) { return function(a, b) { if (aprop > bprop) { return 1; } else if (aprop bprop) { return -1; } return 0; } } //Funcion que seteara la tienda y la actualiza en el widget componente del header selector de tiendas function setLocStore(storeCode, isChangingStore){ let cia getCodeCompany() let stores JSON.parse(localStorage.getItem(stores+getPrefixStore3())) let storeSelected stores.find( x > (cia+x.centro storeCode) ) let jsonStore JSON.stringify({ codigo:storeSelected.centro, tienda:storeSelected.nombre, direccion:storeSelected.direccion, horarioLV:storeSelected.horarioLunesViernes, horarioS:storeSelected.horarioSabado, horarioD:storeSelected.horarioDomingo, coordenadas: storeSelected.coordenadas }) if (isChangingStore) { CCRZ.pubSub.trigger(pickStore_Event, storeSelected.nombre); } localStorage.setItem(locStor+getPrefixStore3(), jsonStore) //Actualiza el componente widget de tiendas en el header locationSelected() } function loaderPayment(text1, text2){ let customLoader `div classrow> div classcol-xs-12> div classpanel panel-default> div classpanel-body cc_panel-body p-5> p classtext-center> i classfa fa-check-circle text-color-brand mr-5 aria-hiddentrue stylefont-size:50px>/i> /p> div classhidden-xs stylewidth:800px> p classfont-size-30px font-weight-bold text-center m-0 text-black> ${text1} /p> p classfont-size-30px text-center text-black> ${text2} /p> /div> div classhidden-sm hidden-md hidden-lg> p classfont-size-27px font-weight-bold text-center text-black mb-5> ${text1} /p> p classfont-size-27px text-center text-black> ${text2} /p> /div> /div> /div> /div> /div>` return customLoader } /* GIFT CARD */ //variable global var processCount 0; var addItemSuccessCount 0; // CCRZ.pubSub.on(view:cartView:refresh, function(){ // if((JSON.parse(sessionStorage.getItem(giftcard)) ! null) && (CCRZ.pagevars.queryParams.pagekey ! GiftCard) && (CCRZ.pagevars.remoteContext.currentPageName ! ccrz__CheckoutNew) && CCRZ.pagevars.remoteContext.currentPageName ! ccrz__OrderConfirmation){ // if(JSON.parse(sessionStorage.getItem(savedCartItems)) ! null){ // checkCartToRemoveGiftCard(false); // sessionStorage.removeItem(giftcard); // let savedItems JSON.parse(sessionStorage.getItem(savedCartItems)); // let parseItem; // let itemsQty savedItems.length; // //let response false; // savedItems.forEach(element > { // parseItem JSON.parse(element); // addSavedCartItems(parseItem.idProduct, parseItem.quantity, itemsQty); // }); // //CCRZ.pubSub.trigger(cartChange, CCRZ.cartView.cartmodel.attributes.sfid); // }else{ // checkCartToRemoveGiftCard(true); // sessionStorage.removeItem(giftcard); // } // } // }); //NEW DEV LOCAL STORAGE ANDRES GARCIA CCRZ.pubSub.on(view:cartView:refresh, function(){ if((JSON.parse(localStorage.getItem(giftcard)) ! null) && (CCRZ.pagevars.queryParams.pagekey ! GiftCard) && (CCRZ.pagevars.remoteContext.currentPageName ! ccrz__CheckoutNew) && CCRZ.pagevars.remoteContext.currentPageName ! ccrz__OrderConfirmation){ if(JSON.parse(localStorage.getItem(savedCartItems)) ! null){ checkCartToRemoveGiftCard(false); localStorage.removeItem(giftcard); let savedItems JSON.parse(localStorage.getItem(savedCartItems)); let parseItem; let itemsQty savedItems.length; //let response false; savedItems.forEach(element > { parseItem JSON.parse(element); addSavedCartItems(parseItem.idProduct, parseItem.quantity, itemsQty); }); //CCRZ.pubSub.trigger(cartChange, CCRZ.cartView.cartmodel.attributes.sfid); }else{ checkCartToRemoveGiftCard(true); localStorage.removeItem(giftcard); } } // valida el contexto de PG Promocionales //validatePgPromoContext(); }); // CCRZ.pubSub.on(view:CartDetailView:refresh,function(){ // validatePgPromoContext(); // }); function checkCartToRemoveGiftCard(cartChangeFlag){ const ccFlag cartChangeFlag; if(processCount 0){ let gcSKU CCRZ.getPageConfig(GC.gcsku, GCSKU); //let gcSessionStorage JSON.parse(sessionStorage.getItem(giftcard)); if(CCRZ.cartView.cartmodel.attributes.cartItems ! undefined){ if(CCRZ.cartView.cartmodel.attributes.cartItems0.mockProduct.sku.includes(gcSKU)){ removeGCFromCart(CCRZ.cartView.cartmodel.attributes.sfid, ccFlag); } } processCount++; } } function removeGCFromCart(cartSfid,cartChangeFlag) { const ccFlag cartChangeFlag; let processCount 0; let remoteCall _.extend(CCRZ.RemoteInvocation,{ className: AddToCartRemoteValidator}); remoteCall.invokeCtx(removeItemsFromCart,cartSfid,(res,err)>{ if(res.success && ccFlag){ CCRZ.pubSub.trigger(cartChange, CCRZ.cartView.cartmodel.attributes.encryptedId); } },{nmsp: false, escape: false, buffer: false} ); } //NEW DEV SAVE CART ITEMS GIFTCARD // function getCartItems(cartSfid) { // //let processCount 0; // let items; // let remoteCall _.extend(CCRZ.RemoteInvocation,{ className: AddToCartRemoteValidator}); // remoteCall.invokeCtx(getCartItems,cartSfid,(res,err)>{ // if(res.success){ // items JSON.stringify(res.data.cartItems); // sessionStorage.setItem(savedCartItems,items); // } // },{nmsp: false, escape: false, buffer: false} // ); // } //NEW DEV SAVE CART ITEMS GIFTCARD // function addSavedCartItems(idProd, qty, itemsQty){ // let remoteCall _.extend(CCRZ.RemoteInvocation, { className: ccrz.cc_RemoteActionController }); // remoteCall.invokeContainerLoadingCtx($(.deskLayout), addItem, idProd, qty, null, null, , null, function (res, err) { // if (res.success) { // console.log(Se logro introducir items al carrito desde el session storage); // addItemSuccessCount++; // if(addItemSuccessCount itemsQty){ // CCRZ.pubSub.trigger(cartChange, res.data); // } // } // }, // { nmsp: false }); // } // PUNTOS GRODOS PROMOCIONALES ---------------- // isPromo: true or false function setLocalIsCartPgPromoContext(isPromo){ isPromo ? localStorage.setItem(isPgPromoContext, true) : localStorage.removeItem(isPgPromo); } // function validatePgPromoContext(){ // if((localStorage.getItem(isPgPromoContext) true) && (CCRZ.pagevars.remoteContext.currentPageName ! ccrz__CheckoutNew) && CCRZ.pagevars.remoteContext.currentPageName ! ccrz__OrderConfirmation){ // const cartID CCRZ.cartView ! undefined ? CCRZ.cartView.cartmodel.attributes.sfid : CCRZ.cartDetailView.model.attributes.sfid; // const cartEncId CCRZ.pagevars.currentCartID; // let remoteCall _.extend(CCRZ.RemoteInvocation,{ className: AddToCartRemoteValidator}); // remoteCall.invokeCtx(removePGCartItems,cartID, true, function(response, event) { // if(response.success){ // localStorage.removeItem(isPgPromoContext); // remoteCall.invokeCtx(removeFlagIsPgPromo,cartEncID, function(response, event) { // if(response.success){ // console.log(AJX :: removeFlagIsPgPromo > , response); // //Refresco la pagina si estoy en el cart Detail // if(CCRZ.pagevars.remoteContext.currentPageName ccrz__Cart){ // location.reload(); // } // } // }, { nmsp: false, escape: false, timeout: 10000, buffer: false }); // CCRZ.pubSub.trigger(cartChange, CCRZ.cartView.cartmodel.attributes.encryptedId); // } // }, { nmsp: false, escape: false, timeout: 10000, buffer: false }); // } // } // function checkCartToRemoveGiftCard(cartChangeFlag){ // const ccFlag cartChangeFlag; // if(processCount 0){ // let gcSKU CCRZ.getPageConfig(GC.gcsku, GCSKU); // //let gcSessionStorage JSON.parse(sessionStorage.getItem(giftcard)); // if(CCRZ.cartView.cartmodel.attributes.cartItems ! undefined){ // if(CCRZ.cartView.cartmodel.attributes.cartItems0.mockProduct.sku.includes(gcSKU)){ // removeGCFromCart(CCRZ.cartView.cartmodel.attributes.sfid, ccFlag); // } // } // processCount++; // } // } function getAccountGroupInfo(){ return new Promise((resolve, reject) > { const remoteCall _.extend(CCRZ.RemoteInvocation, { className: AddToCartRemoteValidator }); remoteCall.invokeContainerLoadingCtx($(.deskLayout), getAccountGroupInfo, CCRZ.currentUser.Contact.AccountId, function (res, err) { if(res.success){ resolve(res.data.ccrz__E_AccountGroup__r); }else{ reject(res); } },{ nmsp: false, escape: false, timeout: 10000, buffer: false } ); }); } //Ejemplo de llamado a función con promesa // async function callAccountGroupInfo(){ // let response await getAccountGroupInfo(); // return response; // } // AJX. Parche para HS. Solo mobile, detecta cuando ya ha cargado HS sus productos y ajusta su div de filtros function isMobile() { const mobileQuery window.matchMedia((max-width: 767px)); return mobileQuery.matches; } CCRZ.pubSub.on(chargeFooter, function(param){ setTimeout(() > { if ($(#viewState).val() ListView) { if (isMobile()) { try{ if(CCRZ.pagevars.storefrontName B2CCochez){ $(.hawk-railNavHeading).addClass(ml-4 mt-5).insertBefore($(.cc_tmpl_TwoColRightRD)); } else if(CCRZ.pagevars.storefrontName B2CNovey){ $(.hawk-railNavHeading).insertBefore($(.cc_tmpl_TwoColRightRD)); $(.hawk-railNavHeading).addClass(ml-4 mt-5 mb-5); } }catch(ex){console.log(ex);} } } }, 2000); }); /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id351> script> //-------------------------------------------------------------------------------- // ------------------ HANDLEBAR HELPER TO AUTOCOMPLETE --------------------------- //-------------------------------------------------------------------------------- Handlebars.registerHelper(hlpAutoComplete, function(param1,options) { $(.searchText2).autocomplete({ position: { my: left top,at: left bottom, of :#searchContainer }, /*Antes estaba habilitado el autofocus, descativado para arreglar el search desde el mobile*/ //autoFocus: true, //classes: { //ui-autocomplete: claseP //}, source: function( request, response ) { Visualforce.remoting.Manager.invokeAction(ccrz.cc_ctrl_AutoComplete.searchAutoComplete, CCRZ.pagevars.remoteContext, request.term, 10, PRODUCT_SEARCH, function(resp){ if(resp && resp.data){ response(resp.data); } },{ buffer:false, escape:false } ); }, open: function(){ // $(.ui-menu).removeAttr(style); // $(.ui-autocomplete).css({width: 100%,z-index:99999999999999,top:160px,left:0px}); $(.ui-menu .ui-menu-item).css({width: 100%,z-index:99999999999999, overflow:hidden,white-space:nowrap,text-overflow:ellipsis}); // $(.ui-autocomplete).css(z-index, 99999999999999); }, minLength: 3, delay: 300 }); }); Handlebars.registerHelper(hlpAccion, function(param1,options) { // $(#searchd).on(show.bs.collapse, function () { // if( $(#navbar).attr(aria-expanded)true){ // $(#navbar).collapse(hide) // } // }) // $(#navbar).on(show.bs.collapse, function () { // if( $(#searchd).attr(aria-expanded)true){ // $(#searchd).collapse(hide) // } // }) $(#searchd).on(show.bs.collapse, function () { if($(#navbar).attr(aria-expanded)true){ $(.navbar-main-menu-left).trigger(click) } }); $(#navbar).on(show.bs.collapse, function () { if( $(#searchd).attr(aria-expanded)true){ $(.navbar-search-menu-right).trigger(click) } }); }); Handlebars.registerHelper(priceByM2, function(price, factor, options) { if(factor){ if(factor!1){ var monto$+(price/factor).toFixed(2); return monto; } } }); Handlebars.registerHelper(haveFactor, function(factor, options) { if(factor){ if(factor!1){ return options.fn(this); }else{ return options.inverse(this); } }else{ return options.inverse(this); } }); Handlebars.registerHelper(getHtmlByPageConfig, function(configName, expectedValue, defaultValue, options) { if(CCRZ.getPageConfig(configName) ! undefined){ let configValue CCRZ.getPageConfig(configName, defaultValue); if(configValue expectedValue){ return options.fn(this); }else{ return options.inverse(this); } }else{ return options.inverse(this); } }); Handlebars.registerHelper(ifEqualsTo, function(arg1, arg2, options) { return (arg1 arg2) ? options.fn(this) : options.inverse(this); }); Handlebars.registerHelper(ifGuest, function(options) { return CCRZ.pagevars.isGuest ? options.fn(this) : options.inverse(this); }); Handlebars.registerHelper(ifDomicilio, function(options) { return CCRZ.CheckoutPayload.DeliveryType DOM ? options.fn(this) : options.inverse(this); }); Handlebars.registerHelper(ifSubcription, function(options) { return cartItemsHasSelectSubscrip() ? options.fn(this) : options.inverse(this); }); Handlebars.registerHelper(MyAccount_Title, function(pageLabel, options) { $(#MyAccount_CurrentView_Title)0.innerHTML CCRZ.processPageLabelMap(pageLabel) }); Handlebars.registerHelper(ifSalesCategory, function(options) { if(CCRZ.CustomDataCurrentCategory){ return (getGeneralNameCategories().includes(CCRZ.CustomDataCurrentCategory.sfdcName)) ? options.fn(this) : options.inverse(this); } else{ return options.inverse(this); } }); Handlebars.registerHelper(math, function(lvalue, operator, rvalue, options) { lvalue parseFloat(lvalue); rvalue parseFloat(rvalue); return { +: lvalue + rvalue, -: lvalue - rvalue, *: lvalue * rvalue, /: lvalue / rvalue, %: lvalue % rvalue }operator; }); Handlebars.registerHelper(ifCond, function(v1, operator, v2, options) { switch (operator) { case : return (v1 v2) ? options.fn(this) : options.inverse(this); case : return (v1 v2) ? options.fn(this) : options.inverse(this); case !: return (v1 ! v2) ? options.fn(this) : options.inverse(this); case !: return (v1 ! v2) ? options.fn(this) : options.inverse(this); case : return (v1 v2) ? options.fn(this) : options.inverse(this); case : return (v1 v2) ? options.fn(this) : options.inverse(this); case >: return (v1 > v2) ? options.fn(this) : options.inverse(this); case >: return (v1 > v2) ? options.fn(this) : options.inverse(this); case &&: return (v1 && v2) ? options.fn(this) : options.inverse(this); case ||: return (v1 || v2) ? options.fn(this) : options.inverse(this); default: return options.inverse(this); } }); Handlebars.registerHelper(ifHasAttribute, function(compareValue, currentValue, options) { valuesList CCRZ.getPageConfig(compareValue,).split(,); valueExist false; if(valuesList.length > 1 && valuesList0 ! ){ for (itemList of valuesList) { if(itemList currentValue){ valueExist true } } } if(valueExist true){ return options.fn(this); }else{ return options.inverse(this); } }); // ------------ GET IMAGE BY CATEGORY -------- Handlebars.registerHelper(PromoMenu, function(sequence, options) { let ItemImage options.fn(false) if(CCRZ.MenuPromotionsView ! undefined){ if(CCRZ.MenuPromotionsView.data.promotionMenuImages ! undefined){ if(CCRZ.MenuPromotionsView.data.promotionMenuImages.length > 0){ let images CCRZ.MenuPromotionsView.data.promotionMenuImages let index sequence - 1 ItemImage options.fn(imagesindex); } } } return ItemImage }); // ------------- VALIDATE STOREFRONT TO SHOW FRONTEND ---------------------------- Handlebars.registerHelper(isStoreFront, function(storeFront, options) { let currentStoreFront CCRZ.pagevars.storefrontName return currentStoreFront storeFront ? options.fn(this) : options.inverse(this); }) // ------------ GET ONE ELEMENT OF ARRAY-------- Handlebars.registerHelper(index_of, function(data, index, options) { let promoItem options.fn(false) if(data ! undefined){ promoItem options.fn(dataindex); } return promoItem }); // INSERTA ROW SEGUN PARAMETROS ESTABLECIDOS EN LA FUNCION Handlebars.registerHelper(gridWrap, function(index, isLast, isOpenning) { var wrapper , perRow CCRZ.getPageConfig(SL.colNum,2); if (isOpenning) { if (index 0 || index % perRow 0) { wrapper + div classrow equal >; } } else { if ((index + 1) % perRow 0 || isLast) { wrapper + /div>; } } return wrapper; }); // INSERTA ROW SEGUN PARAMETROS ESTABLECIDOS EN LA FUNCION Handlebars.registerHelper(gridWrapCustom, function(index, isLast, isOpenning, customCol, clases) { var wrapper , perRow customCol, clases (clases undefined) ? : clases; if (isOpenning) { if (index 0 || index % perRow 0) { wrapper + div classrow + clases + >; } } else { if ((index + 1) % perRow 0 || isLast) { wrapper + /div>; } } return wrapper; }); Handlebars.registerHelper(hlpPercentagesOfDiscount, function(price, basePrice, options) { return percentagesOfDiscount(price, basePrice); }); Handlebars.registerHelper(hlpGetStorefrontname, function(options) { return CCRZ.pagevars.storefrontName; }); Handlebars.registerHelper(hlpGetCurrSiteURL, function(options) { return CCRZ.pagevars.currSiteURL; }); Handlebars.registerHelper(hlpGetCartId, function(options) { return CCRZ.pagevars.currentCartID; }); Handlebars.registerHelper(hlpGetCurrUserLocale, function(options) { return CCRZ.pagevars.userLocale; }); // DISPLAY FONT AWESOME ICON BY SIZE OPTIONS > (ORIGINAL) | fa-lg (33% increase) | fa-2x | fa-3x | fa-4x | fa-5x Handlebars.registerHelper(displayIconBySize, function(iconName, size, options) { return new Handlebars.SafeString(i class\fa fa- + iconName + + size + \ aria-hidden\true\>/i>); }); // DISPLAY CATEGORY BAR IMAGES Handlebars.registerHelper(categoriesBarLink, function(category, styleClass, options) { var tmpCategory _.clone(category); if (tmpCategory && tmpCategory.shortDesc) { delete tmpCategory.shortDesc; } if (tmpCategory && tmpCategory.longDesc) { delete tmpCategory.longDesc; } var categoryJSON _.escape(JSON.stringify(tmpCategory)); var content, image ; if (tmpCategory && tmpCategory.name) { content _.escape(tmpCategory.name); } else if (tmpCategory && tmpCategory.category && tmpCategory.category.name) { content _.escape(tmpCategory.category.name); } if (options && options.hashicon){ image options.hashicon; } if (options && options.hashimage){ image options.hashimage; } var href CCRZ.goToPLP(null, category); if(styleClass.indexOf(categoryBar) -1){ if (category.openInNewWindow || category.isNewWindow) { return new Handlebars.SafeString(a href + href + target\_blank\ onClick\callCategoryLinkClick_DataLayer(event);CCRZ.openPLP(this)\ class\ + styleClass + gp_cat + \ data-category + categoryJSON + >div classrow>div classcol-xs-12 h-70px + styleClass + > + image + /div>div classcol-xs-12 text-center> p class + styleClass + > + content + /p> /div> /div>/a>); } else { return new Handlebars.SafeString(a href + href + onClick\callCategoryLinkClick_DataLayer(event);CCRZ.openPLP(this)\ class\ + styleClass + gp_cat + \ data-category + categoryJSON + >div classrow>div classcol-xs-12 h-70px + styleClass + > + image + /div>div classcol-xs-12 text-center> p class + styleClass + > + content + /p> /div> /div>/a>); } }else{ if (category.openInNewWindow || category.isNewWindow) { return new Handlebars.SafeString(a href + href + target\_blank\ onClick\callCategoryLinkClick_DataLayer(event);CCRZ.openPLP(this)\ class\ + styleClass + gp_cat + \ data-category + categoryJSON + >div class>div class + styleClass + > + image + /div>div class text-center> p class + styleClass + > + content + /p> /div> /div>/a>); } else { return new Handlebars.SafeString(a href + href + onClick\callCategoryLinkClick_DataLayer(event);CCRZ.openPLP(this)\ class\ + styleClass + gp_cat + \ data-category + categoryJSON + >div class>div class + styleClass + > + image + /div>div class text-center> p class + styleClass + > + content + /p> /div> /div>/a>); } } }); //DISPLAY SVG IMAGES WITH URL Handlebars.registerHelper(displaySVG_IMG, function(obj, styleClass, options) { let imgSrc CCRZ.processImageURL(obj, styleClass, options), width , height , classes ; if (options && options.hashwidth) width width + options.hashwidth + ; if (options && options.hashheight) height height + options.hashheight + ; if (options && options.hashclasses) classes class + options.hashclasses + ; if (options && options.hash.hasOwnProperty(noUrl) ) imgSrc CCRZ.pagevars.themeBaseURL + images/ + obj if (imgSrc.length > 0) return new Handlebars.SafeString(img + width + + height + + classes + typeimage/svg+xml src + imgSrc + />); else return new Handlebars.SafeString( ); }); Handlebars.registerHelper(hlpGetUrlCatalogo, function(pageName, options) { if(CCRZ.getPageConfig(env.isprod, true)){ return CCRZ.pagevars.storeSettings.Site_Secure_Domain__c + /ccrz__CCPage?pagekey + pageName +&cartId + CCRZ.pagevars.currentCartID + getCSRQueryString(); }else{ return CCRZ.pagevars.storeSettings.Site_Secure_Domain__c + / + CCRZ.pagevars.storefrontName.toLocaleLowerCase() + /ccrz__CCPage?pagekey + pageName +&cartId + CCRZ.pagevars.currentCartID + getCSRQueryString(); } }); Handlebars.registerHelper(getPageConfig, function(configName, options) { if(CCRZ.getPageConfig(configName) ! undefined){ return CCRZ.getPageConfig(configName) } }); Handlebars.registerHelper(activeDefaultPaymentType, function(configName, keyName, activeClass, options) { if(CCRZ.getPageConfig(configName) ! undefined){ if(CCRZ.getPageConfig(configName, cc) keyName){ return new Handlebars.SafeString(activeClass) } } }); //Para extraer en porcentaje de ahorro Handlebars.registerHelper(hlpPercentagesOfDiscount, function(price, basePrice, options) { return percentagesOfDiscount(price, basePrice); }); //Para verificar URL HomePage Handlebars.registerHelper(hlphomePageLink, function() { const href CCRZ.pagevars.currSiteURL; return new Handlebars.SafeString(`a href ${href} idlogoUrl /a>`) }); // DISPLAY PRODUCT NAME AND PREPARE DATA TO USE IN GOOGLE TAG MANAGER DATALAYER Handlebars.registerHelper(productLinkPDP, function(product, productType, styleClass, options) { let SKU ; let price 0 // basePrice // price // savings // // SKUCochez // // SKUNovey // SKU if (!_.isUndefined(product)) { if (CCRZ.pagevars.storefrontName B2CCochez && product.SKUCochez) { SKU product.SKUCochez; }else if (CCRZ.pagevars.storefrontName B2CNovey && product.SKUNovey) { SKU product.SKUNovey; }else{ if (product.linkURL) { SKU product.linkURL; } else if (product.sku) { SKU product.sku; } else if (product.SKU) { SKU product.SKU; } else if (product.productSKU) { SKU product.productSKU; } } let filterData CCRZ.productDetailModel undefined ? : CCRZ.productDetailModel.attributes.product.prodBean.filterData; var linkObj { name : product.alternateName ! undefined? product.alternateName : product.sfdcName, SKU : SKU, price : product.price undefined? :product.price, brand : product.brandName, category : getCategoryNameFromFilterDataProp(filterData), basePrice : product.basePrice, price : product.price, savings : product.savings, variant : , list : , position : , productUrl : , typeProduct : productType, openInNewWindow : product.openInNewWindow, friendlyUrl : product.friendlyUrl }; var productJSON _.escape(JSON.stringify(linkObj)); } var content ; if (product && product.name) { content _.escape(product.name); } if (options && options.hashimage) content options.hashimage; if (options && options.hashtext) { content _.escape(_.unescape(options.hashtext)); } var href CCRZ.goToPDP(null,product); //var href GoToPDP_test(null, product); // console.log(texto carrouseell+ content) if(CCRZ.getPageConfig(hsm.enable_hs)){// si tengo activado el HawkSearchTracking if (product.openInNewWindow || product.isNewWindow) { // return new Handlebars.SafeString(a href + href + target\_blank\ onClick\ HawkSearch.link(event,\+ hawkKey +\,1, \+ product.sfid +\,0) ;callProductClick_DataLayer(event);openPDP_test(this)\ class\ + styleClass + gp_prod + \ data-product + productJSON + data-id + SKU + > + content + /a>) return new Handlebars.SafeString(a href + href + target\_blank\ onClick\ linkHawkSend(event) ;callProductClick_DataLayer(event);CCRZ.openPDP(this)\ class\ + styleClass + gp_prod + \ data-product + productJSON + data-productSfid + product.sfid + data-id + SKU + > + content + /a>) } else { return new Handlebars.SafeString(a href + href + onClick\ linkHawkSend(event) ;callProductClick_DataLayer(event);CCRZ.openPDP(this)\ class\ + styleClass + gp_prod + \ data-product + productJSON + data-productSfid + product.sfid + data-id + SKU + > + content + /a>); // return new Handlebars.SafeString(a href + href + onClick\ HawkSearch.link(event,\+ hawkKey +\,1, \+ product.sfid +\,0) ;callProductClick_DataLayer(event);openPDP_test(this)\ class\ + styleClass + gp_prod + \ data-product + productJSON + data-id + SKU + > + content + /a>); } }else{ if (product.openInNewWindow || product.isNewWindow) { return new Handlebars.SafeString(a href + href + target\_blank\ onClick\callProductClick_DataLayer(event);CCRZ.openPDP(this)\ class\ + styleClass + gp_prod + \ data-product + productJSON + data-id + SKU + > + content + /a>) } else { return new Handlebars.SafeString(a href + href + onClick\callProductClick_DataLayer(event);CCRZ.openPDP(this)\ class\ + styleClass + gp_prod + \ data-product + productJSON + data-id + SKU + > + content + /a>); // return new Handlebars.SafeString(a href + href + onClick\callProductClick_DataLayer(event)\ class\ + styleClass + gp_prod + \ data-product + productJSON + data-id + SKU + data-url + SKU + > + content + /a>); } } }); /*GoToPDP_test function(objLink) { var product null; if (objLink ! null) { product $(objLink).data(product); } if (product null) { product arguments1; } var productSku; if (product.linkURL) { productSku product.linkURL; } else if (product.sku) { productSku product.sku; } else if (product.SKU) { productSku product.SKU; } else if (product.productSKU) { productSku product.productSKU; } var productUrl CCRZ.pageUrls.productDetails + buildQueryString_test(?sku + encodeURIComponent(productSku)); if (CCRZ.pagevars.useFriendlyUrls && !_.isUndefined(product.friendlyUrl)) { if (product.friendlyUrl.startsWith(/) && CCRZ.pagevars.currSiteURL.endsWith(/)) { product.friendlyUrl product.friendlyUrl.substring(1); } productUrl CCRZ.pagevars.currSiteURL + product.friendlyUrl + buildQueryString_test(); } return productUrl; }; buildQueryString_test function(inputQueryString) { var queryString inputQueryString; if (inputQueryString.toLowerCase().indexOf(portaluser) -1 && CCRZ.pagevars.portalUserId) { queryString ? queryString + & : queryString + ?; queryString + portalUser + CCRZ.pagevars.portalUserId; } if (inputQueryString.toLowerCase().indexOf(store) -1 && CCRZ.pagevars.storeName) { queryString ? queryString + & : queryString + ?; queryString + store + CCRZ.pagevars.storeName; } if (inputQueryString.toLowerCase().indexOf(effectiveaccount) -1 && CCRZ.pagevars.effAccountId) { queryString ? queryString + & : queryString + ?; queryString + effectiveAccount + CCRZ.pagevars.effAccountId; } if (inputQueryString.toLowerCase().indexOf(grid) -1 && CCRZ.pagevars.priceGroupId) { queryString ? queryString + & : queryString + ?; queryString + grid + CCRZ.pagevars.priceGroupId; } if (inputQueryString.toLowerCase().indexOf(cclcl) -1 && CCRZ.pagevars.userLocale) { queryString ? queryString + & : queryString + ?; queryString + cclcl + CCRZ.pagevars.userLocale; } return queryString; }; openPDP_test function(e) { if (!e) e window.event; var target e.target || e.srcElement; if (CCRZ.ga) { CCRZ.ga.handleProductDetails(e); } var link GoToPDP_test(e); if (target _blank) { if (windowObjectReference null || windowObjectReference.closed) { windowObjectReference window.open(link); } else { windowObjectReference.focus(); } } else { window.location link; } return false; };*/ Handlebars.registerHelper(displayImageCustom, function(obj, styleClass, options) { if (options && options.hashsrc) { var imgSrc _.escape(options.hashsrc); } else { var imgSrc CCRZ.processImageURL(obj, styleClass, options); } //TODAS LAS PROPIEDADES QUE DESEES COLOCAR PARA EL TAG IMG/> AQUI let alt ; if (options && options.hashalt) alt _.escape(options.hashalt); /*var dataId ; if (options && options.hashdataId) dataId _.escape(options.hashdataId);*/ let loading if(options && options.hashloading) loading _.escape(options.hashloading); if (imgSrc.length > 0) return new Handlebars.SafeString(img class + styleClass + src + imgSrc + alt + alt + loading + loading + />); else return new Handlebars.SafeString(img class + styleClass + + CCRZ.pagevars.userLocale + noImg alt + alt + loading + loading + />); }); Handlebars.registerHelper(CategoryLinkCustom, function(category, styleClass, options) { var tmpCategory _.clone(category); if (tmpCategory && tmpCategory.shortDesc) { delete tmpCategory.shortDesc; } if (tmpCategory && tmpCategory.longDesc) { delete tmpCategory.longDesc; } var categoryJSON _.escape(JSON.stringify(tmpCategory)); var content ; var promo ; if (tmpCategory && tmpCategory.name) { content _.escape(tmpCategory.name); } else if (tmpCategory && tmpCategory.category && tmpCategory.category.name) { content _.escape(tmpCategory.category.name); } if (options && options.hashimage) content options.hashimage; if (options && options.hashtext) { content _.escape(options.hashtext); } if (options && options.hashpromo) promo options.hashpromo; var href CCRZ.goToPLP(null, category); console.log(CategoryLinkCustom --> , tmpCategory) if (category.openInNewWindow || category.isNewWindow) { //callCategoryLinkClick_DataLayer(event); return new Handlebars.SafeString(a href + href + onClick\callCategoryLinkClick_DataLayer_Alt(event); CCRZ.openPLP(this)\ class\ + styleClass + gp_cat + \ data-category + categoryJSON + data-promo + promo + target\_blank\ > + content + /a>); } else { return new Handlebars.SafeString(a href + href + onClick\callCategoryLinkClick_DataLayer_Alt(event); CCRZ.openPLP(this)\ class\ + styleClass + gp_cat + \ data-category + categoryJSON + data-promo + promo + > + content + /a>); } }); //RETURNS THE REAL INDEX NUMBER OF LIST Handlebars.registerHelper(printIndex, function(value, options) { return parseInt(value) + 1; }); //RETURNS THE URI OF CREDIT CARD LOGO Handlebars.registerHelper(getCCLogo, function(paymentType, options) { return CCRZ.pagevars.storeSettings.Site_Secure_Domain__c + CCRZ.pagevars.themeBaseURL + images/+ paymentType + .svg }); //RETURNS THE CREDIT CARD NUMBER FORMAT Handlebars.registerHelper(formatCCNumber, function(cardNumber, paymentType, options) { let number , num for (var i 0, len cardNumber.length; i len; i + 1) { num.push(cardNumberi); } if(paymentType Amex){ // number cardNumber.replace(/\b(\d{4})(\d{6})(\d{5})\b/, $1 $2 $3); for(var i0; i 4; i++) { number number.concat(numi) } number number + for(i; i 10; i++) { number number.concat(numi) } number number + for(i; i 16; i++) { number number.concat(numi) } }else{ // number cardNumber.replace(/(\{A-Z 0-9}(?!\s))/g, $1 ) for(var i0; i num.length; i++) { if(i%4 0 && i > 0) number number.concat( ) number number.concat(numi) } } return number }); //RETURNS THE URI OF CREDIT CARD LOGO Handlebars.registerHelper(setDateFormat, function(month, year, options) { let dateFormat month + /+ year if(month 9){ dateFormat 0 + month + /+ year } return dateFormat }); //SHOW DEBUG LOGS IF THE CONFIGURATION PARAM IS TRUE Handlebars.registerHelper(showDebugComments,function(logName, logContent) { if(CCRZ.getPageConfig(debug.show_dcl, false)){ console.log(logName, logContent) } }); // RETURN COUNT DOWN FOR SPLASH PROMOTIONS Handlebars.registerHelper(printCountDown, function(id, dateValue, size, fontsize, positionX, PositionY, options) { // *** UPDATE COUNT EVERY 1 SECOND *** var x setInterval(function() { // *** APPLY STYLES BY PARAMETERS *** let cdParameters splash-cd-size- + size + splash-cd-fontsize- + fontsize + splash-cd-position-x- + positionX + splash-cd-position-y- + PositionY; $(. + id).addClass(cdParameters); $(. + id + -mobile).addClass(cdParameters); // *** GET TODAY VALUE *** var now new Date().getTime(); // *** CALCULATE DIFFERENCE BETWEEN NOW AND COUNTDOWN DATE *** var distance dateValue - now; if(distance > 0){ // Time calculations for days, hours, minutes and seconds var days Math.floor(distance / (1000 * 60 * 60 * 24)); var hours Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds Math.floor((distance % (1000 * 60)) / 1000); // *** DISPLAY RESULT IN THE CONTAINER BY ID *** for (let index 0; index $(. + id + -Days).length; index++) { $(. + id + -Days)index.innerHTML days + d; $(. + id + -Hours)index.innerHTML hours + h; $(. + id + -Minutes)index.innerHTML minutes + m; $(. + id + -Seconds)index.innerHTML seconds + s; } }else{ // *** STOP THE INTERVAL & SET TO 0 AL CONTAINERS BY ID *** clearInterval(x); for (let index 0; index $(. + id + -Days).length; index++) { $(. + id + -Days)0.innerHTML 0d; $(. + id + -Hours)0.innerHTML 0h; $(. + id + -Minutes)0.innerHTML 0m; $(. + id + -Seconds)0.innerHTML 0s; } } }, 1000); }); // RETURN COUNT DOWN FOR SPLASH PROMOTIONS Handlebars.registerHelper(printCountDown-Header, function(id, options) { // *** UPDATE COUNT EVERY 1 SECOND *** var x setInterval(function() { // *** GET TODAY VALUE *** var now new Date().getTime(); // *** CALCULATE DIFFERENCE BETWEEN NOW AND COUNTDOWN DATE *** let dateValue new Date().getTime(); if(CCRZ.getPageConfig(pm_u.cd_enddate, false) ! false){ dateValue new Date(CCRZ.getPageConfig(pm_u.cd_enddate, false)).getTime(); } var distance dateValue - now; if(distance > 0){ // Time calculations for days, hours, minutes and seconds var days Math.floor(distance / (1000 * 60 * 60 * 24)); var hours Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds Math.floor((distance % (1000 * 60)) / 1000); // *** DISPLAY RESULT IN THE CONTAINER BY ID *** $(. + id)0.innerHTML days + d + hours + h + minutes + m + seconds + s; }else{ // *** STOP THE INTERVAL & SET TO 0 AL CONTAINERS BY ID *** clearInterval(x); $(. + id)0.innerHTML.innerHTML 0d 0h 0m 0s; } }, 1000); }); //-------------------------------------------------------------------------------- //------------------- HANDLEBAR QUE UTILIZAMOS PARA EXPRESS DELIVERY EN PDP ------ //-------------------------------------------------------------------------------- /*Handlebars.registerHelper(ifApplyExpressDelivery, function(expressDelivery, options) { if(CCRZ.pagevars.currentPageNameccrz__ProductList) expressDeliverytrue; if(expressDelivery){ if(CCRZ.getPageConfig(exdev.stl)){ let availableExpressList CCRZ.getPageConfig(exdev.stl).split(,); let sucursalFilter ; let dateToday moment().format(YYYY-MM-DD); const applyStoreBySpecialHour ifApplyStoreBySpecialHour(dateToday, getCodeCompany(), (JSON.parse(localStorage.getItem(locStor+getPrefixStore3())).codigo)); if(localStorage.getItem(locStor+getPrefixStore3())){ sucursalFilter getCodeCompany()+(JSON.parse(localStorage.getItem(locStor+getPrefixStore3())).codigo); } else { return options.inverse(this); } if(availableExpressList.find(x>((x.trim())sucursalFilter))){ console.log(HANDLEBARS: + applyStoreBySpecialHour); // validamos si para la cia y sucursal existe horario especial por día feriado if( ifApplyStoreBySpecialHour(dateToday, getCodeCompany(), (JSON.parse(localStorage.getItem(locStor+getPrefixStore3())).codigo)) true){ return options.inverse(this); }else{ if( ifApplyExpressDeliveryByTime() true ){ return options.fn(this) }else{ return options.inverse(this); } } } else { return options.inverse(this); } } else { return options.inverse(this); } } else { return options.inverse(this); } });*/ Handlebars.registerHelper(ifApplyExpressDelivery, function(expressDelivery, options) { if(CCRZ.pagevars.currentPageNameccrz__ProductList){ expressDeliverytrue; } else if(CCRZ.pagevars.currentPageNameccrz__ProductDetails){ //ajuste para ocultar entrega express de PDP expressDeliveryfalse; } if(expressDelivery){ if(CCRZ.getPageConfig(exdev.stl)){ let availableExpressList CCRZ.getPageConfig(exdev.stl).split(,); let sucursalFilter ; if(localStorage.getItem(locStor+getPrefixStore3())){ sucursalFilter getCodeCompany()+(JSON.parse(localStorage.getItem(locStor+getPrefixStore3())).codigo); } else { return options.inverse(this); } if(availableExpressList.find(x>((x.trim())sucursalFilter))){ const productId (CCRZ.pagevars.currentPageName ccrz__ProductDetails) ? CCRZ.productDetailModel.attributes.product.prodBean.id : ; // validamos si aplica para horario dentro de express delivery if( ifApplyExpressDeliveryByTime() true && getStatusExpressDeliveryByStore(productId) true ){ return options.fn(this); }else{ return options.inverse(this); } } else { return options.inverse(this); } } else { return options.inverse(this); } } else { return options.inverse(this); } }); //-------------------------------------------------------------------------------- //------------------- HANDLEBAR QUE UTILIZAMOS PARA GARANTIAS EXTENDIDA ---------- //-------------------------------------------------------------------------------- Handlebars.registerHelper(splitExtSKUWarranty, function(extSku, options) { return extSku.split( -- )2; }); Handlebars.registerHelper(isWarranty, function(extSku, options) { if(extSku ! undefined){ let skuLabel GARANTIA-EXT return extSku.includes(skuLabel) ? options.inverse(this) : options.fn(this); } else { return options.fn(this); } }); Handlebars.registerHelper(haveWarranty, function(/*cartItemId*/sku, isPGPromoItem, options) { console.log(Este es el sku que se le envia a have warranty en helper: +sku); //console.log(Este es el warrantyparentid que se le envia a have warranty en helper: +cartItemId); let prodWhitExtSku CCRZ.currentCart.attributes.ECartItemsS.models.filter(x > (x.attributes.hasOwnProperty(extSKU) && x.attributes.hasOwnProperty(extName))); //console.log(esto es prodwhitextsku: +JSON.stringify(prodWhitExtSku)); let haveWarranty; console.log(isPGPromoItem); if(!isPGPromoItem){ haveWarranty prodWhitExtSku.find(x > ((x.attributes.extSKU.includes(sku) || x.attributes.extName.includes(sku))&& x.attributes.isPGPromoItem ! true)); } // let haveWarranty false; // if(cartItemId ! undefined){ // haveWarranty (prodWhitExtSku.find(x > (x.attributes.warrantyProductParent cartItemId.toString())) ! undefined) ? true : false ; // } //console.log(esto es havewarranty result: +JSON.stringify(haveWarranty)); // return haveWarranty ? stylepointer-events: none;background: #eaeaea; : ; return haveWarranty ? disableCounter : ; //return haveWarranty ? data-warrantytrue : data-warrantyfalse; }); //-------------------------------------------------------------------------------- //--------------------- HANDLEBARS QUE UTILIZAMOS EN EL CARRITO ------------------ //-------------------------------------------------------------------------------- Handlebars.registerHelper(haveProductMaxQty, function(max_qty,qty,sfid, options) { if(max_qty){ if(qty>max_qty){ CCRZ.cartDetailView.updateItemQty(event,sfid,max_qty); CCRZ.indicadorMaxQty1; return options.fn(this); }else{ return options.inverse(this); } }else{ return options.inverse(this); } }); Handlebars.registerHelper(configurationEval, function(config,options) { if(CCRZ.getPageConfig(C.mq)){ return options.fn(this); }else{ return options.inverse(this); } }); //-------------------------------------------------------------------------------- //--------------------- HANDLEBARS LINK URL CATEGORIAS UPPER MENU ---------------- //-------------------------------------------------------------------------------- Handlebars.registerHelper(hlpSetCartId, function(url,options) { let parametroobtenerValorParametroBase(cartId,url) if(CCRZ.pagevars.currentCartID!&& parametro){ partesUrlurl.split(cartId) return partesUrl0+cartId+CCRZ.pagevars.currentCartID+partesUrl1 }else{ return url } }); //-------------------------------------------------------------------------------- //--------------------- HANDLEBARS QUE UTILIZAMOS EN EL CHECKOUT ----------------- //-------------------------------------------------------------------------------- Handlebars.registerHelper(hlpBtnSaveAddress, function(options) { let btn input idbtnSaveAddress onclicksaveAddressForm(event) typebutton classbtn btn-default btn-medium-checkout cc_save_addr pull-right value + CCRZ.pagevars.pageLabels.Checkout_Delivery_Save_Address + />; return btn; }); Handlebars.registerHelper(hlpProvinceList, function(options) { let html , ubigeos getUbigeos(); for(item of ubigeos.pais.provincia){ html + option data-name + item.descripcion + value + item.ubigeo + > + item.descripcion + /option>; } return html; }) //Handlebars.registerHelper(getCardAddressAccount, function(options) { // CCRZ.CheckoutCustomDataAddressSelect undefined; // getAddressByAccountId(); //}); //-------------------------------------------------------------------------------- //--------------------- HANDLEBARS QUE UTILIZAMOS EN EL MINI CART ---------------- //-------------------------------------------------------------------------------- //Handlebars.registerHelper(updateData, function( options) { // if(CCRZ.cartCheckoutView.currStep!0){ // updateInfo() // console.log(paso1) // clearAmuntAndDelivaryData() // } //}); Handlebars.registerHelper(momentFormatLLLL, function(date, options) { let dateLLLL // if(CCRZ.pagevars.currentPageName ccrz__OrderConfirmation || (!CCRZ.getPageConfig(env.isProd))){ // date date.split(/).reverse().join(/) // } datemoment(date).add(12, hours).format(YYYY-MM-DD); if(date ! ){ let arrDates moment(date).format(LLLL).split( ) arrDates0 arrDates0.toLowerCase().capitalize() arrDates.splice(arrDates.length-1) dateLLLL arrDates.join( ) } else { dateLLLL Fecha invalida } return dateLLLL }) //-------------------------------------------------------------------------------- //--------------------- GET PAYMENT TYPE SVG ICON URL BY KEY -------------------- //-------------------------------------------------------------------------------- Handlebars.registerHelper(getPaymentTypeSVG, function(key, options) { let URL CCRZ.processPageLabelMap(svg_payment_method_ + key); return URL }); Handlebars.registerHelper(getLastCardNumber, function(number, options) { let cardNumber number.substring(number.length - 4) return cardNumber }); Handlebars.registerHelper(maskAsteriskNumber, function(number, card, options) { let cardNumber card Amex ? number.replace(XXXXXXXXXXX,**** ****** *) : number.replace(XXXXXXXXXXXX,**** **** **** ) return cardNumber }); Handlebars.registerHelper(loadQuoteOnce, function(options){ /*if(CCRZ.cartDetailView.model.attributes.quoteId){ return options.inverse(this); } else { return options.fn(this); }*/ if(CCRZ.cartDetailModel.attributes.quoteId){ let acum 0, haveItems CCRZ.cartDetailModel.attributes.ECartItemsS ? true : false if(haveItems){ let cartItems CCRZ.cartDetailModel.attributes.ECartItemsS.models for(let a 0; a cartItems.length; a++){ if(cartItemsa.attributes.comesfromquote){ acum acum + 1 } } if(acum > 0){ return options.inverse(this); } else { return options.fn(this); } } else { return options.fn(this); } } else { return options.fn(this); } }); Handlebars.registerHelper(getLayoutMenuName, function(id, options) { let name JSON.parse(CCRZ.pagevars.pageConfigmenu.menulayoutid); return nameid; }); Handlebars.registerHelper(getFunctionNameLayoutMenu, function(id, options) { let name JSON.parse(CCRZ.pagevars.pageConfigmenu.menulayoutid); return nameid + f; }); /*Helper para crear link que te lleva al PDP del articulo seleccionado en carrousel*/ Handlebars.registerHelper(pdpLink, function(product) { var href CCRZ.goToPDP(null, product); return new Handlebars.SafeString(window.location.href+href+;) }); /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id354> script idpromo_images_block typetext/template> {{#if sku}} {{productLink this promo-click promo_desk promo_sku cc_promo_link image(displayImageCustom this promo_desk promo_sku cc_promo_img w-100 img-responsive altthis.altMsg loadinglazy)}} {{else}} {{#if categoryId}} {{CategoryLinkCustom this promo-click promo_desk promo_category cc_promo_link image(displayImageCustom this promo_desk promo_category cc_promo_img w-100 img-responsive altthis.altMsg loadinglazy)}} {{else}} {{#if externalLink}} a href{{decodeHTML externalLink}} {{#if isNewWindow}}target_blank{{/if}} classpromoLink promo_desk promo_ext {{#if isNewWindow}}promo_newwindow{{/if}} cc_promo_link > img src{{fullImageURL}} alt{{altMsg}} classpromo-click promoLink promo_desk promo_ext {{#if isNewWindow}}promo_newwindow{{/if}} cc_promo_img w-100 img-responsive loadinglazy/> /a> {{else}} {{#if isDownload }} a href{{downloadUri}} target_blank classpromoLink promo_desk promo_dwnld cc_promo_link> img src{{fullImageURL}} alt{{altMsg}} classpromo-click promoLink promo_desk promo_dwnld cc_promo_img w-100 img-responsive loadinglazy/> /a> {{else}} {{#if noLink }} img src{{fullImageURL}} alt{{altMsg}} classpromo-click promo_desk promo_nolink cc_promo_img w-100 img-responsive loadinglazy/> {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} /script> script idmyAccountSectionLog typetext/template> a href# classhover-style nav-link dropdown-toggle cc_dropdown_toggle menu_profile data-toggledropdown rolebutton aria-haspopuptrue aria-expandedfalse> {{#isStoreFront B2CNovey}} div classrow> div classcol-md-8 mt-0 mt-md-3 hidden-xs hidden-sm pr-0> p classtext-black text-right idextName>/p> /div> div classcol-md-4 > i classheigth-user fa fa-user icon-size aria-hiddentrue>/i> /div> /div> {{else}} i classheigth-user fa fa-user icon-size aria-hiddentrue>/i> p idextName classhidden-xs hidden-sm>/p> {{/isStoreFront}} /a> a href# classtoggle-nav> i classfa fa-times hiddentrue>/i> /a> ul classmy-account-header my-dropdown-menu dropdown-menu cc_dropdown-menu dropdown-menu-right drmenu stylez-index:2000> li class{{#isStoreFront B2CCochez}}info2{{/isStoreFront}} text-center border-0-px acctStepNav list-group-item-menu list-group-item> a classhover-style href# idgoToAccount> strong> {{#isStoreFront B2CNovey}} i classfa fa-user-o peraria-hiddentrue>/i> {{/isStoreFront}} span idlblname>/span> /strong> /a> /li> !--**************************--> li idli_redpro classacctStepNav list-group-item list-group-item-menu disabled> a href# > span idlblredpro>/span>img idimg_redprolevel src styledisplay:none, width: 65%> /a> /li> !--*************************--> li classacctStepNav list-group-item list-group-item-menu disabled> a href# > !--***********************************************************--> span idlbLoyalty>/span> /a> /li> !--*******************--> !--********************************************************************************************************************************************************************************************************************************************************************************************--> !--***********************************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoMA userMenuClick data-name{{pageLabelMap MyAccount_ContactInformation}} data-index0 onclickpass(1);> {{#isStoreFront B2CNovey}} i classfa fa-pencil-square-o per>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_ContactInformation}} /span> /a> /li> !--******************************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style cc_goto_section userMenuClick data-name{{pageLabelMap MyAccount_ChangePassword}} data-index1 onclickpass(2);> {{#isStoreFront B2CNovey}} i classfa fa-key per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_ChangePassword}} /span> /a> /li> !--**********************************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoAddressBook cc_goto_section userMenuClick data-name{{pageLabelMap MyAccount_AddressBook}} data-index2> {{#isStoreFront B2CNovey}} i classfa fa-address-book per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_AddressBook}} /span> /a> /li> !--**********************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoCarts cc_goto_section userMenuClick data-name{{pageLabelMap MyAccount_MyCarts}} data-index3> {{#isStoreFront B2CNovey}} i classfa fa-shopping-cart per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_MyCarts}} /span> /a> /li> !--***********************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoOrders cc_goto_section userMenuClick data-name{{pageLabelMap my_account_history_orders_invoices}} data-index4> {{#isStoreFront B2CNovey}} i classfa fa-list per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap my_account_history_orders_invoices}} /span> /a> /li> !--**************************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoWishlists cc_goto_section userMenuClick data-name{{pageLabelMap MyAccount_MyWishlist}} data-index5 idgotoSection> {{#isStoreFront B2CNovey}} i classfa fa-heart-o per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_MyWishlist}} /span> /a> /li> !--******************************--> {{#ifDisplay nav.subs}} li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoSubscriptionsNew cc_goto_section userMenuClick data-name{{pageLabelMap MyAccount_MySubscriptions}} data-index6> {{#isStoreFront B2CNovey}} i classfa fa-pencil per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_MySubscriptions}} /span> /a> /li> {{/ifDisplay}} !--************************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style cc_goto_section userMenuClick data-name{{pageLabelMap MyAccount_MyWallet}} data-index7 idforgotPasswordButton onclickpass(3);> {{#isStoreFront B2CNovey}} i classfa fa-credit-card per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none paymentEdit> {{pageLabelMap MyAccount_MyWallet}} /span> /a> /li> !--****************************--> {{#ifDisplay myaccount_menu.show_acc_sta}} {{#if hasCredit}} li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href{{pageLabelMap MyAccount_Account_Statement_URL}} data-name{{pageLabelMap MyAccount_Account_Statement}} class hover-style userMenuClick> {{#isStoreFront B2CNovey}} i classfa fa-file-text-o per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_Account_Statement}} /span> /a> /li> {{/if}} {{/ifDisplay}} !--*************************--> li classborder-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# class m-3 btn btn-primary hover-style {{#isStoreFront B2CNovey}}btn btn-primary{{/isStoreFront}} doLogout cc_do_logout userMenuClick data-name{{pageLabelMap Component_SiteHeader_Logout}}> {{#isStoreFront B2CNovey}} i classfa icon-signout per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap Component_SiteHeader_Logout}} /span> /a> /li> /ul> !--****************************--> !--*********************************************************************************************--> /script> script idmyAccountSectionNonLog typetext/template> !--****************************--> a href# class nav-link dropdown-toggle cc_dropdown_toggle menu_profile data-toggledropdown rolebutton aria-haspopuptrue aria-expandedfalse> div> i classheigth-user fa fa-user icon-size aria-hiddentrue>/i> /div> /a> a href# classtoggle-nav>i classfa fa-times hiddentrue>/i>/a> ul classno-log my-dropdown-menu dropdown-menu cc_dropdown-menu dropdown-menu-right drmenu stylez-index:2000> li classmt-3 ml-4 mr-4 my_account_nav my-login-header acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classbtn btn-default my-login-header-a goToLogin cc_goto_login> i classfa fa-sign-out per aria-hiddentrue>/i> span classd-md-down-none> {{pageLabelMap Component_SiteHeader_Login}} /span> /a> /li> li classmt-2 ml-4 mr-4 mb-3 my_account_nav my-login-header acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> input typebutton onclickgoToLogin() classw-100 btn btn-primary register cc_register center-block value{{pageLabelMap SiteLogin_CreateNewAccount2}} /> /li> /ul> /script> script idmyAccountSectionLogV2 typetext/template> img src{{#getPageConfig upmenu.user-url}}{{/getPageConfig}} styleheight:15px; margin-top:-2px> a href# classuserElemUpper hover-style nav-link dropdown-toggle cc_dropdown_toggle menu_profile data-toggledropdown rolebutton aria-haspopuptrue aria-expandedfalse> {{#isStoreFront B2CNovey}} !--*************************************************************************************************--> p classtext-black text-right idextName>/p> !--********--> !--******************************************************************************************************************************************--> !--********--> {{else}} !--*********************************************************************--> p idextName classhidden-xs hidden-sm>/p> {{/isStoreFront}} /a> a href# classtoggle-nav> i classfa fa-times hiddentrue>/i> /a> ul classmy-account-header my-dropdown-menu dropdown-menu cc_dropdown-menu dropdown-menu-right drmenu stylez-index:2000> li class{{#isStoreFront B2CCochez}}info2{{/isStoreFront}} text-center border-0-px acctStepNav list-group-item-menu list-group-item> a classhover-style href# idgoToAccount> strong> {{#isStoreFront B2CNovey}} i classfa fa-user-o peraria-hiddentrue>/i> {{/isStoreFront}} span idlblname>/span> /strong> /a> /li> !--**************************--> li idli_redpro classacctStepNav list-group-item list-group-item-menu disabled> a href# > span idlblredpro>/span>img idimg_redprolevel src styledisplay:none, width: 65%> /a> /li> !--*************************--> li classacctStepNav list-group-item list-group-item-menu disabled> a href# > !--***********************************************************--> span idlbLoyalty>/span> /a> /li> !--*******************--> !--********************************************************************************************************************************************************************************************************************************************************************************--> !--***********************************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoMA userMenuClick data-name{{pageLabelMap MyAccount_ContactInformation}} data-index0 onclickpass(1);> {{#isStoreFront B2CNovey}} i classfa fa-pencil-square-o per>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_ContactInformation}} /span> /a> /li> !--******************************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style cc_goto_section userMenuClick data-name{{pageLabelMap MyAccount_ChangePassword}} data-index1 onclickpass(2);> {{#isStoreFront B2CNovey}} i classfa fa-key per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_ChangePassword}} /span> /a> /li> !--**********************************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoAddressBook cc_goto_section userMenuClick data-name{{pageLabelMap MyAccount_AddressBook}} data-index2> {{#isStoreFront B2CNovey}} i classfa fa-address-book per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_AddressBook}} /span> /a> /li> !--**********************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoCarts cc_goto_section userMenuClick data-name{{pageLabelMap MyAccount_MyCarts}} data-index3> {{#isStoreFront B2CNovey}} i classfa fa-shopping-cart per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_MyCarts}} /span> /a> /li> !--***********************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoOrders cc_goto_section userMenuClick data-name{{pageLabelMap my_account_history_orders_invoices}} data-index4> {{#isStoreFront B2CNovey}} i classfa fa-list per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap my_account_history_orders_invoices}} /span> /a> /li> !--**************************--> li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoWishlists cc_goto_section userMenuClick data-name{{pageLabelMap MyAccount_MyWishlist}} data-index5 idgotoSection> {{#isStoreFront B2CNovey}} i classfa fa-heart-o per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_MyWishlist}} /span> /a> /li> !--******************************--> {{#ifDisplay nav.subs}} li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoSubscriptionsNew cc_goto_section userMenuClick data-name{{pageLabelMap MyAccount_MySubscriptions}} data-index6> {{#isStoreFront B2CNovey}} i classfa fa-pencil per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_MySubscriptions}} /span> /a> /li> {{/ifDisplay}} !--************************--> !--***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> !--****************************--> {{#ifDisplay myaccount_menu.show_acc_sta}} {{#if hasCredit}} li class{{#isStoreFront B2CCochez}}info{{/isStoreFront}} border-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href{{pageLabelMap MyAccount_Account_Statement_URL}} data-name{{pageLabelMap MyAccount_Account_Statement}} class hover-style userMenuClick> {{#isStoreFront B2CNovey}} i classfa fa-file-text-o per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap MyAccount_Account_Statement}} /span> /a> /li> {{/if}} {{/ifDisplay}} !--*************************--> li classborder-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# class m-3 btn btn-primary hover-style {{#isStoreFront B2CNovey}}btn btn-primary{{/isStoreFront}} doLogout cc_do_logout userMenuClick data-name{{pageLabelMap Component_SiteHeader_Logout}}> {{#isStoreFront B2CNovey}} i classfa icon-signout per aria-hiddentrue>/i> {{/isStoreFront}} span classd-md-down-none> {{pageLabelMap Component_SiteHeader_Logout}} /span> /a> /li> /ul> !--****************************--> !--*********************************************************************************************--> /script> script idmyAccountSectionNonLogV2 typetext/template> !--****************************--> !--***************************************************************************************************************************************************************************************************--> img src{{#getPageConfig upmenu.user-url}}{{/getPageConfig}} styleheight:15px; margin-top:-2px> a href# classuserElemUpper text-fw-300 text-white font-size-13px nav-link dropdown-toggle cc_dropdown_toggle menu_profile data-toggledropdown rolebutton aria-haspopuptrue aria-expandedfalse> {{pageLabelMap UpperMenu_UserNoLog_title}} /a> !--******************--> a href# classtoggle-nav>i classfa fa-times hiddentrue>/i>/a> ul classno-log my-dropdown-menu dropdown-menu cc_dropdown-menu dropdown-menu-right drmenu stylez-index:2000> li classmt-3 ml-4 mr-4 my_account_nav my-login-header acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classbtn btn-default my-login-header-a goToLogin cc_goto_login> i classfa fa-sign-out per aria-hiddentrue>/i> span classd-md-down-none> {{pageLabelMap Component_SiteHeader_Login}} /span> /a> /li> li classmt-2 ml-4 mr-4 mb-3 my_account_nav my-login-header acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> input typebutton onclickgoToLogin() classw-100 btn btn-primary register cc_register center-block value{{pageLabelMap SiteLogin_CreateNewAccount2}} /> /li> /ul> /script> script idfeaturedProductsTmpl typetext/template> !--*************************************--> div class> !--**********************************************************************************************************************************************************************************************************************************************--> {{#if mockProduct.savings}} div classproduct_flag_grid> {{#displaySVG_IMG sale.svg noUrl(true)}}{{/displaySVG_IMG}} /div> {{else}} {{#if mockProduct.isOnlineExclusive}} div classproduct_flag_grid> {{#displaySVG_IMG exclusive.svg noUrl(true)}}{{/displaySVG_IMG}} /div> {{else}} {{#if mockProduct.isNew}} div classproduct_flag_grid> {{#displaySVG_IMG new.svg noUrl(true)}}{{/displaySVG_IMG}} /div> {{/if}} {{/if}} {{/if}}!--***************************************************************************************************************************************************************************************************************************************************************************--> div styledisplay:flex; flex-direction:column; align-content:stretch classpanel panel-default cc_feeatured_products {{#isStoreFront B2CCochez}}box-shadow-default box-radius-default{{/isStoreFront}}> div classpanel-body cc_body styledisplay: flex;flex-grow:1;> div classp-3> div classrow > div classcol-xs-12 > div classcc_cart_item pt-0 pr-5 pb-4 pl-5 cc-cart-item-mobile> {{productLinkPDP this.mockProduct Featured cc_product_name_img image(displayImageCustom this.mediaWrapper featured img-responsive center-block altthis.mockProduct.name dataIdthis.mockProduct.sku loadinglazy)}} /div> /div> /div> div classrow > div classcol-xs-12 text-left> p classm-0> {{productLinkPDP this.mockProduct Featured cc_product_name text-fw-300 text(displayProductName Aggregate_Display this.mockProduct.sfdcName this.mockProduct.brandName)}} /p> p classcc_sku> !--************************************************************************--> span classcc_sku_value> {{#isStoreFront B2CCochez}} {{#if this.mockProduct.SKUCochez}} {{this.mockProduct.SKUCochez}} {{else}} {{this.mockProduct.sku}} {{/if}} {{else}} {{#if this.mockProduct.SKUNovey}} {{this.mockProduct.SKUNovey}} {{else}} {{this.mockProduct.sku}} {{/if}} {{/isStoreFront}} /span> /p> !--**************************************************************************************************************************************************************************************--> {{#if this.mockProduct.maxqty}} p classtext-alert font-size-12px>{{pageLabelMap Product_Max_Qty_Limit_Message this.mockProduct.maxqty }}/p> {{/if}} {{#if this.primaryAttr}} span classcc_attr_message>{{pageLabelMap ProductAttributes_PriceMessage}}/span> {{else}} {{#if this.showNewSubscriptionSelection}} p classprice priceSubscription cc_price_subscription> span classcc_subscr_price>{{pageLabelMap Prod_SpotLightPrice (price this.price) (price this.minSubPrice) (price this.maxSubPrice)}}/span> /p> {{else}} {{#if this.maxPrice}} p classprice cc_price> {{#if this.displayPrice}} span classprice cc_price cc_display_price>{{pageLabelPrefixMap DisplayPrice_ this.displayPrice}}/span> {{else}} {{#ifbothPricesZero this.minPrice this.maxPrice}} {{#isStoreFront B2CCochez}} h3 classcc_price_value m-1>{{displayRangePrice ProductDetails_PriceRangeFormat this.minPrice this.maxPrice}}/h3> {{else}} span classcc_price_value>{{displayRangePrice ProductDetails_PriceRangeFormat this.minPrice this.maxPrice}}/span> {{/isStoreFront}} {{/ifbothPricesZero}} {{/if}} /p> {{else}} {{#if this.displayPrice}} p classprice displayPrice cc_display_price> span classcc_display_price>{{pageLabelPrefixMap DisplayPrice_ this.displayPrice}}/span> /p> {{else}} {{#isStoreFront B2CCochez}} {{#if this.mockProduct.productFactor}} {{#haveFactor this.mockProduct.productFactor}} p classfont-size-12px>{{pageLabelMap Price_w_Factor}}/p> {{/haveFactor}} {{/if}} h3 classm-1> {{price this.price}}{{#if this.mockProduct.productFactor}}{{#haveFactor this.mockProduct.productFactor}}sup classsup-style>cja/sup>{{/haveFactor}}{{/if}} /h3> {{#if this.mockProduct.productFactor}} {{#haveFactor this.mockProduct.productFactor}} h3 classm-1> {{#priceByM2 this.price this.mockProduct.productFactor}}{{/priceByM2}}sup classsup-style>m²/sup> /h3> {{/haveFactor}} {{/if}} {{else}} p classprice cc_price> span classcc_price_value> {{pageLabelMap Price}} {{price this.price}}{{#if this.mockProduct.productFactor}}{{#haveFactor this.mockProduct.productFactor}}sup classfont-size-14px styletop:-0.8em>cja/sup>{{/haveFactor}}{{/if}} /span> /p> {{#if this.mockProduct.productFactor}} {{#haveFactor this.mockProduct.productFactor}} p classprice cc_price> span classcc_price_value> {{pageLabelMap Price}} {{#priceByM2 this.price this.mockProduct.productFactor}}{{/priceByM2}}sup classfont-size-14px styletop:-0.8em>m²/sup> /span> /p> {{/haveFactor}} {{/if}} {{/isStoreFront}} {{/if}} {{/if}} {{#if this.isTierPriced}} div classcc_prt_tool_tip_div cc_prt_tool_tip_div_spotLight data-toggletooltip title{{pageLabelMap ProductPricingTiers_VolumeHover}}> span classcc_prt_tool_tip_text cc_prt_tool_tip_text_spotLight>{{pageLabelMap ProductPricingTiers_VolumePricing}}/span> /div> {{/if}} {{/if}} {{/if}} {{#if this.mockProduct.basePrice}} p class> span classcc_baseprice_label>{{pageLabelMap Product_BasePrice}}/span> span classcc_baseprice cc_baseprice_value> {{#isStoreFront B2CCochez}} strike>{{price this.mockProduct.basePrice}}/strike> {{else}} {{price this.mockProduct.basePrice}} {{/isStoreFront}} /span> /p> {{/if}} {{#ifDisplay exdev.ted}} {{#if this.mockProduct.expressdelivery}} div classexpressDeliveryStyle {{#ifApplyExpressDelivery this.mockProduct.expressdelivery}} {{else}} styledisplay:none {{/ifApplyExpressDelivery}}> {{pageLabelMap expressDeliveryLabel}} /div> {{/if}} {{/ifDisplay}} !--****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> /div> /div> /div> /div> div classpanel-footer bg-transparent > div classrow px-4 py-2> div classcol-xs-12 > {{#ifDisplay PL.DsplAddCart}} {{#ifCond this.mockProduct.ProductStatus ! Not Orderable}} {{#ifEqualsTo this.mockProduct.ProductType Aggregated}} button onclick{{pdpLink this.mockProduct}} typebutton classbtn btn-default btn-block addToCart_XXX addItem_XXX cc_add_to_cart btn-addtocart> {{pageLabelMap Component_MiniwishList_AddToCart}} /button> {{else}} {{#ifCond this.mockProduct.price > 0}} {{#ifEqualsTo this.mockProduct.ProductType Product}} button onclickitemQuantityValidationCart(event) data-typeFeatured typebutton classbtn btn-default btn-block addToCart_XXX addItem_XXX cc_add_to_cart btn-addtocart data-ProductName{{this.mockProduct.name}} data-ProductPrice{{this.mockProduct.price}} data-idProduct{{this.mockProduct.id}} data-sku{{this.mockProduct.sku}} data-skuCochez{{this.mockProduct.SKUCochez}} data-skuNovey{{this.mockProduct.SKUNovey}} data-brand{{this.mockProduct.brandName}} data-basePrice{{this.mockProduct.basePrice}} data-price{{this.mockProduct.price}} data-listTitle{{this.listTitle}}> {{pageLabelMap Component_MiniwishList_AddToCart}} /button> {{/ifEqualsTo}} {{#ifEqualsTo this.mockProduct.ProductType Bundle}} button onclickitemQuantityValidationCart(event) data-typeFeatured typebutton classbtn btn-default btn-block addToCart_XXX addItem_XXX cc_add_to_cart btn-addtocart data-ProductName{{this.mockProduct.name}} data-ProductPrice{{this.mockProduct.price}} data-idProduct{{this.mockProduct.id}} data-sku{{this.mockProduct.sku}} data-skuCochez{{this.mockProduct.SKUCochez}} data-skuNovey{{this.mockProduct.SKUNovey}} data-brand{{this.mockProduct.brandName}} data-basePrice{{this.mockProduct.basePrice}} data-price{{this.mockProduct.price}} data-listTitle{{this.listTitle}}> {{pageLabelMap Component_MiniwishList_AddToCart}} /button> {{/ifEqualsTo}} {{#ifEqualsTo this.mockProduct.ProductType Assembly}} button onclickitemQuantityValidationCart(event) data-typeFeatured typebutton classbtn btn-default btn-block addToCart_XXX addItem_XXX cc_add_to_cart btn-addtocart data-ProductName{{this.mockProduct.name}} data-ProductPrice{{this.mockProduct.price}} data-idProduct{{this.mockProduct.id}} data-sku{{this.mockProduct.sku}} data-skuCochez{{this.mockProduct.SKUCochez}} data-skuNovey{{this.mockProduct.SKUNovey}} data-brand{{this.mockProduct.brandName}} data-basePrice{{this.mockProduct.basePrice}} data-price{{this.mockProduct.price}} data-listTitle{{this.listTitle}}> {{pageLabelMap Component_MiniwishList_AddToCart}} /button> {{/ifEqualsTo}} {{#ifEqualsTo this.mockProduct.ProductType Kit}} button onclickitemQuantityValidationCart(event) data-typeFeatured typebutton classbtn btn-default btn-block addToCart_XXX addItem_XXX cc_add_to_cart btn-addtocart data-ProductName{{this.mockProduct.name}} data-ProductPrice{{this.mockProduct.price}} data-idProduct{{this.mockProduct.id}} data-sku{{this.mockProduct.sku}} data-skuCochez{{this.mockProduct.SKUCochez}} data-skuNovey{{this.mockProduct.SKUNovey}} data-brand{{this.mockProduct.brandName}} data-basePrice{{this.mockProduct.basePrice}} data-price{{this.mockProduct.price}} data-listTitle{{this.listTitle}}> {{pageLabelMap Component_MiniwishList_AddToCart}} /button> {{/ifEqualsTo}} !--****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> {{else}} p classtext-alert text-center>{{pageLabelMap ProductList_NotOrderable}}/p> {{/ifCond}} {{/ifEqualsTo}} {{else}} p classtext-alert text-center>{{pageLabelMap ProductList_NotOrderable}}/p> {{/ifCond}} {{/ifDisplay}} /div> /div> /div> /div> /div> /script> script idfeaturedProductsTmplV2 typetext/template> div class> !--**********************************************************************************************************************************************************************************************************************************************--> {{#if mockProduct.savings}} div classproduct_flag_grid> {{#displaySVG_IMG sale.svg noUrl(true)}}{{/displaySVG_IMG}} /div> {{else}} {{#if mockProduct.isOnlineExclusive}} div classproduct_flag_grid> {{#displaySVG_IMG exclusive.svg noUrl(true)}}{{/displaySVG_IMG}} /div> {{else}} {{#if mockProduct.isNew}} div classproduct_flag_grid> {{#displaySVG_IMG new.svg noUrl(true)}}{{/displaySVG_IMG}} /div> {{/if}} {{/if}} {{/if}} div styledisplay:flex; flex-direction:column; align-content:stretch classpanel panel-default cc_feeatured_products {{#isStoreFront B2CCochez}}box-shadow-default box-radius-default{{/isStoreFront}}> div classpanel-body cc_body styledisplay: flex;flex-grow:1;> div class{{#isStoreFront B2CNovey}}pt-3 pl-3 pr-3 pb-0{{else}}p-3{{/isStoreFront}}> div classrow > div classcol-xs-12 > !--********************************************************************--> div classcc_cart_item cc-cart-item-mobile {{#isStoreFront B2CNovey}}pt-3 pr-4 pb-4 pl-4 {{else}}pt-0 pr-5 pb-4 pl-5{{/isStoreFront}}> {{productLinkPDP this.mockProduct Featured cc_product_name_img image(displayImageCustom this.mediaWrapper featured img-responsive center-block altthis.mockProduct.name dataIdthis.mockProduct.sku loadinglazy)}} /div> /div> /div> div classrow > !--************************************--> div classcol-xs-12 text-left {{#isStoreFront B2CNovey}}sp-1{{/isStoreFront}}> !--*****************--> p class m-0{{#isStoreFront B2CNovey}} item-title-link text-desc-title{{/isStoreFront}}> {{#isStoreFront B2CCochez}} {{productLinkPDP this.mockProduct Featured cc_product_name text-fw-300 text(displayProductName Aggregate_Display this.mockProduct.sfdcName this.mockProduct.brandName)}} {{else}} {{productLinkPDP this.mockProduct Featured cc_product_name text-fw-300 text(displayProductName Aggregate_Display null this.mockProduct.sfdcName)}} {{/isStoreFront}} /p> {{#isStoreFront B2CNovey}} p class m-0 item-title-link font-size-12px> {{displayProductName Aggregate_Display null this.mockProduct.brandName}} /p> {{/isStoreFront}} p classcc_sku {{#isStoreFront B2CNovey}} item-sku-link{{/isStoreFront}} > !--************************************************************************--> span classcc_sku_value> {{#isStoreFront B2CCochez}} {{#if this.mockProduct.SKUCochez}} {{this.mockProduct.SKUCochez}} {{else}} {{this.mockProduct.sku}} {{/if}} {{else}} {{#if this.mockProduct.SKUNovey}} {{this.mockProduct.SKUNovey}} {{else}} {{this.mockProduct.sku}} {{/if}} {{/isStoreFront}} /span> /p> !--**************************************************************************************************************************************************************************************--> {{#if this.mockProduct.maxqty}} p classtext-alert font-size-12px>{{pageLabelMap Product_Max_Qty_Limit_Message this.mockProduct.maxqty }}/p> {{/if}} {{#if this.primaryAttr}} span classcc_attr_message>{{pageLabelMap ProductAttributes_PriceMessage}}/span> {{else}} {{#if this.showNewSubscriptionSelection}} p classprice priceSubscription cc_price_subscription {{#isStoreFront B2CNovey}}item-price-link{{/isStoreFront}}> span classcc_subscr_price>{{pageLabelMap Prod_SpotLightPrice (price this.price) (price this.minSubPrice) (price this.maxSubPrice)}}/span> /p> {{else}} {{#if this.maxPrice}} p classprice cc_price {{#isStoreFront B2CNovey}}item-price-link{{/isStoreFront}}> {{#if this.displayPrice}} span classprice cc_price cc_display_price>{{pageLabelPrefixMap DisplayPrice_ this.displayPrice}}/span> {{else}} {{#ifbothPricesZero this.minPrice this.maxPrice}} {{#isStoreFront B2CCochez}} h3 classcc_price_value m-1>{{displayRangePrice ProductDetails_PriceRangeFormat this.minPrice this.maxPrice}}/h3> {{else}} span classcc_price_value>{{displayRangePrice ProductDetails_PriceRangeFormat this.minPrice this.maxPrice}}/span> {{/isStoreFront}} {{/ifbothPricesZero}} {{/if}} /p> {{else}} {{#if this.displayPrice}} p classprice displayPrice cc_display_price {{#isStoreFront B2CNovey}} item-price-link {{/isStoreFront}} > span classcc_display_price>{{pageLabelPrefixMap DisplayPrice_ this.displayPrice}}/span> /p> {{else}} {{#isStoreFront B2CCochez}} {{#if this.mockProduct.productFactor}} {{#haveFactor this.mockProduct.productFactor}} p classfont-size-12px>{{pageLabelMap Price_w_Factor}}/p> {{/haveFactor}} {{/if}} h3 classm-1> {{price this.price}}{{#if this.mockProduct.productFactor}}{{#haveFactor this.mockProduct.productFactor}}sup classsup-style>cja/sup>{{/haveFactor}}{{/if}} /h3> {{#if this.mockProduct.productFactor}} {{#haveFactor this.mockProduct.productFactor}} h3 classm-1> {{#priceByM2 this.price this.mockProduct.productFactor}}{{/priceByM2}}sup classsup-style>m²/sup> /h3> {{/haveFactor}} {{/if}} {{else}} p classprice cc_price {{#isStoreFront B2CNovey}}item-price-link{{/isStoreFront}} > span classcc_price_value> {{#isStoreFront B2CCochez}}{{pageLabelMap Price}}{{/isStoreFront}} {{price this.price}}{{#if this.mockProduct.productFactor}}{{#haveFactor this.mockProduct.productFactor}}sup classfont-size-14px styletop:-0.8em>cja/sup>{{/haveFactor}}{{/if}} /span> /p> {{#if this.mockProduct.productFactor}} {{#haveFactor this.mockProduct.productFactor}} p classprice cc_price {{#isStoreFront B2CNovey}}item-price-link{{/isStoreFront}} > span classcc_price_value> {{#isStoreFront B2CCochez}}{{pageLabelMap Price}}{{/isStoreFront}} {{#priceByM2 this.price this.mockProduct.productFactor}}{{/priceByM2}}sup classfont-size-14px styletop:-0.8em>m²/sup> /span> /p> {{/haveFactor}} {{/if}} {{/isStoreFront}} {{/if}} {{/if}} {{#if this.isTierPriced}} div classcc_prt_tool_tip_div cc_prt_tool_tip_div_spotLight data-toggletooltip title{{pageLabelMap ProductPricingTiers_VolumeHover}}> span classcc_prt_tool_tip_text cc_prt_tool_tip_text_spotLight>{{pageLabelMap ProductPricingTiers_VolumePricing}}/span> /div> {{/if}} {{/if}} {{/if}} {{#if this.mockProduct.basePrice}} p class {{#isStoreFront B2CNovey}}item-baseprice-link{{/isStoreFront}} > span classcc_baseprice_label>{{pageLabelMap Product_BasePrice}}/span> span classcc_baseprice cc_baseprice_value> {{#isStoreFront B2CCochez}} strike>{{price this.mockProduct.basePrice}}/strike> {{else}} {{price this.mockProduct.basePrice}} {{/isStoreFront}} /span> /p> {{/if}} {{#ifDisplay exdev.ted}} {{#if this.mockProduct.expressdelivery}} div classexpressDeliveryStyle {{#ifApplyExpressDelivery this.mockProduct.expressdelivery}} {{else}} styledisplay:none {{/ifApplyExpressDelivery}}> {{pageLabelMap expressDeliveryLabel}} /div> {{/if}} {{/ifDisplay}} !--****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> /div> /div> /div> /div> div classpanel-footer bg-transparent > div classrow px-4 py-2 {{#isStoreFront B2CNovey}}pb-0{{/isStoreFront}} > div classcol-xs-12 {{#isStoreFront B2CNovey}} sp-2 {{/isStoreFront}} > {{#ifDisplay PL.DsplAddCart}} {{#ifCond this.mockProduct.ProductStatus ! Not Orderable}} {{#ifEqualsTo this.mockProduct.ProductType Aggregated}} button onclick{{pdpLink this.mockProduct}} typebutton classbtn btn-default btn-block addToCart_XXX addItem_XXX cc_add_to_cart btn-addtocart btn-carousell >{{pageLabelMap Component_MiniwishList_AddToCart}}/button> {{else}} {{#ifCond this.mockProduct.price > 0}} {{#ifEqualsTo this.mockProduct.ProductType Product}} button onclickitemQuantityValidationCart(event) data-typeFeatured typebutton classbtn btn-default btn-block addToCart_XXX addItem_XXX cc_add_to_cart btn-addtocart btn-carousell data-ProductName{{this.mockProduct.name}} data-ProductPrice{{this.mockProduct.price}} data-idProduct{{this.mockProduct.id}} data-sku{{this.mockProduct.sku}} data-skuCochez{{this.mockProduct.SKUCochez}} data-skuNovey{{this.mockProduct.SKUNovey}} data-brand{{this.mockProduct.brandName}} data-basePrice{{this.mockProduct.basePrice}} data-price{{this.mockProduct.price}} data-listTitle{{this.listTitle}}> {{pageLabelMap Component_MiniwishList_AddToCart}} /button> {{/ifEqualsTo}} {{#ifEqualsTo this.mockProduct.ProductType Bundle}} button onclickitemQuantityValidationCart(event) data-typeFeatured typebutton classbtn btn-default btn-block addToCart_XXX addItem_XXX cc_add_to_cart btn-addtocart btn-carousell data-ProductName{{this.mockProduct.name}} data-ProductPrice{{this.mockProduct.price}} data-idProduct{{this.mockProduct.id}} data-sku{{this.mockProduct.sku}} data-skuCochez{{this.mockProduct.SKUCochez}} data-skuNovey{{this.mockProduct.SKUNovey}} data-brand{{this.mockProduct.brandName}} data-basePrice{{this.mockProduct.basePrice}} data-price{{this.mockProduct.price}} data-listTitle{{this.listTitle}}> {{pageLabelMap Component_MiniwishList_AddToCart}} /button> {{/ifEqualsTo}} {{#ifEqualsTo this.mockProduct.ProductType Assembly}} button onclickitemQuantityValidationCart(event) data-typeFeatured typebutton classbtn btn-default btn-block addToCart_XXX addItem_XXX cc_add_to_cart btn-addtocart btn-carousell data-ProductName{{this.mockProduct.name}} data-ProductPrice{{this.mockProduct.price}} data-idProduct{{this.mockProduct.id}} data-sku{{this.mockProduct.sku}} data-skuCochez{{this.mockProduct.SKUCochez}} data-skuNovey{{this.mockProduct.SKUNovey}} data-brand{{this.mockProduct.brandName}} data-basePrice{{this.mockProduct.basePrice}} data-price{{this.mockProduct.price}} data-listTitle{{this.listTitle}}> {{pageLabelMap Component_MiniwishList_AddToCart}} /button> {{/ifEqualsTo}} {{#ifEqualsTo this.mockProduct.ProductType Kit}} button onclickitemQuantityValidationCart(event) data-typeFeatured typebutton classbtn btn-default btn-block addToCart_XXX addItem_XXX cc_add_to_cart btn-addtocart btn-carousell data-ProductName{{this.mockProduct.name}} data-ProductPrice{{this.mockProduct.price}} data-idProduct{{this.mockProduct.id}} data-sku{{this.mockProduct.sku}} data-skuCochez{{this.mockProduct.SKUCochez}} data-skuNovey{{this.mockProduct.SKUNovey}} data-brand{{this.mockProduct.brandName}} data-basePrice{{this.mockProduct.basePrice}} data-price{{this.mockProduct.price}} data-listTitle{{this.listTitle}}> {{pageLabelMap Component_MiniwishList_AddToCart}} /button> {{/ifEqualsTo}} !--*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> {{else}} p classtext-alert text-center>{{pageLabelMap ProductList_NotOrderable}}/p> {{/ifCond}} {{/ifEqualsTo}} {{else}} p classtext-alert text-center>{{pageLabelMap ProductList_NotOrderable}}/p> {{/ifCond}} {{/ifDisplay}} /div> /div> /div> /div> /div> /script> script> Handlebars.registerHelper(pdpLink, function(product) { var href CCRZ.goToPDP(null, product); return new Handlebars.SafeString(window.location.href+href+;) }); /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id357> script> CCRZ.uiProperties.loginView.desktop.tmpl ccCynx_SiteLogin-Desktop; /script> script idccCynx_SiteLogin-Desktop typetext/template> !--************************--> !--*************************************************************************************************************--> !--********--> div classcontainer-fluid p-0> div classrow> div classcol-md-12 hidden-xs hidden-sm> img classimg-responsive w-100 src{{pageLabelMap B2B_Header_Image}}/> /div> div classcol-xs-12 hidden-md hidden-lg> img classimg-responsive w-100 src{{pageLabelMap B2B_Header_Image_Mobile}}/> /div> /div> /div> div classrow mt-2 mb-5> div classcol-md-4> /div> div classcol-md-4 > !--*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> /div> div classcol-md-4> /div> /div> !--****************************************************************************************************************************************************************--> div classmessagingSection-Error styledisplay: none>/div> div classmessagingSection-Info styledisplay: none>/div> div classmessagingSection-Warning styledisplay: none>/div> div classrow row-flex-equal> div classcol-md-2> /div> div classcol-md-4 col-xs-12 login-panel> div classpanel panel-default cc_panel cc_user_login border back-color p-5> div classpanel-heading cc_heading> h4 classpanel-title cc_title>{{pageLabelMap Component_ExistingCustomer_ExistingCustomer}}/h4> /div> div classpanel-body cc_body> form idloginFormDsk classcc_login_form> div classrow> div classcol-md-12> div classform-group> label classsr-only foremailField>{{pageLabelMap SiteLogin_UsernameEmail}} */label> input idemailField nameemailField typeemail classloginInput form-control cc_login_input value{{displayUsername}} title{{pageLabelMap SiteLogin_UsernameEmail}} placeholder{{pageLabelMap SiteLogin_UsernameEmail}} */> /div> /div> div classcol-md-12> div classform-group> label classsr-only forpasswordField>{{pageLabelMap SiteLogin_Password}} */label> input idpasswordField namepasswordField typepassword classloginInput form-control cc_password_input placeholder{{pageLabelMap SiteLogin_Password}} */> /div> /div> /div> div classrow> div classcol-xs-12> input onclickvalidateLogin(this) typebutton idsend2DskCustom classw-100 center-block btn btn-default btn-sm cc_login_button value{{pageLabelMap Component_SiteHeader_Login}} /> /div> /div> div classrow> div classcol-xs-12 mt-3> p class cc_forgot_password text-center> a onclickshowResetPanel(); hrefjavascript:void(0); classcc_forgot_pass>{{pageLabelMap ForgotPassword_ForgotPassword}}/a> /p> /div> /div> /form> /div> /div> /div> div classcol-md-4 col-xs-12 reset-panel> div classpanel panel-default cc_panel cc_user_login border back-color p-5 w-100> div classpanel-heading cc_heading> !--******************************************************************************************************--> h4 classpanel-title cc_title>Olvidó su contraseña?/h4> /div> div classpanel-body cc_body> form idresetFormDsk classcc_login_form> p classtext-xs-justify text-black>Por favor ingrese su correo electrónico y le enviaremos su nueva contraseña./p> div classrow> div classcol-md-12> div classform-group> !--*********************************--> input idemailFieldReset nameemailFieldReset typeemail classresetPasswordInput form-control cc_login_input value{{displayUsername}} title{{pageLabelMap SiteLogin_UsernameEmail}} placeholder{{pageLabelMap SiteLogin_UsernameEmail}} */> /div> /div> !--*****************************************************************************************************************************************************************************************************************************************************************************************************--> /div> div classrow> div classcol-xs-12> input onclickvalidateResetPassword(this) typebutton classw-100 center-block btn btn-default btn-sm cc_login_button value{{pageLabelMap Component_SiteHeader_Submit}} /> /div> /div> div classrow> div classcol-xs-12 mt-3> p class cc_forgot_password text-center> a onclickshowLoginPanel(); hrefjavascript:void(0); classcc_forgot_pass>Iniciar sesión/a> /p> /div> /div> /form> /div> /div> /div> {{#ifDisplay Login.DsplReg}} div classcol-md-4 row-flex-equal> div classtext-black panel panel-default cc_panel cc_register_account border back-color p-5> div class panel-heading cc_heading> h3 classpanel-title cc_title >{{pageLabelMap SiteLogin_NewCustomers}}/h3> /div> div classpanel-body cc_body> !--*********************************************************************************************************--> div classtext-xs-justify cc_create_account text-black>{{pageLabelMap SiteLogin_CreatingAccount}}/div> div classform-group> !--*******************************--> input typebutton classw-100 btn btn-primary btn-sm cc_register center-block onclickgoToRegister(); value{{pageLabelMap SiteLogin_CreateAccount}}/> /div> /div> /div> /div> {{/ifDisplay}} div classcol-md-2> /div> /div> !--***********************************--> /script> script> window.onload function() { var urlnovCCRZ.pagevars.storeSettings.Site_Secure_Domain__c + CCRZ.pagevars.themeBaseURL + images/+ novey_logo.svg; $(#log_novey).append(img classcenter-block src+urlnov+ altnovey_logo height150 width150>); var urlnovCCRZ.pagevars.storeSettings.Site_Secure_Domain__c + CCRZ.pagevars.themeBaseURL + images/+ logo_cochez_e.svg; $(#log_cochez).append(img classcenter-block src+urlnov+ altlogo_cochez height150 width150>); showLoginPanel(); }; function goToRegister() { if(CCRZ.getPageConfig(env.isprod,false)){ window.location CCRZ.pagevars.storeSettings.Site_Secure_Domain__c + /gestion-empresarial/s/SelfRegister; }else{ window.location /b2bcochezservice/s/SelfRegister; } } function validateLogin(e){ var data $(#loginFormDsk).serializeObject(); let remoteCall _.extend(CCRZ.RemoteInvocation, { className: B2CCochez_UserLogin }); remoteCall.invokeCtx(checkForExistingUser, data.emailField, noreset, function (res, err) { if (res ! null) { if(res.success){ $(.messagingSection-Info).css(display, block).append(div classalert alert-info> + CCRZ.pagevars.pageLabels.General_User_Migration_Login + /div>); } else if(res.data EMAIL_NOT_EXIST){ CCRZ.pubSub.trigger(pageMessage, CCRZ.createPageMessage(ERROR, messagingSection-Error, CCRZ.pagevars.pageLabels.Invalid_Email_Login)); } else{ doLogin(data); } } else{ doLogin(data); } }, { nmsp: false }); } function validateResetPassword(e){ var data $(#resetFormDsk).serializeObject(); let remoteCall _.extend(CCRZ.RemoteInvocation, { className: B2CCochez_UserLogin }); remoteCall.invokeCtx(checkForExistingUser, data.emailFieldReset, reset, function (res, err) { if (res ! null) { if(res.success){ $(.messagingSection-Info).css(display, block).append(div classalert alert-info> + CCRZ.pagevars.pageLabels.General_User_Migration_Login + /div>); } else if(res.data EMAIL_NOT_EXIST){ CCRZ.pubSub.trigger(pageMessage, CCRZ.createPageMessage(ERROR, messagingSection-Error, CCRZ.pagevars.pageLabels.Invalid_Email_Login)); } } }, { nmsp: false }); } function doLogin(data){ $(inputid$hdnUsername).val(data.emailField); $(inputid$hdnPassword).val(data.passwordField); setTimeout(() > { login(); }, 1000); } function showLoginPanel() { $(.login-panel).show(); $(.reset-panel).hide(); } function showResetPanel() { $(.reset-panel).show(); $(.login-panel).hide(); } // $(window).on(load, function() { // if (CCRZ.getQueryParam(registrationSuccess) true) { // CCRZ.pubSub.trigger(pageMessage, CCRZ.createPageMessage(INFO, messagingSection-Info-Custom, HI guys!!)); // } // }); CCRZ.pubSub.on(view:loginView:refresh, function() { showMessageLogTrue(); //Ajustar el Tamaño del header a full, eliminando clases, // y agregando la necesaria $(.cc_tmpl_OneColRD).removeClass(container).addClass(container-fluid p-0); }); function showMessageLogTrue(){ var urlLog null; urlLogwindow.location.toString(); if(urlLog!null){ if(urlLog.indexOf(registrationSuccess%3Dtrue)>0){ CCRZ.pubSub.trigger(pageMessage, CCRZ.createPageMessage(INFO, messagingSection-Info, SiteLogin_ThankYouForRegistering)); } } } // function deleteURLRedirect(){ //borrar la url al registrarse por seguridad // sessionStorage.removeItem(redirectUrl); // // } /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id359> script> CCRZ.uiProperties.newCustomerView.desktop.tmpl ccCynx_SiteRegister_NewCustomer_Desktop; /script> script idccCynx_SiteRegister_NewCustomer_Desktop typetext/template> style> .colores{ border-color:red !important; } #newCustomerForm_custom em { color:red!important; } input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } /style> div classerror_messages_section styledisplay:none;>/div> div classrow> div classcol-md-1>/div> div classcenter-block row border back-color col-md-10> div classcol-md-4>/div> form idnewCustomerForm_custom classcol-md-4 form-horizontal> {{#ifDisplay reg.addlInf}} div classremove-color panel panel-default cc_panel cc_addtl_info> div classpanel-body cc_body> {{#ifStoreSettingEquals eCommerceType__c B2B}} div classform-group> label forcompanyName classcol-sm-3 cc_companyname_label>{{pageLabelMap CheckOut_CompanyName}}/label> div classcol-sm-4> input idcompanyName namecompanyName typetext classform-control cc_companyname value{{companyName}} onfocusmyFocus(this); onblurmyBlur(this);> /div> /div> div classform-group> label forcompanyType classcol-sm-3 cc_companytype_label>{{pageLabelMap SiteRegistration_CompanyType}}/label> div classcol-sm-4> select idcompanyType namecompanyType classform-control cc_companytype> {{#each companyTypeOptions}} option value{{this.value}}>{{this.label}}/option> {{/each}} /select> /div> /div> div classform-group> div classcol-sm-offset-3 col-sm-9> div classcheckbox> label fortaxExemptFlag classcc_taxexempt_flag_label> input idtaxExemptFlag typecheckbox nametaxExemptFlag valuetrue classcc_taxexempt_flag {{#if this.taxExemptFlag}} checked {{/if}} />{{pageLabelMap SiteRegistration_TaxExempt}} /label> /div> /div> /div> !--***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> {{/ifStoreSettingEquals}} {{/ifDisplay}} {{#ifDisplay UR.ShowCF2}} div classform-group> label forcustomField2 class cc_custom_field2_label>{{pageLabelMap SiteRegistration_CustomField2}}/label> i title{{pageLabelMap Document_Id_info_icon}} classfa fa-info-circle aria-hiddentrue>/i> div class> !--**************************************************************************************************************************************************************************--> select onchangechangeDocument(this) idcustomField2 typetext classform-control cc_custom_field2 namecustomField2 onfocusmyFocus(this); onblurmyBlur(this);> !--*****************************************************************************--> option valueC>{{pageLabelMap SiteRegistration_CustomField1}}/option> option valueP>{{pageLabelMap mySiteRegistration_Pass}}!--*********-->/option> option valueN>NT!--**-->/option> option valueR>RUC!--***-->/option> /select> /div> /div> {{#ifDisplay UR.ShowCF1}} div classform-group> div idlbl> !--****************************************************************************************************************************--> /div> !--****************************************************************************************************************************--> div idchangeText > !--**************************************************************************************************************************************************************************--> !--**************************************************************************************************************************************************************************--> /div> /div> {{/ifDisplay}} /div> /div> {{/ifDisplay}} div classremove-color panel panel-default cc_panel cc_new_customer_panel> !--************************************************************************************************************************************************************************************************--> div classpanel-body cc_body> div classform-group> label forfirstName class cc_firstname_label> {{pageLabelMap CheckOut_FirstName}} /label> div idnames class> !--********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> /div> /div> div classform-group iddv_ln> label forlastName class cc_lastname_label> {{pageLabelMap CheckOut_LastName}} /label> div class> input idlastName namelastName typetext classform-control cc_lastname value{{lastName}} onfocusmyFocus(this); onblurmyBlur(this); onkeyupvalidateFields(event); maxlength50> input typehidden idlastNameTemp namelastNameTemp value /> /div> /div> div classform-group> label forprimaryPhone class cc_phone_label> {{pageLabelMap CheckOut_PrimaryPhone}} /label> i title{{pageLabelMap Phone_info_icon}} classfa fa-info-circle aria-hiddentrue>/i> div class> input idprimaryPhone maxlength8 placeholder{{pageLabelMap Phone_text_placeholder}} value nameprimaryPhone typetext classform-control cc_phone value{{primaryPhone}} onfocusmyFocus(this); onblurmyBlur(this);> !--*************************************--> !--*************************************************--> /div> /div> !--*************************************************************************************************************************************************************************************************************************************--> select styledisplay: none idlanguage namelanguage classform-control cc_language> {{#each languageOptions}} option value{{this.value}}>{{this.label}}/option> {{/each}} /select> !--*********************************************************************************************************************************************************************************************************************************************************************************************************************--> select styledisplay: none idcurrencyCode namecurrencyCode classform-control cc_currency> {{#each currencyOptions}} option value{{this.value}}>{{this.label}}/option> {{/each}} /select> !--**********************************************--> {{#ifDisplay reg.tmZn}} div classform-group> label fortimeZone classcol-sm-3 cc_timezone_label>{{pageLabelMap SiteRegistration_TimeZone}}/label> div classcol-sm-6> select idtimeZone nametimeZone classform-control cc_timezone> {{#each timeZoneOptions}} {{#ifEquals this.value ../timeZone}} option value{{this.value}} selected>{{this.label}}/option> {{else}} option value{{this.value}}>{{this.label}}/option> {{/ifEquals}} {{/each}} /select> /div> /div> {{/ifDisplay}} /div> /div> div classremove-color panel panel-default cc_panel cc_login_info> div classpanel-body cc_body> div classform-group > label forusername class cc_username_label>{{pageLabelMap SiteRegistration_UsernameEmail}}/label> div class> input idusername onkeyupup(this);deleteMessage() placeholderusuario@dominio.com nameusername typetext classform-control cc_username value{{username}} onfocusmyFocus(this); onblurmyBlur(this);> label styledisplay: none; idgcEmailService-Info classN_A info-block font-size-13px>/label> label styledisplay: none; idgcEmailService-Error classN_A help-block font-size-13px>/label> /div> em idres>/em> /div> {{#ifDisplay UR.DirLogin}} div classform-group> label forNewPassword classcol-sm-3 cc_newpassword_label>{{pageLabelMap SiteRegistration_NewPassword}}/label> div classcol-sm-4> input idNewPassword nameNewPassword typepassword classform-control cc_newpassword value{{NewPassword}} onfocusmyFocus(this); onblurmyBlur(this);> /div> /div> div classform-group> label forConfirmPassword classcol-sm-3 cc_confirmpassword_label>{{pageLabelMap SiteRegistration_ConfirmPassword}}/label> div classcol-sm-4> input idConfirmPassword nameConfirmPassword typepassword classform-control cc_confirmpassword value{{ConfirmPassword}} onfocusmyFocus(this); onblurmyBlur(this);> /div> /div> {{/ifDisplay}} /div> /div> div classremove-color panel panel-default cc_panel cc_login_info> div classpanel-body cc_body> div classform-group > div classcol-xs-12 p-0> div classcheckbox> label forPrivacyPolicyAgree classcc_taxexempt_flag_label> input idPrivacyPolicyAgree typecheckbox namePrivacyPolicyAgree valuetrue classcc_taxexempt_flag required title{{pageLabelMap Privacy_Policies_requiredMsj}}/> {{pageLabelMap Privacy_Policies_Agreement_1}} a classlink-blue data-togglemodal data-target.TermsConditionsModal >{{pageLabelMap Privacy_Policies_Agreement_2}}/a> /label> /div> /div> /div> /div> /div> div classremove-color panel panel-default cc_panel cc_billing_address_panel> !--*****--> !--**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> input idbillingAddress.address1 namebillingAddress.address1 typehidden classform-control cc_checkoutaddress value. onfocusmyFocus(this); onblurmyBlur(this);> !--**********************************************************************************************************************************************************************************************************************************************************************************************************************************************--> input idbillingAddress.address2 namebillingAddress.address2 typehidden classform-control cc_profileaddress value. idbillingAddress.address2 onfocusmyFocus(this); onblurmyBlur(this);> !--************************************************************************************************************************************************************************************************************************************************************************************************************************************--> input idbillingAddress.city namebillingAddress.city typehidden classform-control cc_checkoutcity valueB2BCommerce onfocusmyFocus(this); onblurmyBlur(this);> !--**************************************************--> !--*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> !--******************************************************************************************************************************************************************************************************************************************************************--> input idbillingAddress.postalCode namebillingAddress.postalCode typehidden classform-control cc_checkoutpostalcode value. onfocusmyFocus(this); onblurmyBlur(this);> !--**************************************************--> !--***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> !--*********--> !--*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> !--****************************************************************************************************--> !--*****--> !--***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> !--************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> input idshippingAddress.address1 nameshippingAddress.address1 typehidden classform-control cc_shippingaddress1 value. onfocusmyFocus(this); onblurmyBlur(this);> !--************************************************************************************************************************************************************************************************************************************************************************************************************************--> input idshippingAddress.address2 nameshippingAddress.address2 typehidden classform-control cc_profileaddress2 value. onfocusmyFocus(this); onblurmyBlur(this);> !--*************************************************************************************************************************************************************************************************************************************************************************************************************--> input idshippingAddress.city nameshippingAddress.city typehidden classform-control cc_checkoutcity valueB2BCommerce onfocusmyFocus(this); onblurmyBlur(this);> !--**********************************************--> !--**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> !--***************************************************************************************************************************************************************************************************************************************************--> input idshippingAddress.postalCode nameshippingAddress.postalCode typehidden classform-control cc_checkoutpostalcode value. onfocusmyFocus(this); onblurmyBlur(this);> !--**********************************************--> !--********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> !--**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> div classform-group> div classcol-sm-offset-32 > p classpull-right cc_required_fields>{{pageLabelMap Required_Fields}}/p> div idmsj>/div> input onclickgetResponseEmailValidateMC() typebutton value{{pageLabelMap Site_Submit}} classw-100 btn btn-default btn-sm submit_custom cc_submit /> /div> /div> /div> /div> /form> div classcol-md-4> /div> /div> div classcol-md-1>/div> /div> !--**********************--> div classmodal fade TermsConditionsModal tabindex-1 roledialog aria-labelledbyTermsAndConditions> div classmodal-dialog modal-lg roledocument> div classmodal-content> div classmodal-body> div classrow> div classcol-xs-12> {{pageLabelMap Privacy_Policies_1}} /div> /div> /div> div classmodal-footer> div classrow mt-5> div classcol-xs-12 > button typebutton classbtn btn-default pull-right data-dismissmodal> {{pageLabelMap Close_button}}/button> /div> /div> /div> /div> /div> /div> /script> script> function getValidation() { // $(.checkoutContent).LoadingOverlay(show); let remoteCall _.extend(CCRZ.RemoteInvocation, { className: B2CCochez_UserLogin }); remoteCall.invokeCtx(checkDataValidation, $(#username).val(), function (res, err) { // $(.checkoutContent).LoadingOverlay(hide); if(res ! null){ if(res.success){ var jsonPass JSON.parse(res.data); //console.log(jsonPass); if(jsonPass.status!error){ if(jsonPassA ||jsonPass.gradeB || jsonPass.gradeC){ submitForm(); }else{ $(#res).html(CCRZ.pagevars.pageLabels.register_invalid_email_dv); } }else{ submitForm(); //alert(No hay token...) } } } }, { nmsp: false, escape: false, timeout: 10000, buffer: false }); } // ********************************************************* // NAME: validateFields // DESCRIPTION: Validate fields firstName and lastName using // a regular expression and removing not allowed characters // PARAMS: // - event : JSON - Contain data triggered by the event keyup // RETURN: VOID // ********************************************************* function validateFields(event) { // console.log(validateFields event-> , event); let value event.target.value inputName event.target.id; // PERSONAS REGEX const regex /^a-zA-Zä-üÄ-Üá-úÁ-Ú\ /; re new RegExp(regex); // |(? )\S{2} result re.test(value) // console.log(result) if ( event.target.valueevent.target.value.length -2 && event.key ) { result true; } if(result){ if(value.length > 0){ document.getElementById(inputName).value value.substring(0, value.length - 1); } } } // ********************************************************* // NAME: validateCompanyFields // DESCRIPTION: Validate field name (company) using // a regular expression and removing not allowed characters // PARAMS: // - event : JSON - Contain data triggered by the event keyup // RETURN: VOID // ********************************************************* function validateCompanyFields(event) { // console.log(validateFields event-> , event); let value event.target.value inputName event.target.id; // EMPRESAS REGEX const regex /^0-9a-zA-Zä-üÄ-Üá-úÁ-Ú\\&\- /; re new RegExp(regex); // |(? )\S{2} result re.test(value) // console.log(result) if ( event.target.valueevent.target.value.length -2 && event.key ) { result true; } if ( event.target.valueevent.target.value.length -2 - && event.key -) { result true; } if ( event.target.valueevent.target.value.length -2 & && event.key &) { result true; } if(result){ if(value.length > 0){ document.getElementById(inputName).value value.substring(0, value.length - 1); } } } // ********************************************************* // NAME: validatePassportField // DESCRIPTION: Validate Passport using a regular expression and // removing not allowed characters // PARAMS: // - event : JSON - Contain data triggered by the event keyup // RETURN: VOID // ********************************************************* function validatePassportField(event) { // console.log(validateFields event-> , event); let value event.target.value inputName event.target.id; const regex /^a-zA-Z0-9/; re new RegExp(regex); result re.test(value) // console.log(result) if(result){ if(value.length > 0){ document.getElementById(inputName).value value.substring(0, value.length - 1); } } } // ********************************************************* // NAME: validateCedulaField // DESCRIPTION: Validate Passport using a regular expression and // removing not allowed characters // PARAMS: // - event : JSON - Contain data triggered by the event keyup // RETURN: VOID // ********************************************************* function validateCedulaField(event) { console.log(validateFields event-> , event); let value event.target.value inputName event.target.id key event.target.dataset.key; const regex /^0-9/; re new RegExp(regex); result re.test(value) console.log(regex result -> , result) if(result){ if(value.length > 0){ document.getElementById(inputName).value value.substring(0, value.length - 1); } } } // ********************************************************* // NAME: validateRucField // DESCRIPTION: Validate RUC using a regular expression and // removing not allowed characters // PARAMS: // - event : JSON - Contain data triggered by the event keyup // RETURN: VOID // ********************************************************* function validateRucField(event) { console.log(validateFields event-> , event); let value event.target.value inputName event.target.id inputType event.target.dataset.type, regex ; switch (inputType) { case alpha: regex /^0-9a-zA-Z/; break; case num: regex /^0-9/; break; default: break; } re new RegExp(regex); result re.test(value) console.log(regex result -> , result) if(result){ if(value.length > 0){ document.getElementById(inputName).value value.substring(0, value.length - 1); } } } // ********************************************************* // NAME: validateNTField // DESCRIPTION: Validate RUC using a regular expression and // removing not allowed characters // PARAMS: // - event : JSON - Contain data triggered by the event keyup // RETURN: VOID // ********************************************************* function validateNTField(event) { console.log(validateFields event-> , event); let value event.target.value inputName event.target.id; const regex /^0-9/; re new RegExp(regex); result re.test(value) console.log(regex result -> , result) if(result){ if(value.length > 0){ document.getElementById(inputName).value value.substring(0, value.length - 1); } } } function deleteMessage(){ $(#res).html(); } var mensaje; function validar(){ mensaje($(#customField2).val()R? CCRZ.pagevars.pageLabelsSR_Required_rule_ruc:CCRZ.pagevars.pageLabelsSR_Required_rule_pass ); jQuery.validator.messages.pasaportemensaje; setRulesForm(); if(jQuery(#newCustomerForm_custom).valid()){ //getValidation() submitForm(); } } function displayInfoMessageEVL(response){ const gcEmailServiceInfo document.getElementById(gcEmailService-Info); if(response.check true){ gcEmailServiceInfo.style.display block; gcEmailServiceInfo.style.color #0000FF !important; gcEmailServiceInfo.innerHTML response.msg; }else{ gcEmailServiceInfo.style.color #FFFFFF !important; gcEmailServiceInfo.style.display none; gcEmailServiceInfo.innerHTML ; } } function getResponseEmailValidateMC(){ // Get response validation email api Marketing Cloud promise const gcEmailUsernameValue document.getElementById(username).value; const msgEmailErrValidate CCRZ.pagevars.pageLabels.Checkout_Err_Email_List_Verify; if(gcEmailUsernameValue.length 0 ){ validar(); }else{ getResponseIsValidEmail(gcEmailUsernameValue).then( (response) > { //console.log(RESPONSE EMAIL VERIFY LIST > + JSON.stringify(response)); const msgEmailInfoValidate response.message; let responseInfoEmailVerify new Promise(function(resolve, reject){ if(response.check true){ //validar(); resolve( {msg: msgEmailInfoValidate, check: true} ); }else{ reject( {msg: , check: false} ); } }); responseInfoEmailVerify.then( function(value){ displayInfoMessageEVL(value); }, function(error){ displayInfoMessageEVL(error); } ).then( () > { validar() }); }).catch((error) > { if(error false){ document.getElementById(gcEmailService-Error).style.display block; document.getElementById(gcEmailService-Error).innerHTML msgEmailErrValidate; }else{ console.log(ERROR: + error); } }); } } async function getResponseIsValidEmail(email){ let response await validateEmailWithApiMC(email); return response; } function validateEmailWithApiMC(email){ return new Promise((resolve, reject) > { // Call class to validate email with API Rest Marketing Cloud const remoteCall _.extend(CCRZ.RemoteInvocation, { className: ccCynx_NewCustomer_Desktop_Controller }); remoteCall.invokeContainerLoadingCtx($(.deskLayout), validateEmailMC, email, function (res, err) { //console.log(RESPONSE validateEmailMC OBJ > + JSON.stringify(res)); //console.log(RESPONSE validateEmailMC > + JSON.stringify(res.success)); // si es res.success true && res null continua el proceso de registro. if(res null || res.success){ const emailListResponse (res null ? ok : res.data); const data { msg_ok: CCRZ.pagevars.pageLabels.Checkout_Msg_Ok_Email_List_Verify, msg_unknown: CCRZ.pagevars.pageLabels.Checkout_Msg_Unknown_Email_List_Verify, msg_fail: CCRZ.pagevars.pageLabels.Checkout_Msg_Fail_Email_List_Verify, msg_incorrect: CCRZ.pagevars.pageLabels.Checkout_Msg_Incorrect_Email_List_Verify, msg_key_not_valid: CCRZ.pagevars.pageLabels.Checkout_Msg_Key_Email_List_Verify, msg_missing_parameters: CCRZ.pagevars.pageLabels.Checkout_Msg_Params_Email_List_Verify, check_ok: true, check_fail: false }; if(emailListResponse ok || emailListResponse ok_for_all){ resolve({message: data.msg_ok, check: data.check_ok}); }else if(emailListResponse unknown){ resolve({message: data.msg_unknown, check: data.check_ok}); }else if(emailListResponse fail){ resolve({message: data.msg_fail, check: data.check_fail}); }else if(emailListResponse incorrect){ resolve({message: data.msg_incorrect, check: data.check_fail}); }else if(emailListResponse key_not_valid){ resolve({message: data.msg_key_not_valid, check: data.check_fail}); }else if(emailListResponse missing parameters){ resolve({message: data.msg_missing_parameters, check: data.check_fail}); }else if(emailListResponse null){ resolve({message: data.msg_ok, check: data.check_ok}); }else{ reject(data.check_fail); } }else{ reject(res); } },{ nmsp: false, escape: false, timeout: 10000, buffer: false } ); }); } function setRulesForm() { jQuery.validator.addMethod(namelast, function(value, element) { let elemento$(#customField2).val(); if(elemento ! N || elemento ! R) { return /^a-zA-Z\.ñÑ +$/.test(value); } }, CCRZ.pagevars.pageLabelsSR_Required_rule_nom_ape // div>ul>li>Solamente acepta como carácter especial el punto y la Ñ/li>/ul>/div> ); jQuery.validator.addMethod(telefono, function(value, element) { if(value!){ //console.log(valor ,value); return /^6{1}0-9{7}$/.test(value); }else{ return true; } }, ); jQuery.validator.addMethod(pasaporte, function(value, element) { //cuidado con los guiones bajos if($(#customField2).val()P){ return /^A-Z1-9_{1}A-Z0-9_*$/.test(value); } // else if($(#customField2).val()L){ // //return /^0-9,-{1,20}$/.test(value) // //estoy evaluando un ruc no un pasaporte // return validateRUC(value); // } }, ); jQuery.validator.addMethod(selector, function(value, element) { return /^C||P{1}$/.test(value); }, ); jQuery.validator.addMethod(c1Valid, function(value, element) { return /^(PE|E|N|23456789(?:AV|PI)?|1012345?(?:AV|PI)?)$/.test(value); }, ); jQuery.validator.addMethod(c2Valid, function(value, element) { return /^(?:1-90-9{3}|1-90-9{2}|1-90-9|1-9)$/.test(value); }, ); jQuery.validator.addMethod(c3Valid, function(value, element) { return /(?:1-90-9{5}|1-90-9{2}|1-90-9|1-9)$/.test(value); }, ); jQuery.validator.addMethod(emailValid, function(value, element) { return /^a-z0-9ñ{1}a-z0-9ñ\.\-_*@{1}a-z1-9\.-+\.{1}a-z1-9+$/.test(value); }, CCRZ.pagevars.pageLabelsSR_Required_rule_email // div>ul>li>El primer caracter debe ser numero o letra/li>li>Solamente letras minusculas/li>li>Carácteres especiales permitidos en el usuario del correo .-_/li>li>Carácteres especiales para dominio de correo .-/li>/ul>/div> ); function validateRUC(value){ // (123-123-123-345.split(-)).length if((/^aA-zZ0-9\-+$/).test(value)){ //evalua solamente si contiene numero letra o - if((value.split(-)).length4){ //Si tiene 4 numeros if((/^0-9{1,9}\-{1}aA-zZ0-9{1,2}\-{1}0-9{1,9}\-{1}0-9{1,9}$/).test(value)){ //si cumple retorno true return true; }else{ return false; } }else{ if((value.split(-)).length3){ return (/^0-9{1,9}\-{1}0-9{1,9}\-{1}0-9{1,9}$/).test(value); }else{ return false; } } }else{ return false; } } jQuery(#newCustomerForm_custom).validate({ invalidHandler : function(event, validator) { if(!CCRZ.disableAdaptive) { CCRZ.handleValidationErrors(event, validator, error_messages_section, false); } }, rules : { customField2 : { // required : true, // selector:true }, customField1 : { // required : true, pasaporte:true }, customField1dv : { required : true }, s1:{ required:true, }, c1:{ // required:true, c1Valid:true }, c2:{ // required:true, c2Valid:true }, c3:{ // required:true, c3Valid:true }, r1:{ required : true }, r2:{ required : true }, r3:{ required : true }, firstName : { required : true },/* lastName : { required: function(element) { let res ; let elemento$(#customField2).val(); if(elemento N || elemento L) { res false; } else { res true; } return res; } }, */ lastName : { required : false }, primaryPhone : { required : true, telefono: true }, companyName : { required : (B2B CCRZ.pagevars.storeSettings.eCommerceType__c) && CCRZ.getPageConfig(reg.addlInf, true) }, username : { required : true, emailValid: true }, NewPassword : { required : CCRZ.getPageConfig(UR.DirLogin, true) }, ConfirmPassword : { required : CCRZ.getPageConfig(UR.DirLogin, true) }, billingAddress.address1 : { required : true }, billingAddress.city : { required : true }, billingAddress.postalCode : { required : true }, shippingAddress.address1 : { required : true }, shippingAddress.city : { required : true }, shippingAddress.postalCode: { required : true } }, messages : { customField2 : { required : Seleccione Un Tipo de Documento, selector: Seleccione Un Tipo de Documento }, customField1 : { // pasaporte es requerido, required : CCRZ.pagevars.pageLabelsSR_Required_pass // , // pasaporte: mensaje }, customField1dv : { required : DV requerido, }, S1 : {required: CCRZ.pagevars.pageLabelsRequired_Fields}, c1:{ required: CCRZ.pagevars.pageLabelsRequired_Fields, // c1Valid: Fomatos permitidos 9/E/N/9AV/9PI/PE c1Valid: CCRZ.pagevars.pageLabelsSR_Required_rule_c1 } , c2:{ required: CCRZ.pagevars.pageLabelsRequired_Fields, // Deben ser números c2Valid: CCRZ.pagevars.pageLabelsSR_Required_rule_num } , c3:{ required: CCRZ.pagevars.pageLabelsRequired_Fields, // Deben ser números c3Valid: CCRZ.pagevars.pageLabelsSR_Required_rule_num } , r1:{ required: CCRZ.pagevars.pageLabelsRequired_Fields, } , r2:{ required: CCRZ.pagevars.pageLabelsRequired_Fields, } , r3:{ required: CCRZ.pagevars.pageLabelsRequired_Fields, } , firstName : { required : CCRZ.pagevars.pageLabelsSR_FNameRequired, },/* lastName : { required: function(element) { let res ; let elemento$(#customField2).val(); if(elemento ! N || elemento ! L) { res CCRZ.pagevars.pageLabelsSR_LNameRequired; } else { res false; } return res; } }, */ primaryPhone : { required : CCRZ.pagevars.pageLabelsSR_PhoneRequired, telefono: CCRZ.pagevars.pageLabelsSR_Required_rule_phone // telefono: div>ul>li>Debe comenzar con 6/li>li>Sin guiones solo números/li>li>8 caracteres/li>/ul>/div> }, companyName : { required : CCRZ.pagevars.pageLabelsSR_CompanyNameRequired}, username : { required : CCRZ.pagevars.pageLabelsSR_UserNameRequired}, NewPassword : { required : CCRZ.pagevars.pageLabelsSR_PasswordRequired }, ConfirmPassword : { required : CCRZ.pagevars.pageLabelsSR_ConfPasswordRequired}, billingAddress.address1 : { required : CCRZ.pagevars.pageLabelsSR_BillAddrRequired}, billingAddress.city : { required : CCRZ.pagevars.pageLabelsSR_BillCityRequired}, billingAddress.postalCode : { required : CCRZ.pagevars.pageLabelsSR_BillPostCodeRequired}, shippingAddress.address1 : { required : CCRZ.pagevars.pageLabelsSR_ShipAddrRequired}, shippingAddress.city : { required : CCRZ.pagevars.pageLabelsSR_ShipCityRequired}, shippingAddress.postalCode: { required : CCRZ.pagevars.pageLabelsSR_ShipPostCodeRequired} }, errorElement: em, errorPlacement: function ( error, element ) { // Needed for bootstrap 3 (per validator documentation) if(CCRZ.disableAdaptive) { error.addClass( help-block ); if ( element.prop( type ) checkbox ) { error.insertAfter( element.parent( label ) ); } else { error.insertAfter( element ); } } }, highlight: function ( element, errorClass, validClass ) { if(CCRZ.disableAdaptive) { $(element).parents(.col-sm-4).addClass(has-error).removeClass(has-success); } }, unhighlight: function (element, errorClass, validClass) { if(CCRZ.disableAdaptive) { $(element).parents(.col-sm-4).addClass(has-success).removeClass(has-error); } } }); } function submitForm(){ setRulesForm(); // console.log(formulario ,jQuery(#newCustomerForm_custom).valid()); if (jQuery(#newCustomerForm_custom).valid() ) { let documento , digiv , docOption $(#customField2).val(); // ********* PHONE ********* if($(#primaryPhone).val()){ number_phone 60000000; }else{ number_phone $(#primaryPhone).val(); } // GET DOCUMENT FORMAT BY DOCUMENT OPTION switch (docOption) { // ******** CEDULA - PERSONA NATURAL ******** case C: documento document.getElementById(s1).value + - + document.getElementById(c2).value + - + document.getElementById(c3).value; break; // ******** PASAPORTE - PERSONA NATURAL ******** case P : documento document.getElementById(customField1).value; break; // ******** NT - EMPRESA ******** case N: documentoNum document.getElementById(c1).value + -NT- + document.getElementById(c2).value + - + document.getElementById(c3).value; digiv document.getElementById(customField1dv).value; documento documentoNum + DV + digiv; break; // ******** RUC - EMPRESA ******** case R : documentoNum document.getElementById(r1).value + - + document.getElementById(r2).value + - + document.getElementById(r3).value; digiv document.getElementById(customField1dv).value; documento documentoNum + DV + digiv; break; } if(CCRZ.getPageConfig(debug.show_dcl, false)){ console.log(DOCUMENTO TIPO-> + docOption + | NUMERO -> + documento); console.log(DIGIV -> + digiv ); } // // ********* CEDULA ********* // if($(#customField2).val()C){ // documento document.getElementById(s1).value + - + $(#c2).val() + - + $(#c3).val(); // // console.log(cedula - Documento -> , documento); // } // // ********* NT ********* // if($(#customField2).val()N ){ // documento $(#c1).val()+-+$(#c2).val()+-+$(#c3).val(); // digiv $(#customField1dv).val(); // // console.log(cedula - Documento -> , documento); // } // // ********* ruc ********* // if($(#customField2).val()P || $(#customField2).val()L){ // documento $(#customField1).val(); // digiv $(#customField1dv).val(); // } var v CCRZ.newCustomerView; // debugger; var newCustomerJSON jQuery(#newCustomerForm_custom).serializeObject(); if(!CCRZ.getPageConfig(reg.addlInf, true)) { if(!newCustomerJSON.companyName) { newCustomerJSON.companyName newCustomerJSON.firstName + + newCustomerJSON.lastName; } if(!newCustomerJSON.companyType) { newCustomerJSON.companyType CCRZ.getPageConfig(reg.cmpyType, ISP); } } if(!newCustomerJSON.taxExemptFlag) { newCustomerJSON.taxExemptFlag false; }else{ newCustomerJSON.taxExemptFlag true; } newCustomerJSON.customField1newCustomerJSON.customField2; if( newCustomerJSON.customField1S){ newCustomerJSON.customField1; } newCustomerJSON.customField2 documento; newCustomerJSON.primaryPhone number_phone; newCustomerJSON.digiv digiv; newCustomerJSON.privacyPolicy $(#PrivacyPolicyAgree).val(); v.model.registerUser(JSON.stringify(newCustomerJSON), function(response) { if(CCRZ.getPageConfig(UR.DirLogin, true)){ v.model.doLogin(newCustomerJSON.username,newCustomerJSON.NewPassword); } else{ if($(#customField2).val()N || $(#customField2).val()R){ newCustomerJSON.documentoNum documentoNum; updateaccount(newCustomerJSON); } CCRZ.pubSub.trigger(sign_up_Event,{email: newCustomerJSON.username}); window.location.href / + CCRZ.pagevars.storefrontName.toLowerCase() + /ccrz__CCSiteLogin?registrationSuccesstrue + getCSRQueryString(); } }); }; } function changeDocument(e){ elemento$(#customField2).val(); $(#lbl).empty(); $(#changeText).empty(); if(elemento!S){ if(elementoC){ $(#lbl).append(label forcustomField2 class cc_custom_field2_label>+CCRZ.processPageLabelMap(SiteRegistration_CustomField1)+i idtooltip-nac data-toggletooltip data-placementtop title9/E/N/9AV/9PI/PE - 9999 - 99999 classml-1 fa fa-question-circle aria-hiddentrue>/i>/label>); $(#changeText).empty(); let vi idtooltip-nac data-toggletooltip data-placementtop title9/E/N/9AV/9PI/PE - 9999 - 99999 classfa fa-question-circle aria-hiddentrue>/i> writer; writer+div classrow>; writer+ div classcol-xs-4>select names1 ids1 classform-control style-webkit-appearance: none; >; writer+ option value>/option>; writer+ option valueN>N/option>; writer+ option valuePE>PE/option>; writer+ option valueE>E/option>; writer+ option valuePI>PI/option>; writer+ option value1>1/option>; writer+ option value2>2/option>; writer+ option value3>3/option>; writer+ option value4>4/option>; writer+ option value5>5/option>; writer+ option value6>6/option>; writer+ option value7>7/option>; writer+ option value8>8/option>; writer+ option value9>9/option>; writer+ option value10>10/option>; writer+ option value11>11/option>; writer+ option value12>12/option>; writer+ option value13>13/option>; writer+ /select>/div>; // writer+ div classcol-xs-3>input maxlength3 onkeyupcheckUp(this);validateCedulaField(event) data-key1 classform-control namec1 idc1 typetext onfocusmyFocus(this); onblurmyBlur(this);>/div>; writer+ div classcol-xs-4>input maxlength4 onkeyupcheckUp(this);validateCedulaField(event) data-key2 classform-control namec2 idc2 typetext onfocusmyFocus(this); onblurmyBlur(this);>/div>; writer+ div classcol-xs-4>input maxlength6 onkeyupcheckUp(this);validateCedulaField(event) data-key3 classform-control namec3 idc3 typetext onfocusmyFocus(this); onblurmyBlur(this);>/div>; writer+/div>; // writerinput idcustomField1 typetext classform-control cc_custom_field1 value namecustomField1 onfocusmyFocus(this); onblurmyBlur(this);> $(#changeText).append(writer); $(#dv_ln).show(); writerNames ; writerNames + input idfirstName namefirstName typetext classform-control cc_firstname value onfocusmyFocus(this); onblurmyBlur(this); onkeyupvalidateFields(event);maxlength40>; $(#names).empty(); $(#names).append(writerNames); // VALIDACIÓN PARA ONCHANGE DE CAMPO IDENTIFICACIÓN Y APELLIDO EMPRESA if($(#lastName).val() empresa){ $(#lastName).val( $(#lastNameTemp).val() ); }else{ $(#lastNameTemp).val( $(#lastName).val() ); } } else if(elementoP){ // $(#lbl).append(label forcustomField2 class cc_custom_field2_label>Pasaporte/label>); $(#lbl).append(label forcustomField2 class cc_custom_field2_label>+CCRZ.processPageLabelMap(mySiteRegistration_Pass)+/label>); $(#changeText).empty(); $(#changeText).append(input onkeyuptoUpper(event);validatePassportField(event) placeholderIngresa número de identificación idcustomField1 typetext classform-control cc_custom_field1 value namecustomField1 onfocusmyFocus(this); onblurmyBlur(this);>); $(#dv_ln).show(); writerNames ; writerNames + input idfirstName namefirstName typetext classform-control cc_firstname value onfocusmyFocus(this); onblurmyBlur(this); onkeyupvalidateFields(event);maxlength40>; $(#names).empty(); $(#names).append(writerNames); // VALIDACIÓN PARA ONCHANGE DE CAMPO IDENTIFICACIÓN Y APELLIDO EMPRESA if($(#lastName).val() empresa){ $(#lastName).val( $(#lastNameTemp).val() ); }else{ $(#lastNameTemp).val( $(#lastName).val() ); } } else if(elementoR){ // $(#lbl).append(label forcustomField2 class cc_custom_field2_label>Pasaporte/label>); writer; writer+div classrow>; writer+ div classcol-xs-5>label forcustomField2 class cc_custom_field2_label>+Ruc+/label>/div>; writer+ div classcol-xs-3 col-xs-offset-4>label forcustomField2 class cc_custom_field2_label>+DV+/label>/div>; writer+/div>; $(#lbl).append(writer); writer; writer+div classrow>; writer+ div classcol-xs-3>input maxlength10 data-typealpha onkeyuptoUpper(event);validateRucField(event);classform-control p-xs-2 p-md-3 namer1 idr1 typetext onfocusmyFocus(this); onblurmyBlur(this);>/div>; writer+ div classcol-xs-3>input maxlength10 data-typenum onkeyupvalidateRucField(event); classform-control namer2 idr2 typetext onfocusmyFocus(this); onblurmyBlur(this);>/div>; writer+ div classcol-xs-3>input maxlength10 data-typenum onkeyupvalidateRucField(event); classform-control namer3 idr3 typetext onfocusmyFocus(this); onblurmyBlur(this);>/div>; writer+ div classcol-xs-3>input maxlength2 data-typenum onkeyupvalidateRucField(event); classform-control p-3 cc_custom_field1 typetext namecustomField1dv idcustomField1dv value onfocusmyFocus(this); onblurmyBlur(this); style-webkit-appearance: none; required>/div>; writer+/div>; $(#changeText).empty(); $(#changeText).append(writer); $(#dv_ln).hide(); //$(#lastName).val(empresa); writerNames ; writerNames + input idfirstName namefirstName typetext classform-control cc_firstname value onfocusmyFocus(this); onblurmyBlur(this); onkeyupvalidateCompanyFields(event);maxlength40>; $(#names).empty(); $(#names).append(writerNames); // VALIDACIÓN PARA ONCHANGE DE CAMPO IDENTIFICACIÓN Y APELLIDO EMPRESA if( $(#lastName).val() ! empresa ){ $(#lastNameTemp).val( $(#lastName).val() ); $(#lastName).val(empresa); }else{ $(#lastNameTemp).val( $(#lastNameTemp).val() ); $(#lastName).val(empresa); } // console.log(RUC VALUE: + $(#lastName).val() ); } else if(elemento N){ //$(#lbl).append(label forcustomField2 class cc_custom_field2_label>+CCRZ.processPageLabelMap(SiteRegistration_CustomField1)+i idtooltip-nac data-toggletooltip data-placementtop title9/E/N/9AV/9PI/PE - 9999 - 99999 classml-1 fa fa-question-circle aria-hiddentrue>/i>/label>); writer; writer+div classrow>; writer+ div classcol-xs-10>label forcustomField2 class cc_custom_field2_label> + CCRZ.processPageLabelMap(SiteRegistration_CustomField3) + /div>;//+ i idtooltip-nac data-toggletooltip data-placementtop title9/E/N/9AV/9PI/PE - 9999 - 99999 classml-1 fa fa-question-circle aria-hiddentrue>/i>/label>/div>; writer+ div classcol-xs-2>label forcustomField2 class cc_custom_field2_label>+DV+/label>/div>; writer+/div>; $(#lbl).append(writer); $(#changeText).empty(); // let vi idtooltip-nac data-toggletooltip data-placementtop title9/E/N/9AV/9PI/PE - 9999 - 99999 classfa fa-question-circle aria-hiddentrue>/i> writer; writer+div classrow>; // writer+ div classcol-xs-3>input maxlength3 onkeyupcheckUp(this);validateNTField(event); classform-control namec1 idc1 typetext onfocusmyFocus(this); onblurmyBlur(this);>/div>; writer+ div classcol-xs-2 pr-2>select namec1 idc1 classform-control px-3 style-webkit-appearance: none; >; writer+ option value>/option>; writer+ option value1>1/option>; writer+ option value2>2/option>; writer+ option value3>3/option>; writer+ option value4>4/option>; writer+ option value5>5/option>; writer+ option value6>6/option>; writer+ option value7>7/option>; writer+ option value8>8/option>; writer+ option value9>9/option>; writer+ option value10>10/option>; writer+ option value11>11/option>; writer+ option value12>12/option>; writer+ option value13>13/option>; writer+ option value14>14/option>; writer+ option value15>15/option>; writer+ /select>/div>; writer+ div classcol-xs-1 text-center p-0 pt-2> -NT- /div>; // writer+ div classcol-xs-3>input maxlength6 onkeyupcheckUp(this);validateNTField(event); classform-control namec3 idc3 typetext onfocusmyFocus(this); onblurmyBlur(this);>/div>; writer+ div classcol-xs-2 pl-2>select namec2 idc2 classform-control style-webkit-appearance: none; >; writer+ option value>/option>; writer+ option value1>1/option>; writer+ option value2>2/option>; writer+ option value3>3/option>; writer+ option value4>4/option>; writer+ option value5>5/option>; writer+ option value6>6/option>; writer+ option value7>7/option>; writer+ option value8>8/option>; writer+ option value9>9/option>; writer+ /select>/div>; writer+ div classcol-xs-4>input maxlength15 onkeyupvalidateNTField(event); namec3 idc3 typetext classform-control cc_custom_field1 value onfocusmyFocus(this); onblurmyBlur(this);>/div>; writer+ div classcol-xs-3>input maxlength2 data-typenum onkeyupvalidateRucField(event); classform-control p-3 cc_custom_field1 typetext namecustomField1dv idcustomField1dv value onfocusmyFocus(this); onblurmyBlur(this); style-webkit-appearance: none; required>/div>; writer+/div>; // writerinput idcustomField1 typetext classform-control cc_custom_field1 value namecustomField1 onfocusmyFocus(this); onblurmyBlur(this);> $(#changeText).append(writer); $(#dv_ln).hide(); //$(#lastName).val(empresa); writerNames ; writerNames + input idfirstName namefirstName typetext classform-control cc_firstname value onfocusmyFocus(this); onblurmyBlur(this); onkeyupvalidateCompanyFields(event);maxlength40>; $(#names).empty(); $(#names).append(writerNames); if( $(#lastName).val() ! empresa ){ $(#lastNameTemp).val( $(#lastName).val() ); $(#lastName).val(empresa); }else{ $(#lastNameTemp).val( $(#lastNameTemp).val() ); $(#lastName).val(empresa); } console.log(NT VALUE: + $(#lastName).val() ); } }else{ $(#lbl).empty(); $(#changeText).empty(); $(#dv_ln).show(); } } function checkUp(e){ if(e.idc1){ let t$(#c1).val().toUpperCase(); $(.errc1).empty(); $(#c1).val(t); } if(e.idc2){ $(.errc2).empty(); } if(e.idc3){ $(.errc3).empty(); } } function up(e){ // console.log($(#username).val().toLowerCase()); $(#username).val($(#username).val().toLowerCase()) } // OLD FUNCTION TO TRANSFORM TO UPPER CASE - ONLY WORKS WITH customField1 function upper(){ $(#customField1).removeClass( colores ) let passdocument$(#customField1).val().toUpperCase(); $(#customField1).val(passdocument); } // ********************************************************* // NAME: toUpper // DESCRIPTION: NEW FUNCTION TO TRANSFORM TO UPPER CASE - WORKS WITH IDs READING IT FROM EVENT // PARAMS: // - event : JSON - Contain data triggered by the event keyup // RETURN: VOID // ********************************************************* function toUpper(event){ let value event.target.value inputName event.target.id $(# + inputName).removeClass( colores ) let passdocument value.toUpperCase(); $(# + inputName).val(passdocument); } CCRZ.pubSub.on(view:newCustomerView:refresh, function(param){ $( #customField2 ).trigger( change ); }); function updateaccount(newCustomerJSON){ if(CCRZ.getPageConfig(debug.show_dcl, false)){ console.log(JMC > +JSON.stringify(newCustomerJSON)); } var remoteCall _.extend(CCRZ.RemoteInvocation, { className: ccCynx_NewCustomer_Desktop_Controller }); remoteCall.invokeContainerLoadingCtx($(.deskLayout),updateaccount,newCustomerJSON.companyName,newCustomerJSON.customField2,newCustomerJSON.documentoNum,newCustomerJSON.digiv, function (res, err) { if (res ! null) { if (res.success) { if(CCRZ.getPageConfig(debug.show_dcl, false)){ console.log(jmc > res +JSON.stringify(res)); } resolve(res); } else { reject(res); } } else { reject(res); } },{ nmsp: false, escape: false, timeout: 60000, buffer: false } ); } /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id362> script> CCRZ.uiProperties.headerView.desktop.tmpl B2B_CochezHeaderDesktopTmp; /script> script idB2B_CochezHeaderDesktopTmp typetext/template> {{#ifDisplay pm_u.enable}} div classrow stylebackground-color:{{#getPageConfig pm_u.bg_color}}{{/getPageConfig}}> div classcol-xs-12> div classtext-center> p classfont-weight-bold pt-3 pb-n2 cintillo_color> {{pageLabelMap Header_Promotion_Cochez}} {{#ifDisplay pm_u.countdown}} span id classsticky-countdown cintillo_color stylecolor:{{#getPageConfig pm_u.cd_fcolor}}{{/getPageConfig}}>/span> {{printCountDown-Header sticky-countdown}} {{/ifDisplay}} /p> /div> /div> /div> {{/ifDisplay}} div classupperMenuTarget>/div> div classB2B_CochezHeaderNewTarget>/div> /script> script> function goToLogin(){ //borrar la url al registrarse por seguridad //sessionStorage.removeItem(redirectUrl); //original url window.location/b2bcochezservice/s/SelfRegister; } // CREACION DEL VIEW EN EL LISTADO DE UIPROPERTIES jQuery(function ($) { CCRZ.util.createView({ desktop: { template: B2B_CochezHeaderDesktopTmp, target: headerDesktopTmp }, phone: { template: B2B_CochezHeaderDesktopTmp, target: headerDesktopTmp //Note the predefined placement here //target: headerDesktopTmp } }); // ### LOAD MODEL ### CCRZ.currentUser.Contact.AccountId CCRZ.models.headerDesktopTmpModel CCRZ.CloudCrazeModel.extend() CCRZ.views.headerDesktopView CCRZ.CloudCrazeView.extend({ // viewName: headerDesktopView, templateDesktop: CCRZ.util.template(B2B_CochezHeaderDesktopTmp), templatePhone: CCRZ.util.template(B2B_CochezHeaderDesktopTmp), init: function () { let nombre + CCRZ.processPageLabelMap(Name_Profile); let puntos + CCRZ.processPageLabelMap(PaymentProcessorTab_pg); let credito + CCRZ.processPageLabelMap(Credit); let v this; v.render(); let id CCRZ.pagevars.queryParams.hasOwnProperty(portalUser)? CCRZ.pagevars.queryParams.portalUser : var remoteCall _.extend(CCRZ.RemoteInvocation, { className: ccCynx_LoyaltyPoints }); // GET LOYALTY POINTS remoteCall.invokeContainerLoadingCtx($(.deskLayout), getLoyalty, id, function (res, err) { if (res.data ! undefined) { v.data { Loyalty: res.data }; if(!v.data.Loyalty.hasOwnProperty(Loyalty_Points__c)){ v.data.Loyalty.Loyalty_Points__c 0; } if(!v.data.Loyalty.hasOwnProperty(Loyalty_Dollars__c)){ v.data.Loyalty.Loyalty_Dollars__c 0; } // $(#lbLoyalty).html(puntos + strong> + ( + v.data.Loyalty.Loyalty_Points__c + )/strong>); $(#lbLoyalty).html( puntos + i classfa fa-dot-circle-o per aria-hiddentrue>/i>+ strong> + (P + v.data.Loyalty.Loyalty_Points__c + ) | ($ + v.data.Loyalty.Loyalty_Dollars__c + )/strong>); } else { v.data { Loyalty: }; $(#lbLoyalty).html(puntos); }; if (!CCRZ.pagevars.isGuest) { /*** activa la opcion de MI CUENTA EN EL HEADER****/ // let msg + CCRZ.processPageLabelMap(Component_SiteHeader_MyAccount); // $(#cc_my_account).html(a href# idgoToAccount>i classfa fa-user aria-hiddentrue>/i>span idlabelMyaccount> + msg + /span> /a>); document.getElementById(menuprofile).style.display block; document.getElementById(menuprofile1).style.display none; } else { document.getElementById(menuprofile).style.display none; document.getElementById(menuprofile1).style.display block; } },{ buffer: false, nmsp: false } ); // GET CONTACT NAME remoteCall.invokeContainerLoadingCtx($(.deskLayout), getContactName, id, function (res, err) { if (res.data ! undefined) { if (res.data.Contact ! undefined) { v.data { Name: res.data.Contact.Name }; $(#lblname).html(v.data.Name); if(!CCRZ.pagevars.isGuest){ $(#extName).html(Hola + (v.data.Name.split( )0).toLowerCase().capitalize()); } else { $(#extName).html(); } } else { v.data { Name: }; $(#lblname).html(nombre); $(#extName).html(); } }else{ v.data { Name: }; $(#lblname).html(nombre); $(#extName).html(); } },{ buffer: false, nmsp: false } ); // GET CREDIT remoteCall.invokeContainerLoadingCtx($(.deskLayout), getCredit, id, function (res, err) { let CreditAvailable 0 if (res.data.length > 0) { v.data { CreditLines: res.data }; if(v.data.CreditLines.length > 1){ for( creditLine of v.data.CreditLines ){ CreditAvailable CreditAvailable + parseFloat(creditLine.Available_Line_of_Credit__c) } v.data { CreditAvailable: CreditAvailable }; }else{ v.data { CreditAvailable: 0 }; } $(#credit).html(credito + strong> + ($ + v.data.CreditAvailable + )/strong>); } else { v.data { CreditAvailable: 0 }; $(#credit).html(credito + strong> + ($ + v.data.CreditAvailable + )/strong>); }; },{ buffer: false, nmsp: false } ); }, renderDesktop: function () { this.setElement($(#headerDesktopTmp)); this.$el.html(this.templateDesktop(this.data)); }, renderPhone: function () { this.setElement($(#headerDesktopTmp)); this.$el.html(this.templatePhone(this.data)); }, }); CCRZ.headerDesktopTmp new CCRZ.views.headerDesktopView({ model: new CCRZ.models.headerDesktopTmpModel }); // if (new URLSearchParams(window.location.search).getAll(chp).length > 0) { // setTimeout(() > { // CCRZ.myaccountView.gotoSection(1); // }, 1500); // } if (new URLSearchParams(window.location.search).getAll(wall).length > 0) { setTimeout(() > { CCRZ.myaccountView.gotoSection(7); }, 1500); } function clearCustomStorage(){ //if(!CCRZ.pagevars.isGuest){ if((CCRZ.pagevars.currentPageName!ccrz__Checkout) && (CCRZ.pagevars.currentPageName!ccrz__OrderConfirmation)){ sessionStorage.removeItem(getB2CCartDetails) sessionStorage.removeItem(payData) } //} } clearCustomStorage(); }); function pass(i) { let url ; let secureUrl CCRZ.pagevars.storeSettings.Site_Secure_Domain__c; let secureUrlStore CCRZ.pagevars.storeSettings.Name; if (secureUrlStore B2CNovey) { url ccrz__MyAccount?cartId&viewStateviewAccount&portalUser&storeB2CNovey&cclcles; } else { url ccrz__MyAccount?cartId&viewStateviewAccount&portalUser&store&cclcles; } if (i 2) { if(CCRZ.getPageConfig(env.isprod,2)){ secureUrl secureUrl + / + url + &chptrue; }else{ secureUrl secureUrl + / + secureUrlStore.toLowerCase() + / + url + &chptrue; } } else if (i 1) { if(CCRZ.getPageConfig(env.isprod,2)){ secureUrl secureUrl + / + url; }else{ secureUrl secureUrl + / + secureUrlStore.toLowerCase() + / + url; } } else if (i 3) { if(CCRZ.getPageConfig(env.isprod,2)){ secureUrl secureUrl + / + url + &walltrue; }else{ secureUrl secureUrl + / + secureUrlStore.toLowerCase() + / + url + &walltrue; } } window.location secureUrl; } function loadPromo(){ if(CCRZ.pagevars.currentPageNameccrz__HomePage){ $(.splash-promo-Desktop).append(img src+CCRZ.pagevars.pageLabels.splash_image_init_b2bcochez+ classhidden-xs visible-sm-block visible-lg-block visible-ipad center-block loadinglazy/>); $(.splash-promo-Desktop).append(img src+CCRZ.pagevars.pageLabels.splash_image_init_mobile_b2bcochez+ classvisible-xs-block hidden-sm margin-iphone center-block loadinglazy/>); } } CCRZ.pubSub.on(view:headerView:refresh, function() { CCRZ.headerNewView new CCRZ.views.headerNewView(); $(.cc_menu_container).remove(); // $(.cc_home_slider).remove(); loadPromo() }); /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id365>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id365:j_id366:j_id367> style> .selected-store{ color: #14f905; font-size: 80%; } .sidenav { height: 100%; width: 0; position: fixed; z-index: 9999; top: 0; left: 0; background-color: #ffffff; transition: 0.5s; overflow-x: hidden; overflow-y: hidden; } .sidebar-stores{ overflow-y: scroll; height: 84%; } .sidenav .closebtn { position: absolute; top: -15px; right: 5px; font-size: 4em; margin-left: 50px; color: #0055b8 !important; } .sidenav-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9998; background-color: #00000080; } .sidenav .panel-default{ transition: display 0.5s; } .sidebar-stores::-webkit-scrollbar { width: 2px; } .sidebar-stores::-webkit-scrollbar-thumb { border-radius: 10px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); } @media screen and (max-height: 450px) { .sidenav { padding-top: 15px; } } #searchStore{ height: unset !important; border: 0 !important; width: 100px; font-size: 1.2em; font-weight: 400; color: black; } #btnSearchStore{ height: 35px; padding: 0, 5px, 0, 10px !important; background-color: transparent; border-color: #fff; background-size: contain; background-repeat: no-repeat; border: 0px; } /style> div classsidenav idmySidenav> a classclosebtn hrefjavascript:void(0) onclickcloseNav()>×/a> div classrow m-1 p-1> div classform-group mt-5 pt-5> div classbox-search-store> div classinput-group cc_input-group> input classform-control onkeyupfilterByNameStore(this) placeholderIngresa el nombre de la sucursal que buscas. styleborder: none !important; box-shadow: none !important typeemail /> span classinput-group-btn> button classbtn btn-default stylefont-size:12px typeSubmit> i aria-hiddentrue classfa fa-search>/i> /button> /span> /div> /div> /div> /div> div classsidebar-stores>/div> /div> div classsidenav-backdrop onclickcloseNav(); styledisplay: none>/div> script> $(window).on(load, function() { getAvailableStores() }) function openNav() { if (screen.width 601){ document.getElementById(mySidenav).style.width 300px; } else { document.getElementById(mySidenav).style.width 450px; } document.getElementsByClassName(sidenav-backdrop)0.style.display block; } function closeNav() { document.getElementById(mySidenav).style.width 0; document.getElementsByClassName(sidenav-backdrop)0.style.display none; $(#store-localized).popover(hide) $(#store-localized).popover(destroy) } function filterByNameStore( inputElem ){ let storeHtml document.getElementsByClassName(name-store); for ( const elem of storeHtml ) { let strNormalize elem.textContent.normalize(NFD).replace(/\u0300-\u036f/g, ).toLowerCase(); let inpNormalize inputElem.value.normalize(NFD).replace(/\u0300-\u036f/g, ).toLowerCase(); if( !strNormalize.includes( inpNormalize ) ){ $(elem).parent().css( display, none ); } else{ $(elem).parent().css( display, block ); } } } function getAvailableStores(){ let company getCodeCompany() let remoteCall _.extend(CCRZ.RemoteInvocation, { className: ccCynx_AddressInMapController }); remoteCall.invokeContainerLoadingCtx($(.deskLayout), getAllStores, JSON.stringify({cia: company}), function (res, err) { if(res ! null){ if(res.success){ localStorage.setItem(stores+getPrefixStore3(), JSON.stringify(res.data)) CCRZ.pubSub.trigger(chargeALStores); let html ; for ( const store of res.data ) { if(store.centro ! D1){ html + `div class panel-default m-1 p-1> div classname-store pl-3 font-weight-bold border-header-panel my-panel panel-heading> ${ store.nombre } /div> div classpanel-body border> div classml-4 card-body> i aria-hiddentrue classfa fa-map-marker fa-fw>/i> label>${CCRZ.pagevars.pageLabels.Sidebar_Sucursales_Address_Title}/label> p classcardP card-text> ${ store.direccion } /p> div class> div classrow> div classcol-md-6> i aria-hiddentrue classfa fa-calendar> /i> label>${CCRZ.pagevars.pageLabels.Sidebar_Sucursales_Hours_Title} /label> /div> div classcol-md-6> label>a classcc_menu_type_url hrefccrz__CCPage?pagekeysucursales&cartId&portalUser&store&cclcles&storeCode${store.centro}> ${CCRZ.pagevars.pageLabels.viewMap} /a>/label> /div> /div> /div> p classcard-text m-0>${CCRZ.pagevars.pageLabels.Sidebar_Sucursales_Hours_LV_Title} strong> ${ store.horarioLunesViernes }/strong>/p> p classcard-text m-0>${CCRZ.pagevars.pageLabels.Sidebar_Sucursales_Hours_S_Title} strong>${ store.horarioSabado }/strong>/p> p classcard-text m-0>${CCRZ.pagevars.pageLabels.Sidebar_Sucursales_Hours_D_Title} strong>${ store.horarioDomingo }/strong>/p> div classtext-center> button classbtn btn-primary w-75 m-3 text-none typebutton data-code${store.centro} onclickcrossDataStore(event)>${CCRZ.pagevars.pageLabels.Sidebar_Sucursales_Btn_Choose_This_Text}/button> /div> /div> /div> /div>`; } } $(.sidebar-stores).html( html ); } else { $(#store-localized).attr(data-selected, false) $(#store-localized-mob).attr(data-selected, false) statusSelected() console.log(Ha ocurrido un error al intentar recuperar las tiendas) } } else { $(#store-localized).attr(data-selected, false) $(#store-localized-mob).attr(data-selected, false) statusSelected() console.log(Ha ocurrido un error al intentar recuperar las tiendas) } }, { nmsp: false, escape: true, timeout: 10000, buffer: false }); } function crossDataStore(e){ let storeCode getCodeCompany() + e.currentTarget.getAttribute(data-code) setLocStore(storeCode) if(CCRZ.pagevars.currentPageName ccrz__ProductDetails){ if(CCRZ.productDetailModel.attributes.product.prodBean.ProductType Product){ if(CCRZ.getPageConfig(invty.enable, false)){ CCRZ.inventoryView.init() } } } $(.btn-select-store).addClass(btn-primary); $(.btn-primary).removeClass(btn-select-store); $(e.currentTarget).removeClass(btn-primary); $(e.currentTarget).addClass(btn-select-store); CCRZ.pubSub.trigger(directionChange, mensaje); ifApplyExpressDelivery() closeNav() } /script>/span> style> .cc_home_slider div#breadcrumb_desktop_container{ top: 0px !important; margin-bottom: 0px !important; } .logo-mobile{ width:99px; } header .cc_menu_container{ z-index: unset!important; position: unset!important; } header .cc_header { height: unset!important; } #cc_store_logo_img { position: unset!important; min-height: 50px!important; max-height: 80px; padding: 0px!important; margin-top: 0px; width: unset; } #logoUrl{ position: unset!important; display: unset!important; padding: 0px!important; } .navbar-default{ border:1px!important; } #navbar .nav { padding-top: 0px!important; } .navbar-nav .open .rt.dropdown-menu>li>a{ white-space: unset!important; } @media only screen and (max-width: 767px){ .menu-header.navbar-collapse.cc_navbar_collapse{ margin-left: -20px!important; } .navbar-toggle { padding: 9px 8px!important; } .cintillo_color{ letter-spacing: 0px!important; } .mt-5-p{ margin-top: 5rem!important ; } #cc_store_logo_img{ height: 50px!important; } #navbar{ z-index: 20!important; position: absolute; width: 300px; } .my-dropdown-menu .list-group-item{ border: 1px solid #fff!important; } .buscador{ width: 364px; margin-left: -29px; } #cc_store_logo_img{ width: unset!important; } } .no-log .my-dropdown-menu .list-group-item{ border: 1px solid #fff!important; } @media only screen and (max-width: 600px){ .navbar-main-menu-left.navbar-toggle { margin-right: 0px !important; } } .dropdown .open span.btn2.pull-right:before { font-family: FontAwesome; content: \f078 ; } .dropdown span.btn2.pull-right:before { font-family: FontAwesome; content: \f054 ; } /* Small devices (landscape phones, 576px and up) */ @media (min-width: 576px) { .buscador{ width: 675px; } } @media (min-width: 767px) { .buscador{ width: 635px; } } .navbar-default{ height: 0px!important; } .navbar{ min-height: 50px!important; } .ancho-pg{ width: 301px; } /* iphone x */ @media only screen and (device-width : 812px) and (-webkit-device-pixel-ratio : 3) { .hidden-x-2xl{ display:none!important; } .visible-x-2xl{ display:block !important; } } @media only screen and (max-device-width: 320px) and (orientation: portrait) { .btn-style { width: 78%; } } /* esto es para iphone x pixel 2xl horizontal */ @media only screen and (max-device-width: 991px) and (orientation: landscape) { .logo-mobile { width: 118px; } } @media only screen and (max-device-height: 320px) and (max-device-width: 568px) and (orientation:landscape) { .buscador{ width: 577px; } } /* esto es para ipad */ @media only screen /* and (max-device-height: 1024px) and (max-device-width: 768px) */ and (min-device-height: 1024px) and (min-device-width: 768px) and (orientation:portrait) { .hidden-x-2xl{ display:none!important; } .visible-x-2xl{ display:block !important; } } /* esto es para pixel 2xl */ @media only screen and (min-device-width: 823px) and (min-device-height: 411px) and (orientation: landscape) { /* el important el para eliminar el menu mobile en 2xl */ .hidden-x-2xl{ display:none!important; } .visible-x-2xl{ display:block !important; } } @media (min-width: 1400px){ .cc_main_body .my-container { width: 1645px !important; margin-left: auto; margin-right: auto; } } @media only screen and (min-width: 1200px) and (max-width: 1400px){ .cc_main_body .my-container { width: 1270px !important; margin-left: auto; margin-right: auto; } } .menu-desktop .dropdown-SubMenuP>.dropdown-menu { left: 99%!important; } /style> script idB2B_CochezHeaderNewTemplate typetext/template> div classcontainer-fluid border-bottom-st> div classcontainer> div classrow> div classcol-xs-4 col-md-5> div classrow> div classcol-md-5 hidden-xs hidden-sm> a href{{#logoUrlRedirect}}{{/logoUrlRedirect}} idlogoUrl> div idcc_store_logo_img class image-responsive cc_store_logo_img center-block>/div> /a> /div> div classcol-md-7 hidden-xs hidden-sm p-0> {{#ifDisplay h.storloc}} div idstore-localized data-htmltrue> a hrefjavascript:void(0); idgeoLocStor> i classfa fa-map-marker fa-3x pull-left aria-hiddentrue>/i> p classm-0>{{pageLabelMap Header_Store_Location_Not_Selected_Title}}/p> /a> /div> div iddirectly-store classlink-pointer onclickopenNav()> p stylemargin-left:2.7rem; color:black>b>{{pageLabelMap Header_Store_Location_Choose}}/b>/p> /div> {{/ifDisplay}} /div> div classcol-xs-12 hidden-md hidden-lg> div classhidden-x-2xl hidden-md hidden-lg menu_container>/div> /div> /div> /div> div classcol-xs-4> div classml-n3 center-block logo-mobile> a href{{#logoUrlRedirect}}{{/logoUrlRedirect}} idlogoUrl> div idcc_store_logo_img classimage-responsive hidden-md hidden-lg cc_store_logo_img center-block>/div> /a> /div> div classhidden-xs hidden-sm position-search search_form cc_search_form>/div> /div> div classcol-xs-4 col-md-3> div classrow> div classcol-md-2 hidden-xs hidden-sm>/div> div classcol-xs-4 col-md-5> div classrow> span classcol-sm-8 mt-0 mt-md-3 hidden-xs hidden-sm px-3> p classtext-right text-black idextName>/p> /span> div classcol-sm-4> li classborder-0-px my_account_nav dropdown cc_dropdown cc_my_account1 styledisplay: none idmenuprofile> a href# classhover-style nav-link dropdown-toggle cc_dropdown_toggle menu_profile data-toggledropdown rolebutton aria-haspopuptrue aria-expandedfalse> i classheigth-user fa fa-user icon-size aria-hiddentrue>/i> p idextName classhidden-xs hidden-sm>/p> !--***************************************************************************************--> /a> a href# classtoggle-nav> i classfa fa-times hiddentrue>/i> /a> ul classmy-account-header my-dropdown-menu dropdown-menu cc_dropdown-menu dropdown-menu-right drmenu> li class border-0-px acctStepNav list-group-item-menu list-group-item> a classhover-style href# idgoToAccount> strong> i classfa fa-user-o peraria-hiddentrue>/i> span idlblname>/span> /strong> /a> /li> !--*************************--> li classacctStepNav list-group-item list-group-item-menu disabled> a href# > !--***********************************************************--> span idlbLoyalty>/span> /a> /li> !--*******************--> li classacctStepNav list-group-item list-group-item-menu disabled> a href# > span idcredit> !--***********************************************************--> /span> /a> /li> !--***********************************--> li classborder-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href#classhover-style gotoMA data-index0 onclickpass(1);> i classfa fa-pencil-square-o per>/i> span classd-md-down-none> {{pageLabelMap MyAccount_ContactInformation}} /span> /a> /li> !--******************************--> li classborder-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style cc_goto_section data-index1 onclickpass(2);> i classfa fa-key per aria-hiddentrue>/i> span classd-md-down-none> {{pageLabelMap MyAccount_ChangePassword}} /span> /a> /li> !--**********************************--> li classborder-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoAddressBook cc_goto_section data-index2 > i classfa fa-address-book per aria-hiddentrue>/i> span classd-md-down-none> {{pageLabelMap MyAccount_AddressBook}} /span> /a> /li> !--**********************--> li classborder-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoCarts cc_goto_section data-index3 > i classfa fa-shopping-cart per aria-hiddentrue>/i> span classd-md-down-none> {{pageLabelMap MyAccount_MyCarts}} /span> /a> /li> !--***********************--> li classborder-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoOrders cc_goto_section data-index4 > i classfa fa-list per aria-hiddentrue>/i> span classd-md-down-none> {{pageLabelMap my_account_history_orders_invoices}}/span> /a> /li> !--**************************--> li classborder-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style gotoWishlists cc_goto_section data-index5 idgotoSection> i classfa fa-list per aria-hiddentrue>/i> span classd-md-down-none> {{pageLabelMap MyAccount_MyWishlist}} /span> /a> /li> !--******************************--> !--******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> !--************************--> li classborder-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style cc_goto_section data-index7 idforgotPasswordButton onclickpass(3);> i classfa fa-credit-card per aria-hiddentrue>/i> span classd-md-down-none paymentEdit> {{pageLabelMap MyAccount_MyWallet}} /span> /a> /li> !--*************************--> li classborder-0-px acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> a href# classhover-style doLogout cc_do_logout> i classfa icon-signout per aria-hiddentrue>/i> span classd-md-down-none> {{pageLabelMap Component_SiteHeader_Logout}} /span> /a> /li> /ul> /li> !--********************--> !--****************************--> li classdropdown cc_dropdown cc_my_account1 styledisplay: none idmenuprofile1> a href# class nav-link dropdown-toggle cc_dropdown_toggle menu_profile data-toggledropdown rolebutton aria-haspopuptrue aria-expandedfalse> div> i classheigth-user fa fa-user icon-size aria-hiddentrue>/i> !--***************************************************************************************--> /div> /a> a href# classtoggle-nav>i classfa fa-times hiddentrue >/i>/a> ul classno-log my-dropdown-menu dropdown-menu cc_dropdown-menu dropdown-menu-right drmenu> li classmt-3 ml-4 mr-4 my_account_nav my-login-header acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> !--*********************--> a href# classbtn btn-default my-login-header-a goToLogin cc_goto_login> !--********************************************************************************************************************************--> i classfa fa-sign-out per aria-hiddentrue>/i> span classd-md-down-none> {{pageLabelMap Component_SiteHeader_Login}} /span> /a> /li> li classmt-2 ml-4 mr-4 mb-3 my_account_nav my-login-header acctStepNav list-group-item list-group-item-menu cc_acc_step_nav> input typebutton onclickgoToLogin() classw-100 btn btn-primary register cc_register center-block value{{pageLabelMap SiteLogin_CreateNewAccount2}}/> /li> /ul> /li> /div> /div> /div> div classcol-xs-6 col-md-5> div classrow> span classcol-sm-5 hidden-xs hidden-sm> p classtext-black>{{ pageLabelMap Component_SiteHeader_MyCart}}/p> /span> span classcol-sm-7> a href# idcartHeader classchead cartHeaderLink>/a> /span> /div> /div> /div> /div> /div> div> div classrow min-h> !--*************************************--> div classvisible-x-2xl hidden-xs hidden-sm menu_container>/div> /div> div classrow hidden-md hidden-lg stylebackground-color:white> ul idsearchd classlist-unstyled collapse> li idsearchContainer classmy-list> div classrow> div classcol-xs-9 col-sm-6> input onkeypresssea(event) typetext classsearchText2 pl-4 btn-style search_input cc_search_input placeholder{{pageLabelMap ProductSearch}} title{{pageLabelMap ProductSearch_Tooltip}} data-triggerfocus autocompleteoff> /div> div classcol-xs-2 col-sm-6 mt-3> buttom onclicksearchMobile() classmy-btn > i classfa fa-search fa-2x aria-hiddentrue>/i> /buttom> /div> /div> /li> /ul> /div> /div> {{#ifDisplay h.storloc}} div classcontainer hidden-md hidden-lg> div idstore-localized-mob data-htmltrue> a hrefjavascript:void(0); idgeoLocStorMob onclickopenNav();> p classm-0 p-2>{{pageLabelMap Header_Store_Location_Choose}}i classfa fa-angle-down pull right px-1>/i>/p> /a> /div> /div> {{/ifDisplay}} /div> /div> /script> script> jQuery(function ($) { CCRZ.views.headerNewView CCRZ.CloudCrazeView.extend({ myTemplate : CCRZ.util.template(B2B_CochezHeaderNewTemplate), data:{}, init: function (options) { this.renderDesktop(); }, renderDesktop : function(){ this.setElement($(.B2B_CochezHeaderNewTarget)); $(this.el).html(this.myTemplate(this.data)); } }); }); /script> script> function statusSelected(){ var elem $(#store-localized) if(elem.data(selected) false){ //Mostrar el SideBar elem.removeAttr(onclick,showSelectedStorePopover();) elem.attr(onclick,openNav();) } else { //Mostrar el Popover elem.removeAttr(onclick,openNav();) elem.attr(onclick,showSelectedStorePopover(); initEventBtn()) } } function initEventBtn() { $(.btnOpenNav).on(click, function (e) { openNav(); }); } function locationSelected(){ try{ let currStore JSON.parse(localStorage.getItem(locStor+getPrefixStore3())) let infoStore JSON.parse(localStorage.getItem(stores+getPrefixStore3())).find(x>(x.centrocurrStore.codigo)); let hourToday setLabelHorario(infoStore); const contentDsk `i classfa fa-map-marker fa-3x pull-left color-map-marker aria-hiddentrue>/i> p classm-0 text-fw-100>${CCRZ.pagevars.pageLabels.Header_Store_Location_Selected_Title}/p> p classm-0>strong>${currStore.tienda}/strong>/p> ${ hourToday }` $(#geoLocStor).html(contentDsk) $(#store-localized).attr(data-selected, true) const contentMbl `p classmy-0> b>${currStore.tienda}/b> i classfa fa-angle-down pull right px-2>/i> /p> ${ hourToday }` $(#geoLocStorMob).html(contentMbl) $(#store-localized-mob).attr(data-selected, true) if(CCRZ.pagevars.currentPageName ccrz__Checkout){ $(#geoLocStorMob).removeAttr(onclick,openNav();) } }catch(error){ console.log(error) } } // SUCURSAL CERCANA POPUP function showSelectedStorePopover() { try{ let currStore JSON.parse(localStorage.getItem(locStor+getPrefixStore3())) let infoStore JSON.parse(localStorage.getItem(stores+getPrefixStore3())).find(x>(x.centrocurrStore.codigo)); let elem $(#store-localized) let hourToday setLabelHorario(infoStore) let btnChooseStore if(CCRZ.pagevars.currentPageName ! ccrz__Checkout){ btnChooseStore `a classbtn btn-default btnOpenNav mb-4 w-100 text-none>${CCRZ.pagevars.pageLabels.Tooltip_Store_Location_Btn_Choose_Text}/a>` } const content `div classcol-md-12> p>b> ${ currStore.tienda } /b>/p> ${ hourToday } i classfa fa-map-marker pull-left color-map-marker m-0 aria-hiddentrue>/i>p>b>${CCRZ.pagevars.pageLabels.Tooltip_Store_Location_Address_Title}/b>/p> p>${ currStore.direccion }/p> ${btnChooseStore} /div>` elem.attr(data-toggle, popover) elem.attr(data-placement, bottom) elem.attr(data-content, content) elem.attr(data-trigger, focus) elem.popover(show) if(CCRZ.pagevars.storefrontName B2BCochez){ $(.popover).css({border-color: yellow}) } else if(CCRZ.pagevars.storefrontName B2BNovey) { $(.popover).css({border-color: blue}) } }catch(error){ console.log(error) } } function setLabelHorario(infoStore){ let hi moment(infoStore.hInicio, h:mma); let hf moment(infoStore.hFin, h:mma); let horaActualmoment(moment().format(h:mma), h:mma); let msg; let clase; let stOpenClose ; if(infoStore.hFin!0:00pm && infoStore.hFin!){ //tengo horario especaial seteado debo dibujar if(moment(horaActual).isBetween(hi, hf)){ msg CCRZ.pagevars.pageLabels.sucursalesOpen; clase color-text-open }else{ // msg CCRZ.pagevars.pageLabels.sucursalesClose; msg ; clase color-text-close } stOpenClose p classmy-0 + clase + text-fw-600>+ msg+ +infoStore.hInicio+ - + infoStore.hFin+/p>; } else if(infoStore.hFin 0:00pm && infoStore.hInicio 0:00pm){ //hoy cerrado // stOpenClosep classmy-0 color-text-close text-fw-600>+CCRZ.pagevars.pageLabels.sucursalesClose+/p> stOpenClosep classmy-0 color-text-close text-fw-600>/p> } else { let fecha new Date(); let schedule if(fecha.getDay()6){ //El horario es sabado schedule infoStore.horarioSabado; } if(fecha.getDay()0){ //el horario es domingo schedule infoStore.horarioDomingo; } if(fecha.getDay()!6 && fecha.getDay()!0 ){ //el horario es de lunes a viernes schedule infoStore.horarioLunesViernes; } if(schedule Cerrado || schedule Cerrada){ // stOpenClosep classmy-0 color-text-close text-fw-600> + CCRZ.pagevars.pageLabels.sucursalesClose +/p> stOpenClosep classmy-0 color-text-close text-fw-600>/p> } else { let rango schedule.split(-); if(moment(horaActual).isBetween(moment(rango0, h:mma), moment(rango1, h:mma) )){ msg CCRZ.pagevars.pageLabels.sucursalesOpen; clasecolor-text-open } else { // msg CCRZ.pagevars.pageLabels.sucursalesClose; msg ; clasecolor-text-close } stOpenClose p classmy-0 +clase+ text-fw-600>+ msg + + schedule +/p>; } } return stOpenClose; } //Geolocalizacion mas precisa con permisos del usuario concedido. function geoLocationByApi(){ if (navigator.geolocation){ navigator.geolocation.getCurrentPosition(function(objPosition){ var lat objPosition.coords.latitude; var lon objPosition.coords.longitude; let data { latitud: lat, longitud: lon, cia: getCodeCompany() }; $(#geolocation-user).LoadingOverlay(show); let remoteCall _.extend(CCRZ.RemoteInvocation, { className: ccCynx_headerController }); remoteCall.invokeContainerLoadingCtx($(.deskLayout), getStoresByGeolocation, JSON.stringify(data), function (res, err) { $(#geolocation-user).LoadingOverlay(hide); if (res ! null) { if(res.success){ let dataStore res.data let jsonStore JSON.stringify({ codigo: dataStore0.centro__c, tienda: dataStore0.Name, direccion: dataStore0.direccion__c, horarioLV: dataStore0.horarioLunesViernes__c, horarioS: dataStore0.horarioSabado__c, horarioD: dataStore0.horarioDomingo__c, coordenadas: dataStore0.coordenadas__c }) localStorage.setItem(apiAccept+getPrefixStore3(), JSON.stringify({accept:true, latitude: lat, longitude:lon})) localStorage.setItem(locStor+getPrefixStore3(), jsonStore) locationSelected() if(CCRZ.pagevars.currentPageName ccrz__ProductDetails){ if(CCRZ.productDetailModel.attributes.product.prodBean.ProductType Product){ if(CCRZ.getPageConfig(invty.enable, false)){ CCRZ.inventoryView.init() } } } setTimeout(() > { ifApplyExpressDelivery() }, 3000); } else { geoLocationByIp() } } else { geoLocationByIp() } },{ nmsp: false, escape: false, buffer: false, timeout: 10000 } ); }, function(objPositionError){ switch (objPositionError.code){ case objPositionError.PERMISSION_DENIED: geoLocationByIp() break; case objPositionError.POSITION_UNAVAILABLE: geoLocationByIp() break; case objPositionError.TIMEOUT: geoLocationByIp() break; default: geoLocationByIp() } }); } else { geoLocationByIp() } } //Geolocalizacion menos precisa mediante Ip function geoLocationByIp() { fetch(https://geolocation-db.com/json/).then( function(response){ if (response.status ! 200) { $(#store-localized).attr(data-selected, false); $(#store-localized-mob).attr(data-selected, false); statusSelected() console.log(Ha ocurrido un problema con el servicio externo. Estatus: + response.status); return; } response.json().then( function(data){ let info { latitud: data.latitude, longitud: data.longitude, cia: getCodeCompany() }; $(#store-localized).LoadingOverlay(show) let remoteCall _.extend(CCRZ.RemoteInvocation, { className: ccCynx_headerController }); remoteCall.invokeContainerLoadingCtx($(.deskLayout), getStoresByGeolocation, JSON.stringify(info), function (res, err) { $(#store-localized).LoadingOverlay(hide) if (res ! null) { if(res.success){ let dataStore res.data let jsonStore JSON.stringify({ codigo: dataStore0.centro__c, tienda: dataStore0.Name, direccion: dataStore0.direccion__c, horarioLV: dataStore0.horarioLunesViernes__c, horarioS: dataStore0.horarioSabado__c, horarioD: dataStore0.horarioDomingo__c, coordenadas: dataStore0.coordenadas__c }) localStorage.setItem(locStor+getPrefixStore3(), jsonStore) locationSelected() if(CCRZ.pagevars.currentPageName ccrz__ProductDetails){ if(CCRZ.productDetailModel.attributes.product.prodBean.ProductType Product){ if(CCRZ.getPageConfig(invty.enable, false)){ CCRZ.inventoryView.init() } } } } else { $(#store-localized).attr(data-selected, false) $(#store-localized-mob).attr(data-selected, false) statusSelected() console.log(Ha ocurrido un error al intentar recuperar la tienda mas cercana.) } } else { $(#store-localized).attr(data-selected, false) $(#store-localized-mob).attr(data-selected, false) statusSelected() console.log(Ha ocurrido un error al intentar recuperar la tienda mas cercana.) } },{ nmsp: false, escape: false, buffer: false, timeout: 10000 } ); setTimeout(() > { ifApplyExpressDelivery() }, 3000); } ) } ) .catch( function(err) { $(#store-localized).attr(data-selected, false) $(#store-localized-mob).attr(data-selected, false) statusSelected() console.log(Fetch store Error :-S, err) } ) } CCRZ.pubSub.on(chargeALStores,function(){ let locStoreData JSON.parse(localStorage.getItem(locStor+getPrefixStore3())) if (locStoreData undefined || locStoreData null){ geoLocationByApi() } else { setLocStore(getCodeCompany()+locStoreData.codigo) } statusSelected() }); Handlebars.registerHelper(logoUrlRedirect, function(options) { return CCRZ.pagevars.currSiteURL; }); /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id371> script> CCRZ.uiProperties.productSearchView.desktop.tmpl B2B_CochezProductSearchTmp; /script> style> .ico-style{ color:black!important; font-size: 30px; } /style> script idB2B_CochezProductSearchTmp typetext/template> !--**********************************************************--> {{#ifDisplay H.DisplSearch}} div class cc_navbar_form position-search rolesearch> div classinput-group cc_input-group> input idsearchText typetext classform-control search_input cc_search_input placeholder{{pageLabelMap ProductSearch}} title{{pageLabelMap ProductSearch_Tooltip}} data-triggerfocus autocompleteoff> span classinput-group-btn> button iddoSearch class search_button typeSubmit>i classfa fa-search aria-hiddentrue>/i>/button> /span> /div> /div> !--********************************************************************************************************************************************--> div classsearchTopBarErrorMessage searchBoxWidgetError >/div> {{/ifDisplay}} /script> script> jQuery(function ($) { // console.log($(#menuprofile)); }); function addEventClickTextSearchInput() { $(body).on(click, .ui-menu-item .ui-menu-item-wrapper, function(e){ if($(.searchText2).val()!){ $(#searchText).val($(.searchText2).val()); } $(#doSearch).trigger(click); }); } addEventClickTextSearchInput(); /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id374> script idupperMenu_desktop_Tmpl typetext/template> div classcontainer> div classrow p-3> div classcol-md-12 hidden-xs hidden-sm> ul classlist-inline pull-right> {{#each this.UpperMenuLinks}} {{#ifEquals LinkType__c Category}} li classdropdown cc_dropdown font-size-16px> a classcc_menu_type_url text-fw-600 font-size-16px href{{#hlpGetCurrSiteURL}}{{/hlpGetCurrSiteURL}}ccrz__ProductList?cartId{{#hlpGetCartId}}{{/hlpGetCartId}}&viewStateListView&store&cclcl{{#hlpGetCurrUserLocale}}{{/hlpGetCurrUserLocale}}&categoryId{{Category__c}} {{linkTarget NewWindow__c}}> i aria-hiddentrue classper text-black fa fa-{{Icon__c}}>/i> {{DisplayName__c}} /a> /li> {{/ifEquals}} {{#ifEquals LinkType__c URL}} li classdropdown cc_dropdown font-size-16px> a classcc_menu_type_url text-fw-600 font-size-16px href{{URL__c}} data-href{{URL__c}} data-menuidum-{{Id}} {{linkTarget NewWindow__c}}> i aria-hiddentrue classper text-black fa fa-{{Icon__c}}>/i> {{DisplayName__c}} /a> /li> {{/ifEquals}} {{#ifEquals LinkType__c None}} li classdropdown cc_dropdown> a href# classcc_display_name text-fw-600 font-size-16px data-menuidum-{{Id}}> i aria-hiddentrue classper text-black fa fa-{{Icon__c}}>/i> {{DisplayName__c}} /a> /li> {{/ifEquals}} {{/each}} /ul> /div> /div> /div> /script> script idupperMenu_Phone_Tmpl typetext/template> ul classnav navbar-nav hidden-md hidden-lg w-100 mt-3> li>div classmenudivider>/div>/li> {{#getHtmlByPageConfig upmenu.show-cmf-link true false}} li classdropdown cc_dropdown font-size-16px> a classcc_menu_type_url text-fw-600 font-size-16px href{{#getPageConfig upmenu.cmf-url}}{{/getPageConfig}}> Tarjeta Digital img src{{#getPageConfig upmenu.img-url}}{{/getPageConfig}} styleheight:15px; margin-top:-4px> /a> /li> {{else}} {{/getHtmlByPageConfig}} {{#each this.UpperMenuLinks}} {{#ifEquals LinkType__c Category}} li classdropdown cc_dropdown font-size-16px> a class font-size-16px href{{#hlpGetCurrSiteURL}}{{/hlpGetCurrSiteURL}}ccrz__ProductList?cartId{{#hlpGetCartId}}{{/hlpGetCartId}}&viewStateListView&store&cclcl{{#hlpGetCurrUserLocale}}{{/hlpGetCurrUserLocale}}&categoryId{{Category__c}} {{linkTarget NewWindow__c}}> i aria-hiddentrue classper text-black fa fa-{{Icon__c}}>/i> {{DisplayName__c}} /a> /li> {{/ifEquals}} {{#ifEquals LinkType__c URL}} li classdropdown cc_dropdown font-size-16px> a class font-size-16px href{{URL__c}} data-href{{URL__c}} data-menuidum-{{Id}} {{linkTarget NewWindow__c}}> i aria-hiddentrue classper text-black fa fa-{{Icon__c}}>/i> {{DisplayName__c}} /a> /li> {{/ifEquals}} {{#ifEquals LinkType__c None}} li classdropdown cc_dropdown> a href# classfont-size-16px data-menuidum-{{Id}}> i aria-hiddentrue classper text-black fa fa-{{Icon__c}}>/i> {{DisplayName__c}} /a> /li> {{/ifEquals}} {{/each}} /ul> /script> script> jQuery(function($) { CCRZ.models.UpperMenuModel CCRZ.CloudCrazeModel.extend({ className: cc_Cynx_UpperMenuController, fetch: function(callback) { var model this; this.invokeCtx(getUpperMenuLinks, CCRZ.pagevars.storefrontName, function(response, error){ if(response && response.data) { model.set(UpperMenuLinks, response.data); }else{ console.log(getFooterLinks error, error); model.set(UpperMenuLinks, ); } callback(); },{ nmsp: false, escape: false, buffer: false, timeout: 10000 } ); } }); // UPPER MENU DESKTOP VIEW CCRZ.views.upperMenuDesktopView CCRZ.CloudCrazeView.extend({ templateDesktop : CCRZ.util.template(upperMenu_desktop_Tmpl), viewname : upperMenuDesktopView, init: function (options) { var v this; v.model new CCRZ.models.UpperMenuModel(); v.selector .upperMenuTarget; v.model.fetch(function () { v.render(); }) }, renderDesktop : function(){ let v this; v.setElement($(v.selector)); v.$el.html(v.templateDesktop(v.model.toJSON())); CCRZ.upperMenuPhoneView new CCRZ.views.upperMenuPhoneView(); }, postRender: function () { $(.cc_menu_container).remove(); } }); // UPPER MENU MOBILE VIEW CCRZ.views.upperMenuPhoneView CCRZ.CloudCrazeView.extend({ templateDesktop : CCRZ.util.template(upperMenu_Phone_Tmpl), viewname : upperMenuPhoneView, init: function (options) { var v this; v.model CCRZ.upperMenuDesktopView.model; v.selector .upperMenuPhoneTarget; v.render(); }, renderDesktop : function(){ let v this; v.setElement($(v.selector)); v.$el.html(v.templateDesktop(v.model.toJSON())); }, postRender: function () { $(.cc_menu_container).remove(); } }); CCRZ.pubSub.on(view:Menu:init, function() { CCRZ.upperMenuDesktopView new CCRZ.views.upperMenuDesktopView(); }) }) /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id377> script> jQuery(function($){ CCRZ.models.MenuPromotionsModel CCRZ.CloudCrazeModel.extend({}); CCRZ.views.MenuPromotionsView CCRZ.CloudCrazeView.extend({ viewName : MenuPromotionsView, init : function(options){ this.data{ promotionMenuImages: }; this.getImages() }, getImages: function() { let self this, enlaces , pageLocation JSON.stringify({location: All Pages, type: Menu}) var remoteCall _.extend(CCRZ.RemoteInvocation, { className: ccCynx_PromotionsController }); remoteCall.invokeContainerLoadingCtx($(.deskLayout), getPromotions, pageLocation, function (res, err) { if(res){ if(res.success ! undefined){ if (res.success) { self.formatImageData(res.data) }else{ console.log(Error loading promotions data) } }else{ console.log(Error loading promotions data,err) } } }, { nmsp: false, escape: false, timeout: 3000, buffer: false }); }, formatImageData: function(menuImages) { for (const image of menuImages) { // FLAGS & URL image.isProductRelated false image.isNewWindow false image.isDownload false image.noLink true image.fullImageURL image.imageURI image.name image.sfdcName // VALIDATIONS if(image.category ! undefined){ image.categoryId image.category } if(image.newWindow true){ image.isNewWindow true } } this.data.promotionMenuImages menuImages CCRZ.menuView.render() } }) CCRZ.MenuPromotionsView CCRZ.MenuPromotionsView||{views:{}} CCRZ.MenuPromotionsModel new CCRZ.models.MenuPromotionsModel() CCRZ.MenuPromotionsView new CCRZ.views.MenuPromotionsView({ model : CCRZ.MenuPromotionsModel }); }) /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id380> script> CCRZ.uiProperties.Menu.desktop.tmpl B2B_CochezMainMenuTmp; /script> script idB2B_CochezMainMenuTmp typetext/template> style> li .dropdown-SubMenuP .dropdown-toggle .btn2:before{ font-family: FontAwesome; content: \f078 ; } li .dropdown-SubMenuP:not(.open) .dropdown-toggle .btn2:before{ font-family: FontAwesome; content: \f054 ; } .my-shadow{ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; } .border-bottom-st{ border-bottom: 1px solid var(--brand-color); } .mt-s6rem{ margin-top:0.6rem !important; } /style> div idsecnav cc_secnav B2C_CochezMainMenu> nav> !--**************************************--> div classmy-container> div classnavbar-header cc_navbar_header> div classnavbar my-navbar navbar-default main-menu rolenavigation> div classcontainer-remove mt-sm-n4 mt-md-0 > div classnavbar-header cc_navbar_header> button typebutton classnavbar-toggle navbar-main-menu-left data-togglecollapse data-target.navbar-collapse> span classsr-only>Toggle navigation/span> span classicon-bar>/span> span classicon-bar>/span> span classicon-bar>/span> /button> button typebutton aria-expandedfalse classmy-style-nav collapsed btn1 navbar-toggle navbar-search-menu-right m-0 data-togglecollapse data-target#searchd>/button> /div> div idnavbar classmt-5-p menu-header navbar-collapse collapse cc_navbar_collapse> !--*******--> ul classnav w-100 navbar-nav text-black> {{log MENU > this}} !--******************************************************************************************************************--> !--**********************************--> {{#each .}} !--******************************--> {{#if children}} !--********--> !--******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> li classhidden-x-2xl brand-border-cochez dropdown hidden-md hidden-lg > !--********************************************--> a classdropdown-toggle font-size-16px data-toggledropdown href#> {{displayName}} !--*********************************--> ul classdropdown-menu> {{#each children}} li classdropdown> a href# classdropdown-toggle text-fw-500 data-toggledropdown>{{displayName}} span classbtn2 pull-right >/span>/a> ul classrt dropdown-menu pl-4> {{#each children}} li> a classdropdown-toggle text-fw-500 data-toggledropdown onclickgoToUrlGenerated(this); hrefjavascript:void(0) data-href{{#hlpGetCurrSiteURL}}{{/hlpGetCurrSiteURL}}ccrz__ProductList?cartId&viewStateListView&store&cclcl{{#hlpGetCurrUserLocale}}{{/hlpGetCurrUserLocale}}&categoryId{{linkURL}}> {{displayName}} /a> /li> {{/each}} /ul> /li> {{/each}} /ul> /li> !--*********--> li classmenu-desktop hidden-xs> {{log * * * MENU DESKTOP * * * > this}} a href# classdropdown-toggle text-black font-size-16px data-toggledropdown onclickheight()> !--**********************************--> {{displayName}} /a> ul classdropdown-menu multi-level Desktop my-shadow mt-s6rem> !--*******************************************************--> {{#ifHasAttribute menu.showpromos displayName }} !--******************************************************--> {{#each children}} li classdropdown-SubMenuP depmenu> a onclickgoToUrlGenerated(this); hrefjavascript:void(0) data-href{{#hlpGetCurrSiteURL}}{{/hlpGetCurrSiteURL}}ccrz__ProductList?cartId{{#hlpGetCartId}}{{/hlpGetCartId}}&viewStateListView&store&cclcl{{#hlpGetCurrUserLocale}}{{/hlpGetCurrUserLocale}}&categoryId{{linkURL}} classfont-weight-bold text-color-black dropdown-toggle text-fw-500> {{displayName}} /a> {{#if children}} ul classdropdown-menu dropdown-menu-lg dep bg-white shadow-sm {{#ifEquals @index 0}} styledisplay: block; height: -webkit-fill-available; {{/ifEquals}}> div classrow bg-white h-100> div classcol-md-6 cat> !--*********************--> {{#each children}} div classmenuGrid SubMenuP cat menu-grid-link> a styledisplay: block; classpl-3 ml-n2 pr-3 mr-n2 pt-2 mt-n2 mb-n2 pb-2 font-weight-bold onclickgoToUrlGenerated(this); hrefjavascript:void(0) data-href{{#hlpGetCurrSiteURL}}{{/hlpGetCurrSiteURL}}ccrz__ProductList?cartId&viewStateListView&store&cclcl{{#hlpGetCurrUserLocale}}{{/hlpGetCurrUserLocale}}&categoryId{{linkURL}}> {{displayName}} /a> /div> {{/each}} /div> {{#PromoMenu sequence}} !--******************************--> {{#if sku}} !--*****************************************--> {{productLink this promo_desk promo_sku cc_promo_link image(displayImage this promo_desk promo_sku img-responsive cc_promo_img img-promo-menu altthis.altMsg)}} {{else}} {{#if categoryId}} !--*********************************************--> {{CategoryLinkCustom this promo_desk promo_category cc_promo_link image(displayImage this promo_desk promo_category img-responsive cc_promo_img img-promo-menu altthis.altMsg)}} {{else}} {{#if externalLink}} !--*****************************************--> a href{{decodeHTML externalLink}} {{#if isNewWindow}}target_blank{{/if}} classpromoLink promo_desk promo_ext {{#if isNewWindow}}promo_newwindow{{/if}} cc_promo_link> img stylepadding-left: 10px; max-width: 310px; data-promo{{@index}} src{{fullImageURL}} alt{{altMsg}} classpromo-click promoLink promo_desk promo_ext {{#if isNewWindow}}promo_newwindow{{/if}} img-responsive cc_promo_img img-promo-menu /> /a> {{else}} {{#if isDownload }} !--**********************************************--> a href{{downloadUri}} target_blank classpromoLink promo_desk promo_dwnld cc_promo_link> img stylepadding-left: 10px; max-width: 310px; data-promo{{@index}} src{{fullImageURL}} alt{{altMsg}} classpromo-click promoLink promo_desk promo_dwnld img-responsive cc_promo_img img-promo-menu/> /a> {{else}} {{#if noLink }} !--********************************************--> img stylepadding-left: 10px; max-width: 310px; data-promo{{@index}} src{{fullImageURL}} alt{{altMsg}} classpromo-click promo_desk promo_nolink img-responsive cc_promo_img img-promo-menu/> {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/PromoMenu}} /div> /ul> {{/if}} /li> {{/each}} {{else}} {{#each children}} li classdropdown-SubMenuP depmenu> a onclickgoToUrlGenerated(this); hrefjavascript:void(0) data-href{{#hlpGetCurrSiteURL}}{{/hlpGetCurrSiteURL}}ccrz__ProductList?cartId{{#hlpGetCartId}}{{/hlpGetCartId}}&viewStateListView&store&cclcl{{#hlpGetCurrUserLocale}}{{/hlpGetCurrUserLocale}}&categoryId{{linkURL}} classfont-weight-bold text-color-black dropdown-toggle text-fw-500> {{displayName}} /a> {{#if children}} ul classdropdown-menu dep bg-white shadow-sm {{#ifEquals @index 0}} styledisplay: block; height: -webkit-fill-available; {{/ifEquals}}> div classrow bg-white h-100> div classcol-md-6 cat> !--*********************--> {{#each children}} div classmenuGrid SubMenuP cat menu-grid-link> a styledisplay: block; classpl-3 ml-n2 pr-3 mr-n2 pt-2 mt-n2 mb-n2 pb-2 font-weight-bold onclickgoToUrlGenerated(this); hrefjavascript:void(0) data-href{{#hlpGetCurrSiteURL}}{{/hlpGetCurrSiteURL}}ccrz__ProductList?cartId&viewStateListView&store&cclcl{{#hlpGetCurrUserLocale}}{{/hlpGetCurrUserLocale}}&categoryId{{linkURL}}> {{displayName}} /a> /div> {{/each}} /div> /div> /ul> {{/if}} /li> {{/each}} {{/ifHasAttribute}} /ul> /li> !--*******************************************--> {{#ifHasAttribute menu.is_dropdown displayName }} {{else}} li classmainmenu mobile> a href# classdropdown-toggle data-toggledropdown>{{displayName}}b classcaret>/b>/a> ul classdropdown-menu multi-level mobile> !--******************--> {{#each children}} li classdropdown-SubMenuP> a href# classdropdown-toggle data-toggledropdown>{{displayName}}/a> ul classdropdown-menu> {{#each children}} li> a href#>{{displayName}}/a> /li> {{/each}} /ul> /li> {{/each}} /ul> /li> !--***************--> {{/ifHasAttribute}} {{else}} !--*************************************--> {{#ifEquals mType Category}} li classdropdown cc_dropdown>{{categoryLink this cc_category font-size-16px textdisplayName}}/li> {{/ifEquals}} {{#ifEquals mType Product}} li classdropdown cc_dropdown>{{productLink this cc_product font-size-16px textdisplayName}}/li> {{/ifEquals}} {{#ifEquals mType URL}} li classdropdown cc_dropdown font-size-16px> a classmenuTypeURL cc_menu_type_url font-size-16px href{{linkURL}} data-href{{linkURL}} data-menuid{{menuId}} {{linkTarget openInNewWindow}}> !--*************************************************************************************--> {{displayName}} /a> /li> {{/ifEquals}} {{#ifEquals mType None}} li classdropdown cc_dropdown> a hrefjavascript:void(0); classcc_display_name font-size-16px data-menuid{{menuId}}> {{#ifEquals displayName Ayuda}} span classfa fa-life-ring>/span> {{/ifEquals}} {{displayName}} /a> /li> {{/ifEquals}} {{/if}} {{/each}} /ul> !--********--> !--*************************--> div classupperMenuPhoneTarget >/div> !--*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> /div> /div> /div> !--*******************--> !--***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> /div> /div> /nav> /div> !--****************--> !--***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> {{#hlpAccion}}{{/hlpAccion}} {{#hlpAutoconplete}}{{/hlpAutoconplete}} /script> script> Handlebars.registerHelper(hlpAutoconplete, function(param1,options) { setTimeout(() > { $(.searchText2).autocomplete({ position: { my: left top,at: left bottom, of :#searchContainer }, /*Antes estaba habilitado el autofocus, descativado para arreglar el search desde el mobile*/ //autoFocus: true, // classes: { // ui-autocomplete: claseP // }, source: function( request, response ) { Visualforce.remoting.Manager.invokeAction( ccrz.cc_ctrl_AutoComplete.searchAutoComplete, CCRZ.pagevars.remoteContext, request.term, 10, PRODUCT_SEARCH, function(resp){ if(resp && resp.data){ response(resp.data); } }, {buffer:false,escape:false} ); }, open: function(){ setTimeout(function () { // $(.ui-menu).removeAttr(style); // $(.ui-autocomplete).css({width: 100%,z-index:99999999999999,top:160px,left:0px}); $(.ui-menu .ui-menu-item).css({width: 100%,z-index:99999999999999, overflow:hidden,white-space:nowrap,text-overflow:ellipsis}); // $(.ui-autocomplete).css(z-index, 99999999999999); }, 0); }, minLength: 3, delay: 300 }); }, 900); }); Handlebars.registerHelper(hlpAccion, function(param1,options) { setTimeout(() > { $(#searchd).on(show.bs.collapse, function () { if( $(#navbar).attr(aria-expanded)true){ $(.navbar-main-menu-left).trigger(click) } }); $(#navbar).on(show.bs.collapse, function () { if( $(#searchd).attr(aria-expanded)true){ $(.navbar-search-menu-right).trigger(click) } }); }, 1000); }); function sea(e){ if(e.charCode13){ searchMobile(); } } function searchMobile(){ $(#searchText).val($(.searchText2).val()); $(#doSearch).trigger(click); } function goToUrlGenerated(elem) { window.location.href $(elem).data(href).replace(cartId&, (cartId + CCRZ.pagevars.currentCartID + &)); } //Hereda el height del menu padre hacia el height del submenu hijo en Desktop function height() { //$(.col-md-6.cat).css(background,lightgray); $(.col-md-6.cat).height($(.dropdown-menu.multi-level.Desktop).height()); } jQuery(function($) { // TODO: Redesign how to best link to other pages within CloudCraze CCRZ.pages { homePage: /ccrz__HomePage, products: CCRZ.pageUrls.productList, productDetails: /ccrz__ProductDetails, cart: /ccrz__Cart }; CCRZ.views.Menu CCRZ.CloudCrazeView.extend({ templateDesktop: CCRZ.util.template(CCRZ.uiProperties.Menu.desktop.tmpl), //templateMobile: CCRZ.util.template(CCRZ.uiProperties.Menu.phone.tmpl), className : cc_ctrl_MenuBar, viewName : Menu, events: { click #phoneLogo : goHome, click .category : gotoCategory, click .product : gotoProduct, //click a.menuTypeURL : gotoURL, click .promo-click:MenuPromotionClick }, init: function() { Handlebars.registerPartial(subMenuItem, $(#submenu-desktop-template).html()); var view this; this.invokeCtx(getMenuJson, function(response) { if(response) { CCRZ.data.menus response.data; view.render(); if(CCRZ.pagevars.currentPageName ccrz__HomePage){ if(CCRZ.MenuPromotionsView.data.promotionMenuImages ! undefined){ CCRZ.pubSub.trigger(promoPrint, CCRZ.MenuPromotionsView.data.promotionMenuImages) } } }else{ console.log(Error loading menu promotions data) } }, {escape : false} ); }, renderDesktop : function(){ this.$el.html(); this.setElement($(CCRZ.uiProperties.Menu.desktop.selector)); this.$el.html(this.templateDesktop(CCRZ.data.menus)); CCRZ.pubSub.trigger(view:+this.viewName+:init, this); }, /*renderPhone : function(){ this.$el.html(); this.setElement($(CCRZ.uiProperties.Menu.phone.selector)); this.$el.html(this.templateMobile(CCRZ.data.menus)); },*/ MenuPromotionClick : function (event) { var dpIndex event.currentTarget.getAttribute(data-promo) if(CCRZ.MenuPromotionsView.data.promotionMenuImages ! undefined){ CCRZ.pubSub.trigger(promoClick, CCRZ.MenuPromotionsView.data.promotionMenuImagesdpIndex) } }, goHome : function(event){ CCRZ.headerView.goHome(event); }, gotoProduct : function(event){ if(event.preventDefault) event.preventDefault(); var link $(event.currentTarget); var sku $(event.currentTarget).data(id); var href CCRZ.pages.productDetails + ?viewStateDetailView&sku + sku; this.navigateTo(link, href); }, gotoCategory: function(event) { if(event.preventDefault) event.preventDefault(); var link $(event.currentTarget); var catId $(event.currentTarget).data(id); var href CCRZ.pages.products + ?categoryId + catId; this.navigateTo(link, href); }, gotoURL: function(event) { if(event.preventDefault) event.preventDefault(); var link $(event.currentTarget); var linkHref link.attr(data-href); this.navigateTo(link, linkHref); }, navigateTo: function(linkObj, linkHref) { if (linkHref) { if (linkHref.indexOf(?) -1) { linkHref + ?mnutrue; } linkHref + getCSRQueryString(); if(CCRZ.pagevars.currentCartID) { linkHref + (linkHref.indexOf(?) -1) ? ? : &; linkHref + cartID + CCRZ.pagevars.currentCartID; } //remove a slash if the menu item was defined with a leading slash if(linkHref.startsWith(/)){ linkHref linkHref.slice(1,linkHref.length); } //case where the site name is in the url note this also happens when creating cat or prod link if(linkHref.startsWith(CCRZ.pagevars.sitePrefix.slice(1, CCRZ.pagevars.sitePrefix.length))){ //note this is +1 to also get the next slash on the storefront linkHref linkHref.slice(CCRZ.pagevars.sitePrefix.length, linkHref.length); } //Special case where sf is at root with NO end slash ex: store.com/DefaultStore //note that currSiteURL adds the slash back in...previous removal prevents double slash //added another check here to ensure that external links to not add back in the site //note we already do NOT render external links without http or https in them if(!window.location.href.startsWith(https://www.novey.com.pa) || !linkHref.startsWith(http)){ linkHref CCRZ.pagevars.currSiteURL + linkHref; } var target linkObj.attr(target); if(target _blank) { //Open in new window cases window.open(linkHref); } else { //redirect in existing window window.location linkHref; } } } }); CCRZ.menuView new CCRZ.views.Menu; }); /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id383> script> CCRZ.uiProperties.wishlistPickerModal.desktop.tmpl Cynx_AddtoWishlist_Desktop /script> style> /*.position-novey{ left: -209px !important; } .items-content .position-novey { left: 0px !important; } @media (max-width: 1199px){ .wishButtons{ text-align: center; } } .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { border-radius: 0 !important; } .btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; } .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }*/ /style> script idCynx_AddtoWishlist_Desktop typetext/template> !--*****************************--> div classbtn-group dropdown form-group> !--*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> !--********************************************************************************************************************************************************************************************************--> button typebutton id{{sfid}} classadd{{sfid}} dropdown-toggle mt-n2 data-toggledropdown aria-haspopuptrue aria-expandedfalse styleborder:none !important> {{#displayIconBySize heart text-color-brand ml-n2}}{{/displayIconBySize}} /button> ul classdropdown-menu aria-labelledbydropWish> {{#each this}} li>a hrefjavascript:void(0); classpickWish data-id{{sfid}}>{{{name}}}/a>/li> {{/each}} li roleseparator classdivider>/li> li> div classrow center-block> div classcol-xs-12> label fornewWishList classsr-only>{{pageLabelMap Wishlist_EnterName}}/label> input idnewWishList typetext classnewListName form-control placeholder{{pageLabelMap MyAccount_Name}}/> /div> /div> /li> li>a hrefjavascript:void(0); classpickWish data-id-1>{{pageLabelMap Action_CreateWishlist}}/a>/li> /ul> /div> !--********--> !--*******************************************--> !--***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> !--***************************************************************************************************************************************************************************--> !--*****************************--> !--*************************************************************************--> !--********************************************************************--> !--*********--> !--*********************************************************************--> !--**************--> !--*****************************************************************************************--> !--******************************************************************************************************************************--> !--*********--> !--******************************************--> !--****--> !--******************************--> !--***********************--> !--**************************************************************************************--> !--**********************************************************************************************************************--> !--******--> !--******--> !--*****--> !--******************************************************************************************************************--> !--******************************************************************************************************************************************************--> !--*****--> !--******--> !--*****************--> /script> script> // function processAddItem(event) { // var obj $(event.target); // var val obj.data(id); // var parentObj obj.closest(.wishFinder); // var sku parentObj.data(sku); // var createName obj.closest(CCRZ.uiProperties.wishlistPickerModal.nameSelector).find(.newListName).val(); // let remoteCall _.extend(CCRZ.RemoteInvocation, { className: cc_ctrl_WishlistPicker }); // remoteCall.invokeContainerLoadingCtx($(.deskLayout), handleAddtoWishlist, sku, val, createName, // function(response) { // CCRZ.pubSub.trigger(refreshWishlists, val); // if (val -1) { // showMessageTypePopover2($(*data-sku+sku+ .fa-heart-o), CCRZ.pagevars.pageLabels.myAddToWishList, , 4000); // } else { // showMessageTypePopover2($(*data-sku+sku+ .fa-heart-o), CCRZ.pagevars.pageLabels.myAddToWishList, , 4000); // } // } // ); // } // function showMessageTypePopover2(elem, title, content, timeClose) { // elem.attr(title, title); // elem.attr(data-content, content); // elem.attr(data-trigger, focus); // elem.attr(data-toggle, popover); // elem.attr(data-container, body); // elem.attr(data-placement, top); // elem.popover(show); // setTimeout(() > { // elem.popover(hide); // elem.popover(destroy); // if(CCRZ.prodDetailView){ // CCRZ.prodDetailView.pickerView.refresh(); // } // if(CCRZ.productListPageView){ // CCRZ.productListPageView.productItemsView.pickerView.refresh(); // } // if(CCRZ.cartDetailView){ // CCRZ.cartDetailView.pickerView.refresh(); // } // if(CCRZ.myaccountView){ // CCRZ.myaccountView.subView.detailsView.pickerView.refresh(); // } // }, timeClose); // } /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id386> script> CCRZ.uiProperties.cartHeaderView.desktop.tmpl B2B_CochezCartHeaderBrowserTmp; /script> script idB2B_CochezCartHeaderBrowserTmp typetext/template> span> i classfa fa-shopping-cart icon-size aria-hiddentrue>/i> span classposition-abs badge {{#isStoreFront B2BCochez}}bg-brand-color text-black border-solid-transparent {{/isStoreFront}}> {{this.cartCount}}/span> /span> {{EffAcctSel-Head-View-Desktop}} /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id340:j_id341:j_id389> script srchttps://service.force.com/embeddedservice/5.0/esw.min.js typetext/javascript>/script> script typetext/javascript> if(CCRZ.getPageConfig(custom_chat.enable,false)){ // console.log(* * * CHAT * * *) //*********************************************************************************************************************** //***************************************** SETTINGS BY STOREFRONT ************************************************ //*********************************************************************************************************************** var tok , currSiteURL CCRZ.pagevars.currSiteURL.replace(https://, ), //(Sets the domain for your deployment so that visitors can navigate subdomains during a chat session) language CCRZ.pagevars.userLocale, //For example, enter en or en-US loadingText CCRZ.pagevars.userLocale es? Cargando : Loading, defaultMinimizedText CCRZ.pagevars.userLocale es? Chatea con un experto : Chat with an Expert, disabledMinimizedText CCRZ.pagevars.userLocale es? Agentes no disponibles : Agent Offline, deployment_Id , button_Id , esw_LiveAgentDevName , brand switch (CCRZ.pagevars.storefrontName) { case B2CCochez: tok 00D1U000000ovY0 url currSiteURL.slice(0, currSiteURL.lastIndexOf(/)) deployment_Id 5721U000000IeLj button_Id 5731U000000IfLP esw_LiveAgentDevName EmbeddedServiceLiveAgent_Parent04I1U0000008WXBUA2_16b0a3422d1 channel Agentes_de_Chat liveAgentAvatar https://cochezycia.secure.force.com/LiveAgentSetup/resource/1570550389000/AvatarChatCochez baseLiveAgentContent_URL https://c.la1-c1-ia4.salesforceliveagent.com/content baseLiveAgent_URL https://d.la1-c1-ia4.salesforceliveagent.com/chat isOfflineSupport_Enabled false break; case B2CNovey: tok 00D1U000000ovY0 url currSiteURL.slice(0, currSiteURL.lastIndexOf(/)) deployment_Id 5721U000000IeLj button_Id 5731U000000IfLQ esw_LiveAgentDevName EmbeddedServiceLiveAgent_Parent04I1U0000008WX6UAM_16b09ec1a84 channel Novey liveAgentAvatar https://cochezycia.secure.force.com/LiveAgentSetup/resource/1570550389000/AvatarUserSofia baseLiveAgentContent_URL https://c.la1-c1-ia4.salesforceliveagent.com/content baseLiveAgent_URL https://d.la1-c1-ia4.salesforceliveagent.com/chat isOfflineSupport_Enabled false break; case B2BCochez: tok 00D1U000000ovY0 url currSiteURL.slice(0, currSiteURL.lastIndexOf(/)) deployment_Id 5721U000000IeLj button_Id 5734Q000000blMD esw_LiveAgentDevName channel B2B_Atencion_Cochez liveAgentAvatar https://cochezycia.secure.force.com/LiveAgentSetup/resource/1570550389000/AvatarUserSofia baseLiveAgentContent_URL https://c.la1-c1-ia4.salesforceliveagent.com/content baseLiveAgent_URL https://d.la1-c1-ia4.salesforceliveagent.com/chat isOfflineSupport_Enabled true break; case B2BNovey: tok url currSiteURL.slice(0, currSiteURL.lastIndexOf(/)) button_Id esw_LiveAgentDevName channel liveAgentAvatar baseLiveAgentContent_URL baseLiveAgent_URL isOfflineSupport_Enabled false break; } //*********************************************************************************************************************** //*************************************************** CHAT CODES *************************************************** //*********************************************************************************************************************** var initESW function(gslbBaseURL) { embedded_svc.settings.displayHelpButton true; //Or false embedded_svc.settings.language language; //For example, enter en or en-US //--------- embedded_svc.settings.defaultMinimizedText defaultMinimizedText; //(Defaults to Chat with an Expert) embedded_svc.settings.disabledMinimizedText disabledMinimizedText; //(Defaults to Agent Offline) //--------- embedded_svc.settings.chatbotAvatarImgURL liveAgentAvatar //https://cochezycia.secure.force.com/LiveAgentSetup/resource/1570550389000/AvatarUserSofia //--------- embedded_svc.settings.loadingText loadingText; //(Defaults to Loading) embedded_svc.settings.storageDomain url //(Sets the domain for your deployment so that visitors can navigate subdomains during a chat session) // Settings for Live Agent //embedded_svc.settings.directToButtonRouting function(prechatFormData) { // Dynamically changes the button ID based on what the visitor enters in the pre-chat form. // Returns a valid button ID. //}; //embedded_svc.settings.prepopulatedPrechatFields {}; //Sets the auto-population of pre-chat form fields //embedded_svc.settings.fallbackRouting ; //An array of button IDs, user IDs, or userId_buttonId embedded_svc.settings.offlineSupportMinimizedText Chatea con un experto; //(Defaults to Contact Us) // *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* // *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* SET CHAT CONFIGURATION *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* // *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* embedded_svc.settings.enabledFeatures LiveAgent; embedded_svc.settings.entryFeature LiveAgent; embedded_svc.init( https://cochez.my.salesforce.com, https://cochezycia.secure.force.com/LiveAgentSetup, gslbBaseURL, tok, channel, { baseLiveAgentContentURL: baseLiveAgentContent_URL, deploymentId: deployment_Id, buttonId: button_Id, baseLiveAgentURL: baseLiveAgent_URL, eswLiveAgentDevName: esw_LiveAgentDevName, isOfflineSupportEnabled: isOfflineSupport_Enabled } ); }; if (!window.embedded_svc) { var s document.createElement(script); s.setAttribute(src, https://cochez.my.salesforce.com/embeddedservice/5.0/esw.min.js); s.onload function() { initESW(null); }; document.body.appendChild(s); } else { initESW(https://service.force.com); } } /script>/span>/span> div idlogin_main_content>/div>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id334:j_id335:j_id394>/span> /div> /div> div classcontainer-fluid navbar-inverse cc_navbar-inverse> footer classfooter cc_footer> div classfooterBrowser cc_footer_browser>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id397> div classCC_SiteFooter>/div> script idccCynx_FooterMenu_Tmpl typetext/template> !--************************************************************************************************************************************--> !--************************************************************************************************************************************--> !--************************************************************************************************************************************--> {{#ifDisplay f.subs_bar}} div classrow> div classcol-xs-12> section classbrand-subscribe> div classcontainer> div classcol-xs-12 col-md-6> div classtext-black font-size-18px my-2>{{pageLabelMap FooterSubscribeText}}/div> /div> div classcol-xs-12 col-md-6> form> input typeemail required classinput-subscribe bg-brand-color my-3 placeholder{{pageLabelMap Footer_Email_Placeholder}} autocompleteoff> input typesubmit classbtn-subscribe my-3 value{{pageLabelMap Footer_Subscribe_Btn}}> /form> /div> /div> /section> /div> /div> {{/ifDisplay}} !--************************************************************************************************************************************--> !--************************************************************************************************************************************--> !--************************************************************************************************************************************--> !--************************************************************************************************************************************--> div classcontainer hidden-xs hidden-sm> div classrow mt-3> div classcol-md-12> ul classnav pull-right> li> a href# classfooter titleScroll to top> div idScrollToTop-Desktop classScrollToTop>/div> span classsr-only>Scroll to top/span> /a> /li> /ul> div classlogo-footer>/div> /div> /div> div classrow rowfooter mt-5> div classcol-md-3 footer-link--section> {{#each this.footerLinks}} {{#ifEquals this.Location__c Title}} {{#ifEquals this.Sequence__c 1}} h5> span classtext-white underline-brand>{{this.DisplayName__c}}/span> /h5> {{/ifEquals}} {{/ifEquals}} {{/each}} ul class styleflex-direction: column;> {{#each this.footerLinks}} {{#ifEquals this.Location__c Column 1}} li classnav-link a nav-item> a classnav-link py-2 py-sm-0 menuOption data-name{{DisplayName__c}} href{{this.URL__c}} target_blank>{{DisplayName__c}}/a> /li> {{/ifEquals}} {{/each}} /ul> /div> div classcol-md-3 footer-link--section> {{#each this.footerLinks}} {{#ifEquals this.Location__c Title}} {{#ifEquals this.Sequence__c 2}} h5> span classtext-white underline-brand>{{this.DisplayName__c}}/span> /h5> {{/ifEquals}} {{/ifEquals}} {{/each}} ul class styleflex-direction: column;> {{#each this.footerLinks}} {{#ifEquals this.Location__c Column 2}} li classnav-link a nav-item> a classnav-link py-2 py-sm-0 menuOption data-name{{DisplayName__c}} href{{this.URL__c}} target_blank>{{DisplayName__c}}/a> /li> {{/ifEquals}} {{/each}} /ul> /div> div classcol-md-3 footer-link--section> {{#each this.footerLinks}} {{#ifEquals this.Location__c Title}} {{#ifEquals this.Sequence__c 3}} h5> span classtext-white underline-brand>{{this.DisplayName__c}}/span> /h5> {{/ifEquals}} {{/ifEquals}} {{/each}} ul class styleflex-direction: column;> {{#each this.footerLinks}} {{#ifEquals this.Location__c Column 3}} li classnav-link a nav-item> a classnav-link py-2 py-sm-0 menuOption data-name{{DisplayName__c}} href{{this.URL__c}} target_blank>{{DisplayName__c}}/a> /li> {{/ifEquals}} {{/each}} /ul> /div> div classcol-md-3 footer-link--section styledisplay:flex; flex-direction:column;> div classrow> ul classnav d-flex styledisplay:flex; flex-direction:row; justify-content:space-between> li classnav-item> a classaction-focus estilo nav-link hrefhttps://www.facebook.com/Cochezpanama target_blank> i aria-hiddentrue classper text-black fa fa-facebook socialOption data-nameFacebook>/i> /a> /li> li classnav-item> a classaction-focus mar estilo nav-link hrefhttps://twitter.com/cochezpanama target_blank> i aria-hiddentrue classper text-black fa fa-twitter socialOption data-nameTwitter>/i> /a> /li> li classnav-item> a classaction-focus mar estilo nav-link hrefhttps://www.instagram.com/cochezpanama target_blank> i aria-hiddentrue classper text-black fa fa-instagram socialOption data-nameInstagram>/i> /a> /li> li classnav-item> a classaction-focus mar estilo nav-link hrefhttps://www.youtube.com/channel/UC4na7EGElxcv51IXUU8rMtQ target_blank> i aria-hiddentrue classper text-black fa fa-youtube-play socialOption data-nameYoutube>/i> /a> /li> li classnav-item> a classaction-focus mar estilo nav-link hrefhttps://www.linkedin.com/company/11353469/ target_blank> i aria-hiddentrue classper text-black fa fa-linkedin socialOption data-nameLinkedin>/i> /a> /li> /ul> /div> div classrow mt-5> ul classnav d-flex styledisplay:flex; flex-direction:row; justify-content:space-between; align-items: center;> !--************************************************************--> li classnav-item>div class idmas>/div>/li> li classnav-item>div class idvisa>/div>/li> li classnav-item>div class idcmf>/div>/li> li classnav-item>div class idyappy>/div>/li> /ul> /div> /div> /div> div classrow mt-5> p classtext-center> {{pageLabelMap FooterText}} {{#each this.footerLinks}} {{#ifEquals this.Location__c Bottom}} span> | a stylecolor: #9a9a9a !important; href{{this.URL__c}} target_blank>{{DisplayName__c}}/a> /span> {{/ifEquals}} {{/each}} /p> /div> /div> !--************************************************************************************************************************************--> !--************************************************************************************************************************************--> !--************************************************************************************************************************************--> !--************************************************************************************************************************************--> div classcontainer hidden-md hidden-lg> div classrow mt-5> div classcol-xs-12> ul classnav pull-right> li> a href# classfooter titleScroll to top> div idScrollToTop-Mobile classScrollToTop>/div> span classsr-only>Scroll to top/span> /a> /li> /ul> div classlogo-footer>/div> /div> /div> div classrow rowfooter mt-5> div classcol-xs-12 footer-link--section> {{#each this.footerLinks}} {{#ifEquals this.Location__c Title}} {{#ifEquals this.Sequence__c 1}} h5 class data-togglecollapse data-target#col1 > span classtext-white underline underline-brand collapsed aria-expandedfalse data-togglecollapse href#col1> {{this.DisplayName__c}} /span> i classfa fa-angle-down fa-2x>/i> /h5> {{/ifEquals}} {{/ifEquals}} {{/each}} ul idcol1 classcollapse styleflex-direction: column;> {{#each this.footerLinks}} {{#ifEquals this.Location__c Column 1}} li classnav-link a nav-item> a classnav-link py-2 py-sm-0 menuOption data-name{{DisplayName__c}} href{{this.URL__c}} target_blank>{{DisplayName__c}}/a> /li> {{/ifEquals}} {{/each}} /ul> /div> div classcol-xs-12 footer-link--section> {{#each this.footerLinks}} {{#ifEquals this.Location__c Title}} {{#ifEquals this.Sequence__c 2}} h5 class data-togglecollapse data-target#col2 > span classtext-white underline underline-brand collapsed aria-expandedfalse data-togglecollapse href#col2> {{this.DisplayName__c}} /span> i classfa fa-angle-down fa-2x>/i> /h5> {{/ifEquals}} {{/ifEquals}} {{/each}} ul idcol2 classcollapse styleflex-direction: column;> {{#each this.footerLinks}} {{#ifEquals this.Location__c Column 2}} li classnav-link a nav-item> a classnav-link py-2 py-sm-0 menuOption data-name{{DisplayName__c}} href{{this.URL__c}} target_blank>{{DisplayName__c}}/a> /li> {{/ifEquals}} {{/each}} /ul> /div> div classcol-xs-12 footer-link--section> {{#each this.footerLinks}} {{#ifEquals this.Location__c Title}} {{#ifEquals this.Sequence__c 3}} h5 class data-togglecollapse data-target#col3 > span classtext-white underline underline-brand collapsed aria-expandedfalse data-togglecollapse href#col3> {{this.DisplayName__c}} /span> i classfa fa-angle-down fa-2x>/i> /h5> {{/ifEquals}} {{/ifEquals}} {{/each}} ul idcol3 classcollapse styleflex-direction: column;> {{#each this.footerLinks}} {{#ifEquals this.Location__c Column 3}} li classnav-link a nav-item> a classnav-link py-2 py-sm-0 menuOption data-name{{DisplayName__c}} href{{this.URL__c}} target_blank>{{DisplayName__c}}/a> /li> {{/ifEquals}} {{/each}} /ul> /div> !--********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************--> div classcol-xs-12 col-md-2 footer-link--section styledisplay:flex; flex-direction:column> div classrow stylepadding-top: 20px; margin-left:auto; margin-right:auto> !--*************************************--> ul classnav d-flex styledisplay:flex; justify-content:space-between> li classnav-item> a classaction-focus mar estilo nav-link hrefhttps://www.facebook.com/cochezpanama target_blank> i aria-hiddentrue classper text-black fa fa-facebook socialOption data-nameFacebook>/i> /a> /li> li classnav-item> a classaction-focus mar estilo nav-link hrefhttps://twitter.com/cochezpanama target_blank> i aria-hiddentrue classper text-black fa fa-twitter socialOption data-nameTwitter>/i> /a> /li> li classnav-item> a classaction-focus mar estilo nav-link hrefhttps://www.instagram.com/cochezpanama target_blank> i aria-hiddentrue classper text-black fa fa-instagram socialOption data-nameInstagram>/i> /a> /li> li classnav-item> a classaction-focus mar estilo nav-link hrefhttps://www.youtube.com/channel/UC4na7EGElxcv51IXUU8rMtQ target_blank> i aria-hiddentrue classper text-black fa fa-youtube-play socialOption data-nameYoutube>/i> /a> /li> li classnav-item> a classaction-focus mar estilo nav-link hrefhttps://www.linkedin.com/company/11353469/ target_blank> i aria-hiddentrue classper text-black fa fa-linkedin socialOption data-nameLinkedin>/i> /a> /li> /ul> !--******--> /div> div classrow stylepadding-top: 20px; margin-left:auto; margin-right:auto> !--*************************************--> ul classnav d-flex styledisplay:flex; justify-content:space-between> !--***********************************************************************************************************************************--> li classnav-item> div classm-3 idmas1>/div> /li> li classnav-item> div classm-3 idvisa1>/div> /li> li classnav-item> div classm-3 idcmf1>/div> /li> li classnav-item> div classm-3 idyappy1>/div> /li> /ul> !--******--> /div> /div> /div> div classrow text-center center-block mt-4> p> {{pageLabelMap FooterText}} {{#each this.footerLinks}} {{#ifEquals this.Location__c Bottom}} span> | a stylecolor: #9a9a9a !important; href{{this.URL__c}} target_blank>{{DisplayName__c}}/a> /span> {{/ifEquals}} {{/each}} /p> hr stylemargin-top:15%> /div> /div> /script> script> jQuery(function($) { CCRZ.models.footerMenuModel CCRZ.CloudCrazeModel.extend({ className: cc_Cynx_FooterLinkController, fetch: function(callback) { var model this; this.invokeContainerLoadingCtx($(.footerMenu), getFooterLinks, CCRZ.pagevars.storefrontName, function(response, error){ if(response && response.data) { model.set(footerLinks, response.data); }else{ model.set(footerLinks, ); console.log(getFooterLinks error, error); } callback(); },{ nmsp: false, escape: false, buffer: false, timeout: 10000 } ); } }); }) /script> script> jQuery(function($){ CCRZ.views.footerMenuView CCRZ.CloudCrazeView.extend({ templateDesktop : CCRZ.util.template(ccCynx_FooterMenu_Tmpl), viewName : footerMenuView, events: { click .ScrollToTop : scrollToTop, click .menuOption : clickMenuOption, click .socialOption : clickSocialNet }, init: function() { this.selector .CC_SiteFooter, this.model new CCRZ.models.footerMenuModel(); var v this; v.model.fetch(function() { v.render(); }); }, renderDesktop: function () { CCRZ.pubSub.trigger(chargeFooter); this.setElement(this.selector); this.$el.html(this.templateDesktop(this.model.toJSON())); }, postRender: function () { this.addIconsFooter(); }, addIconsFooter: function(){ // let urla CCRZ.pagevars.themeBaseURL + images/+ Amex.svg; let urlm CCRZ.pagevars.themeBaseURL + images/+ MasterCard.svg; let urlv CCRZ.pagevars.themeBaseURL + images/+ Visa.svg; let url CCRZ.pagevars.themeBaseURL + images/+ button-toppage.png; let urlnov2 CCRZ.pagevars.themeBaseURL + images/+ logo-cochezwhite.svg; let urlcmf https://storage.googleapis.com/chz-marketing-repositorio-fotos/novey/iconos_storefront/cmfInverse.svg; let urlyappy https://storage.googleapis.com/chz-marketing-repositorio-fotos/novey/CC%20Promotions/2022/SEP/yappy.png; $(.logo-footer).append(img classlogo-personalized center-block logo img-responsive src + urlnov2 + altCochez y Cía, S.A stylepadding-left:45px;padding-top:10px;>); //$(#amex).append(img src+urla+ altAmex height50 width50>); $(#mas).append(img src+urlm+ altMasterCard height50 width50>); $(#visa).append(img src+urlv+ altVisa height50 width50>); $(#cmf).append(img src+urlcmf+ altCMF height50 width50>); $(#yappy).append(img src+urlyappy+ altYappy height50 width50>); //$(#amex1).append(img src+urla+ altAmex height50 width50>); $(#mas1).append(img src+urlm+ altMasterCard height50 width50>); $(#visa1).append(img src+urlv+ altVisa height50 width50>); $(#cmf1).append(img src+urlcmf+ altCMF height50 width50>); $(#yappy1).append(img src+urlyappy+ altYappy height50 width50>); $(#ScrollToTop-Desktop).append(img src+url+ altgo to top height60 width60>); $(#ScrollToTop-Mobile).append(img src+url+ altgo to top height40 width40>); }, scrollToTop: function(e){ e.preventDefault() $(html, body).animate({scrollTop:0}, slow) }, clickMenuOption: function(e){ selectedOption e.currentTarget.getAttribute(data-name); CCRZ.pubSub.trigger(clickFooterMenu_Event, selectedOption); }, clickSocialNet: function(e){ selectedOption e.currentTarget.getAttribute(data-name); CCRZ.pubSub.trigger(clickFooterSocial_Event, selectedOption); } }); CCRZ.footerMenuView new CCRZ.views.footerMenuView() }); /script>/span> /div> /footer> ul classnav pull-right scroll-top cc_scroll-top> li>a href# idchevronUpLink>i aria-hiddentrue classfa fa-chevron-up>/i>span classsr-only idchevronUpText>/span>/a>/li> /ul> /div> /div> script> var forgotPassword function() { document.location /ccrz__CCForgotPassword?cartID + CCRZ.pagevars.currentCartID + getCSRQueryString(); }; var loginUsername ; /script>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id402> script typetext/javascript> jQuery(function($) { use strict; CCRZ.views.PageMessagesView Backbone.View.extend({ viewName : PageMessagesView, initialize : function() { CCRZ.pubSub.on(pageMessage, function(response) { this.trigger(response); }, this); }, render : function(messages) { var v this; if (CCRZ.display.isPhone()) { this.renderPhone(messages); } else { this.renderDesktop(messages); } CCRZ.pubSub.trigger(view:+this.viewName+:refresh, this); }, renderPhone : function(messages) { this.renderDesktop(messages); //temporary }, renderDesktop : function(messages) { for (var i in messages) { var msg messagesi; if(msg.labelId){ msg.message CCRZ.pagevars.pageLabelsmsg.labelId; } if (msg.message) { if (msg.type CUSTOM) { $(. + msg.classToAppend).append(div class\ + this.getMessageClassName() + + this.getMessageSeverityStyle(msg) + \> + msg.message + /div>); $(. + msg.classToAppend).show(); } else if (msg.type ALERT) { alert(msg.message); } else { // all other message types will appear in pre-configured HTML tag for page messages $(.default_page_message:first).append(div + this.getMessageSeverityStyle(msg) + \> + msg.message + /div>); } } } }, getMessageClassName: function() { var messageClassName ; if (CCRZ.disableAdaptive) { messageClassName alert; } else { messageClassName dynamic_page_message; } return messageClassName; }, getMessageSeverityStyle : function(msg) { if (CCRZ.disableAdaptive) { if (msg.severity SUCCESS) { return alert-info; } else if (msg.severity INFO) { return alert-info; } else if (msg.severity WARN) { return alert-warning; } else if (msg.severity ERROR) { return alert-danger; } else if (msg.severity CRITICAL) { return alert-danger; } else { return alert alert-error; } } else { if (msg.severity SUCCESS) { return dynamic_page_message_success; } else if (msg.severity INFO) { return dynamic_page_message_info; } else if (msg.severity WARN) { return dynamic_page_message_warn; } else if (msg.severity ERROR) { return dynamic_page_message_error; } else if (msg.severity CRITICAL) { return dynamic_page_message_critical; } else { return dynamic_page_message_error; } } }, trigger : function(response) { if(!response.clearInclSectionsOnly){ $(. + this.getMessageClassName()).not(.cc_invalid_item).empty(); } if (response.clearInclSectionsOnly && !jQuery.isEmptyObject(response.messages)) { for (var i in response.messages) { var msg response.messagesi; if(CCRZ.disableAdaptive){ $(. + msg.classToAppend).empty(); }else { $(. + msg.classToAppend + this.getMessageClassName()).remove(); } } } else { $(. + this.getMessageClassName()).not(.cc_invalid_item).remove(); } if (!jQuery.isEmptyObject(response)) { if (!jQuery.isEmptyObject(response.messages)) { this.render(response.messages); } } } }); CCRZ.pageMessagesView new CCRZ.views.PageMessagesView(); if(!CCRZ.disableAdaptive) { CCRZ.dynamicViews.push(CCRZ.pageMessagesView); } }); /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id405> script idHeaderDesktop typetext/template> div classnavbar-inverse cc_navbar-inverse> div classcontainer cc_container> {{#if false }} div classrow cc_navbar_row cc_with_ma_menu> {{else}} div classrow cc_navbar_row cc_without_ma_menu> {{/if}} small> div classcol-md-4 col-xs-12 cc_navbar_col_misc> p classheader-spacer visible-md-* cc_header_spacer>/p> div classnavbar-header pull-left cc_navbar-header> span classmisc-function cc_misc_function>/span> span classlssec cc_lssec>/span> /div> /div> div classcol-md-5 col-xs-12 cc_navbar_col_acct cc_my_account_menu> p classheader-spacer visible-md-* cc_header_spacer>/p> div classnavbar-header pull-right cc_navbar-header> ul classlist-inline navbar-nav cc_list-inline> {{#if false }} {{#if false }} li idmyAccountMenu classdropdown cc_dropdown cc_my_account_dropdown>/li> {{else}} li classloginoutsec cc_loginoutsec>/li> {{/if}} {{/if}} {{#if true }} li classcc_my_account>a href# idgoToAccount>i classfa fa-user aria-hiddentrue>/i>span> {{pageLabelMap Component_SiteHeader_MyAccount}}/span>/a>/li> {{/if}} li classcc_my_chead>a href# idcartHeader classchead cartHeaderLink>/a>/li> {{#if true }} li classloginoutsec cc_loginoutsec>/li> {{/if}} /ul> /div> /div> div classcol-md-3 col-xs-12 pull-right cc_col_search> ul classnav cc_nav> li>div classsearch_form cc_search_form>/div>/li> /ul> /div> /small> /div> /div> /div> a href# idlogoUrl classcc_logo_url>div idcc_store_logo_img classcc_store_logo_img center-block>/div>/a> /script>script idCartHeaderBrowser typetext/template> {{#ifNotEquals this.cartStatus Repricing}} i classfa fa-shopping-cart cc_icon_cart aria-hiddentrue>/i> span classcc_header_mycart> {{pageLabelMap Component_SiteHeader_MyCart}}: {{#ifEquals this.cartCount 1}} {{this.cartCount}} {{pageLabelMap Component_MiniCart_Item}} {{else}} {{this.cartCount}} {{pageLabelMap Component_MiniCart_Items}} {{/ifEquals}} {{price this.cartTotal}} /span> {{else}} i classfa fa-refresh cc_icon_refresh aria-hiddentrue>/i> span classcc_header_mycart>{{pageLabelMap Component_SiteHeader_MyCart}}/span> {{/ifNotEquals}}/script>script idMyAccountMenuHeader typetext/template> a href# data-toggledropdown classdropdown-toggle cc_dropdown_toggle> i classfa fa-user aria-hiddentrue>/i>span> {{pageLabelMap Component_SiteHeader_MyAccount}} span classcaret>/span>/span> /a> ul classdropdown-menu cc_dropdown-menu> {{#if this}} {{#each this.children}} li>a classmenuTypeURL href{{linkURL}}>{{displayName}}/a>/li> {{/each}} {{/if}} li classloginoutsec cc_loginoutsec>/li> /ul>/script>script idMyAccount-Desktop typetext/template> {{#if false }} {{#if this}} {{#ifEquals this.UserType Guest}} a href#login classgoToLogin cc_goto_login>i classfa fa-user aria-hiddentrue>/i> {{pageLabelMap Component_SiteHeader_Login}}/a> {{else}} a href#logout classdoLogout cc_do_logout>{{pageLabelMap Component_SiteHeader_Logout}} {{formatName Name_Format this.FirstName this.LastName}}/a> {{/ifEquals}} {{else}} a href#login classgoToLogin cc_goto_login>i classfa fa-user aria-hiddentrue>/i> {{pageLabelMap Component_SiteHeader_Login}}/a> {{/if}} {{else}} {{#if this}} {{#ifEquals this.UserType Guest}} a href#login classgoToLogin cc_goto_login>i classfa fa-pencil aria-hiddentrue>/i> {{pageLabelMap Component_SiteHeader_Login}}/a> {{else}} a href#logout classdoLogout cc_do_logout>i classfa fa-pencil aria-hiddentrue>/i> {{pageLabelMap Component_SiteHeader_Logout}} {{formatName Name_Format this.FirstName this.LastName}}/a> {{/ifEquals}} {{else}} a href#login classgoToLogin cc_goto_login>i classfa fa-pencil aria-hiddentrue>/i> {{pageLabelMap Component_SiteHeader_Login}}/a> {{/if}} {{/if}}/script>script idCartTotal typetext/template>/script>script> CCRZ.remoteAction.forgotPassword CCRZ.pagevars.namespace + cc_ctrl_Header.forgotPassword; jQuery(function($) { var productDetails /ccrz__ProductDetails; CCRZ.views.productListModal Backbone.View.extend({ viewName : productListModal, template : CCRZ.util.template(CCRZ.uiProperties.productListModal.phone.tmpl), initialize : function(){ this.render(); }, render : function(){ this.setElement($(CCRZ.uiProperties.productListModal.phone.selector)); // CCRZ.data.categories gets set in the remote action in cc_CategoryTreeRD // This remote action is set to escape:false $(this.el).html(this.template(CCRZ.data.categories)); CCRZ.pubSub.trigger(view:+this.viewName+:refresh, this); } }); CCRZ.views.cartHeaderView CCRZ.CloudCrazeView.extend({ viewName : cartHeaderView, templateCartHeaderDesktop : CCRZ.util.template(CCRZ.uiProperties.cartHeaderView.desktop.tmpl), templateCartHeaderPhone : CCRZ.util.template(CCRZ.uiProperties.cartHeaderView.phone.tmpl), className : cc_RemoteActionController, initialize : function(){ var _this this; _this.update(); _this.poll (CCRZ.pagevars.pageConfig.isTrue(cs.enable))? setInterval(function() { _this.update(); }, 30000) : false; // poller for cart header CCRZ.headerModel.get(header).on(change:cartStatus, function(model, status) { CCRZ.pubSub.trigger(view: + this.viewName + :cartStatus:refresh, this); }); }, render : function(){ this.setElement($(CCRZ.uiProperties.cartHeaderView.desktop.selector)); var hdrModel CCRZ.headerModel.get(header); var source ||CCRZ.pagevars.pageLabelsCartHeader_Loading; if(hdrModel.get(cartTotal)){ var json hdrModel.toJSON(); source (CCRZ.display.isPhone()) ? this.templateCartHeaderPhone(json) : this.templateCartHeaderDesktop(json); } $(this.el).html(source); CCRZ.pubSub.trigger(view:+this.viewName+:refresh, this); }, update : function(){ var view this; CCRZ.headerModel.getCartHeader(function(callback){ if (!callback) { view.render(); // dispatch a method to check if the cart must be repaired if (CCRZ.headerModel.get(header).hasChanged() && Repricing CCRZ.headerModel.get(header).get(cartStatus)) { view.invokeCtx(checkCartRepair, function(response){ if(response && response.success){ CCRZ.pagevars.currentCartRepricing false; CCRZ.pubSub.trigger(cartChange, CCRZ.headerModel.get(cartId)); } } ); } } if (_.isFunction(callback)) callback(); }); } }); CCRZ.views.myAccountMenuHeaderView CCRZ.CloudCrazeView.extend({ templateMyAccountMenuDesktop : CCRZ.util.template(CCRZ.uiProperties.myAccountMenuHeaderView.desktop.tmpl), className : cc_ctrl_Header, viewName : myAccountMenuHeaderView, initialize : function(){ var view this; this.invokeCtx( getMyAccountMenuData, function(response) { if(response.success && response.data) { CCRZ.data.myAccountMenu response.data0; if(CCRZ.data.myAccountMenu.children) { CCRZ.data.myAccountMenu.children.forEach(function(menuItem) { var url (CCRZ.pagevars.portalUserId && CCRZ.pagevars.portalUserId ! ) ? menuItem.linkURL.replace(CCRZ.pagevars.remoteContext.storefront + /, apex/) : menuItem.linkURL; menuItem.linkURL CCRZ.buildQueryString(url); }); } } view.render(); } , {escape : false}); }, render : function(){ this.setElement($(CCRZ.uiProperties.myAccountMenuHeaderView.desktop.selector)); $(this.el).html(this.templateMyAccountMenuDesktop(CCRZ.data.myAccountMenu)); CCRZ.pubSub.trigger(view:+this.viewName+:refresh, this); } }); CCRZ.views.myAccountHeaderView CCRZ.CloudCrazeView.extend({ templateMyAccountPhone : CCRZ.util.template(CCRZ.uiProperties.myAccountHeaderView.phone.tmpl), templateMyAccountDesktop : CCRZ.util.template(CCRZ.uiProperties.myAccountHeaderView.desktop.tmpl), viewName : myAccountHeaderView, init : function(){ this.update(); }, renderDesktop : function(){ if (CCRZ.currentUser ! null) { var json (CCRZ.currentUser) ? CCRZ.currentUser : null; this.setElement($(CCRZ.uiProperties.myAccountHeaderView.desktop.selector)); $(this.el).html(this.templateMyAccountDesktop(json)); } }, renderPhone : function(){ var json (CCRZ.currentUser) ? CCRZ.currentUser : {}; json.headerLoginOverrideLink CCRZ.pagevars.linkOverrideMapHeaderLogin; this.setElement($(CCRZ.uiProperties.myAccountHeaderView.phone.selector)); $(this.el).html(this.templateMyAccountPhone(json)); }, update : function(){ var view this; CCRZ.headerModel.getUser(function(){ view.render(); }); } }); CCRZ.views.headerView CCRZ.CloudCrazeView.extend({ templateDesktop : CCRZ.util.template(CCRZ.uiProperties.headerView.desktop.tmpl), templatePhone : CCRZ.util.template(CCRZ.uiProperties.headerView.phone.tmpl), viewName : headerView, maViewLinks :, init : function(){ if(!CCRZ.pagevars.isGuest && CCRZ.pagevars.pageConfig.isTrue(h.enablemyaccmenu)) { this.myMenuView new CCRZ.views.myAccountMenuHeaderView(); } if(CCRZ.pagevars.pageConfig.isTrue(MA.useDef)){ this.loadDefaultViews(); } if (CCRZ.pagevars.pageConfig.isTrue(MA.overrideFlow) && !CCRZ.disableAdaptive) { var v this; CCRZ.pubSub.on(view:myaccountHDRView:subViewInit, function(data) { v.prepAndRender(); }); CCRZ.pubSub.trigger(view:myaccountHDRView:awaitingSubViewInit, this); } else { this.prepAndRender(); } }, prepAndRender : function(){ //add listener to CCRZ event listener this.listenTo(CCRZ.pubSub, cartChange, function(cartId){ this.model.set({cartId : cartId}); this.update(); }); this.cartHeaderView new CCRZ.views.cartHeaderView(); this.myAccountHeaderView new CCRZ.views.myAccountHeaderView({ cartId : this.model.get(cartId), viewState : this.model.get(viewState) }); this.model.set({myAccountLinks:this.maViewLinks}); this.render(); }, loadDefaultViews : function(){ if(CCRZ.HDRMyAccount.contactInfo){ CCRZ.HDRMyAccount.contactInfo.register(this); } if(CCRZ.HDRMyAccount.addressBooks){ CCRZ.HDRMyAccount.addressBooks.register(this); } if(CCRZ.HDRMyAccount.myCarts){ CCRZ.HDRMyAccount.myCarts.register(this); } if(CCRZ.HDRMyAccount.myOrders){ CCRZ.HDRMyAccount.myOrders.register(this); } if(CCRZ.HDRMyAccount.myWishlists){ CCRZ.HDRMyAccount.myWishlists.register(this); } if(CCRZ.HDRMyAccount.mySubscriptions){ CCRZ.HDRMyAccount.mySubscriptions.register(this); } if(CCRZ.HDRMyAccount.mySubscriptionsNew){ CCRZ.HDRMyAccount.mySubscriptionsNew.register(this); } if(CCRZ.HDRMyAccount.myInvoices){ CCRZ.HDRMyAccount.myInvoices.register(this); } if(CCRZ.HDRMyAccount.myWallet){ CCRZ.HDRMyAccount.myWallet.register(this); } }, registerNewView : function(viewName, title){ this.maViewLinks.push({viewState:viewName,linkLabel:title}); }, events : { /*click #cart_btn_phone : getCartItems,*/ click #signInButton : doSignIn, click #submitBtn : doForgotPassword, click #forgotPasswordButton : forgotPasswordModal, click .chead : goToCart, click #productHeaderLink : getCategories, click #cart input.btn-primary : goToCart, click #logoUrl : goHome, click .gotoMA : goToMyAccountSection, //BEGIN DEPRECATE click #goToAccount : goToAccount, click .gotoOrders : goToOrders, click .gotoWishlists : gotoWishlists, click .gotoSubscriptions : gotoSubscriptions, click .gotoSubscriptionsNew : gotoSubscriptionsNew, click .gotoCarts : gotoCarts, click .gotoAddressBook : goToAddressBook, click .gotoInvoices : gotoInvoices, //END DEPRECATE click .goToLogin : goToLogin, click .doLogout : doLogout, click #backToLogin : backToLogin, click #siteRegister : gotoSecureRegistration }, renderDesktop : function(){ $(this.el).html(); this.setElement($(CCRZ.uiProperties.headerView.desktop.selector)); $(this.el).html(this.templateDesktop(this.model.toJSON())); this.renderFinish(); }, renderPhone : function(){ $(this.el).html(); this.setElement($(CCRZ.uiProperties.headerView.phone.selector)); $(this.el).html(this.templatePhone(this.model.toJSON())); this.renderFinish(); }, renderFinish: function(){ this.cartHeaderView.render(); this.myAccountHeaderView.render(); //this.cartView new CCRZ.views.cartView(); }, /*getCartItems : function(event){ var view this; view.cartView.cartmodel.fetch(function(response) { view.cartView.render(); }); },*/ getCategories : function(event){ this.productListModal new CCRZ.views.productListModal(); }, doSignIn : function(event){ var view this; this.doLogin($(#modal_email).val(), $(#modal_password).val(), function(error){ view.showError(error); }); }, doLogin : function(username, password, error){ $(inputid$hdnUsername).val(username); $(inputid$hdnPassword).val(password); login(); }, forgotPasswordModal : function(event){ $(#login).modal(hide); $(#forgotPassword).modal(show); }, backToLogin : function(event){ $(#forgotPassword).modal(hide); $(#login).modal(show); }, doForgotPassword : function(event){ var username $(#fpEmailField).val(); loading($(event.currentTarget)); this.invoke( forgotPassword, username, function(response){ if(response){ $(#forgotPassword).modal(hide); $(#login).modal(show); } doneLoading($(event.currentTarget)); } ); }, update : function(){ this.cartHeaderView.update(); }, goToCart : function(){ window.location.href /ccrz__Cart + CCRZ.buildQueryString(); }, goHome : function(event){ window.location.href CCRZ.goToHomePage(https://empresa.cochezycia.com, false); }, goToMyAccountSection : function(event){ if (CCRZ.pagevars.linkOverrideMapHeaderMyAccount) { window.location.href CCRZ.pagevars.linkOverrideMapHeaderMyAccount; } else { var objLink $(event.currentTarget); var vs objLink.data(vs); window.location.href /ccrz__MyAccount + CCRZ.buildQueryString(?viewState+vs); } }, //BEGIN DEPRECATION goToAccount : function(){ if (CCRZ.pagevars.linkOverrideMapHeaderMyAccount) { window.location.href CCRZ.pagevars.linkOverrideMapHeaderMyAccount; } else { this.goToMAS(viewAccount); } }, goToMAS : function(vs){ window.location.href /ccrz__MyAccount + CCRZ.buildQueryString(?viewState+vs); }, goToOrders : function(){ this.goToMAS(myOrders); }, gotoWishlists : function(){ this.goToMAS(myWishlists); }, gotoSubscriptions : function(){ this.goToMAS(mySubscriptions); // $(#account).modal(hide); // CCRZ.pubSub.trigger(action:refreshSubscription,this); }, gotoSubscriptionsNew : function(){ this.goToMAS(mySubscriptionsNew); // $(#account).modal(hide); // CCRZ.pubSub.trigger(action:refreshSubscription,this); }, gotoCarts : function(){ this.goToMAS(myCarts); }, goToAddressBook : function(){ this.goToMAS(myAddressBook); }, gotoInvoices : function(){ this.goToMAS(myInvoices); }, //END DEPRECATION goToLogin : function(event){ if (CCRZ.pagevars.linkOverrideMapHeaderLogin) { window.location.href CCRZ.pagevars.linkOverrideMapHeaderLogin; } else { window.location.href /ccrz__CCSiteLogin + CCRZ.buildQueryString(); } }, doLogout : function(event){ if (CCRZ.pagevars.linkOverrideMapHeaderLogout) { window.location.href CCRZ.pagevars.linkOverrideMapHeaderLogout; } else { window.location.href /secur/logout.jsp; } }, showError : function(errorMsg){ $(.error-msg).html(errorMsg); $(.message_container).show(); }, gotoSecureRegistration: function(event) { var secureUrl CCRZ.pagevars.storeSettings.Site_Secure_Domain__c; secureUrl secureUrl + /ccrz__CCSiteRegister + ?cartId + CCRZ.pagevars.currentCartID; window.location secureUrl; } }); CCRZ.headerModel new CCRZ.models.headerModel({ cartId : CCRZ.pagevars.currentCartID, viewState : , ipAddressLocKey : g, ipAddressLoc : , storefront : , logoUrl : /resource/1712862429000/ccCochez_B2B_Theme/images/homepage_header_graphic.png }); CCRZ.headerView new CCRZ.views.headerView({ model : CCRZ.headerModel }); $(#send2).on(click, function(event){ CCRZ.headerView.doSignIn(event); }); }); CCRZ.HDRMyAccount _.extend(CCRZ.HDRMyAccount||{},{ hrdMA : false ,contactInfo :{ register : function(registrar){ registrar.registerNewView(viewAccount,CCRZ.pagevars.pageLabelsMyAccount_ContactInformation); } } ,addressBooks :{ register : function(registrar){ registrar.registerNewView(myAddressBook,CCRZ.pagevars.pageLabelsComponent_SiteHeader_AddressBook); } } ,myCarts :{ register : function(registrar){ registrar.registerNewView(myCarts,CCRZ.pagevars.pageLabelsComponent_SiteHeader_MyCarts); } } ,myOrders :{ register : function(registrar){ registrar.registerNewView(myOrders,CCRZ.pagevars.pageLabelsComponent_SiteHeader_MyOrders); } } ,myWishlists :{ register : function(registrar){ registrar.registerNewView(myWishlists,CCRZ.pagevars.pageLabelsHeader_MyWishlists); } } ,myInvoices :{ register : function(registrar){ registrar.registerNewView(myInvoices,CCRZ.pagevars.pageLabelsMyAccount_MyInvoices); } } ,myWallet :{ register : function(registrar){ registrar.registerNewView(myWallet,CCRZ.pagevars.pageLabelsMyAccount_MyWallet); } } });/script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id461> script idsubmenu-desktop-template typetext/template> {{#each children}} {{#if children}} li classmenu-item dropdown dropdown-submenu> {{#ifEquals mType Category}} a classcategory dropdown-toggle data-toggledropdown href{{linkURL}} data-id{{linkURL}} data-menuid{{menuId}} {{linkTarget openInNewWindow}}>{{displayName}} i classfa fa-caret-down hidden-md hidden-lg aria-hiddentrue>/i>/a> {{/ifEquals}} {{#ifEquals mType Product}} a classproduct dropdown-toggle data-toggledropdown href{{linkURL}} data-id{{linkURL}} data-menuid{{menuId}} {{linkTarget openInNewWindow}}>{{displayName}} i classfa fa-caret-down hidden-md hidden-lg aria-hiddentrue>/i>/a> {{/ifEquals}} {{#ifEquals mType URL}} a classmenuTypeURL dropdown-toggle data-toggledropdown href{{linkURL}} data-href{{linkURL}} data-menuid{{menuId}} {{linkTarget openInNewWindow}}>{{displayName}} i classfa fa-caret-down hidden-md hidden-lg aria-hiddentrue>/i>/a> {{/ifEquals}} {{#ifEquals mType None}} a classdropdown-toggle data-toggledropdown href# data-menuid{{menuId}}>{{displayName}} i classfa fa-caret-down hidden-md hidden-lg aria-hiddentrue>/i>/a> {{/ifEquals}} ul classdropdown-menu> {{> subMenuItem}} /ul> /li> {{else}} {{#ifEquals mType Category}} li>{{categoryLink this cc_category textdisplayName}}/li> {{/ifEquals}} {{#ifEquals mType Product}} li>{{productLink this cc_product textdisplayName}}/li> {{/ifEquals}} {{#ifEquals mType URL}} li>a classmenuTypeURL href{{linkURL}} data-href{{linkURL}} data-menuid{{menuId}} {{linkTarget openInNewWindow}}>{{displayName}}/a>/li> {{/ifEquals}} {{#ifEquals mType None}} li>a hrefjavascript:void(0); data-menuid{{menuId}}>{{displayName}}/a>/li> {{/ifEquals}} {{/if}} {{/each}} /script> script idmenu-desktop-template typetext/template> div idsecnav cc_secnav> nav classnavbar navbar-default navbar-static-top cc_navbar> div classcontainer cc_container> div classnavbar-header cc_navbar_header> button typebutton classnavbar-toggle collapsed cc_navbar_toggle data-togglecollapse data-target#navbar aria-expandedfalse aria-controlsnavbar> span classsr-only>{{pageLabelMap Menu_ToggleNavigation}}/span> !--***********--> span classicon-bar cc_icon-bar>/span> span classicon-bar cc_icon-bar>/span> span classicon-bar cc_icon-bar>/span> /button> /div> div idnavbar classnavbar-collapse collapse cc_navbar_collapse> ul classnav navbar-nav cc_navbar-nav> li>{{goHome this cc_phone_logo phoneLogo icon(displayIcon home)}}span classsr-only>{{pageLabelMap Menu_Home}}/span>/li> {{#each .}} {{#ifNotEquals showInMyAccountMenu true}} {{#if children}} li classdropdown cc_dropdown> a href{{linkURL}} classdropdown-toggle cc_dropdown_toggle data-toggledropdown data-menuid{{menuId}} {{linkTarget openInNewWindow}} rolebutton aria-haspopuptrue aria-expandedfalse>{{displayName}}span classcaret>/span>/a> ul classdropdown-menu cc_dropdown-menu> {{> subMenuItem}} /ul> /li> {{else}} {{#ifEquals mType Category}} li classdropdown cc_dropdown>{{categoryLink this cc_category textdisplayName}}/li> {{/ifEquals}} {{#ifEquals mType Product}} li classdropdown cc_dropdown>{{productLink this cc_product textdisplayName}}/li> {{/ifEquals}} {{#ifEquals mType URL}} li classdropdown cc_dropdown>a classmenuTypeURL cc_menu_type_url href{{linkURL}} data-href{{linkURL}} data-menuid{{menuId}} {{linkTarget openInNewWindow}}>{{displayName}}/a>/li> {{/ifEquals}} {{#ifEquals mType None}} li classdropdown cc_dropdown>a hrefjavascript:void(0); classcc_display_name data-menuid{{menuId}}>{{displayName}}/a>/li> {{/ifEquals}} {{/if}} {{/ifNotEquals}} {{/each}} {{#if false }} {{#if true }} {{else}} li classdropdown cc_dropdown cc_menu_my_account>/li> {{/if}} {{/if}} /ul> /div>!--***************--> /div> /nav> /div> /script> script idmy-account-menu-desktop-template typetext/template> a hrefjavascript:void(0); classdropdown-toggle cc_dropdown_toggle data-toggledropdown data-menuid{{menuId}} rolebutton aria-haspopuptrue aria-expandedfalse>{{pageLabelMap Component_SiteHeader_MyAccount}}span classcaret>/span>/a> ul classdropdown-menu cc_dropdown-menu> {{#if children}} {{> subMenuItem}} {{/if}} li> a href#logout classdoLogout cc_do_logout>{{pageLabelMap Component_SiteHeader_Logout}} {{#if currentUser}} {{formatName Name_Format currentUser.FirstName currentUser.LastName}} {{/if}} /a> /li> /ul> /script>script typetext/javascript> jQuery(function($) { // TODO: Redesign how to best link to other pages within CloudCraze CCRZ.pages { homePage: CCRZ.goToHomePage(https://empresa.cochezycia.com, false), products: CCRZ.pageUrls.productList, productDetails: /ccrz__ProductDetails, cart: /ccrz__Cart }; CCRZ.models.MenuModel CCRZ.CloudCrazeModel.extend({ className: cc_ctrl_MenuBar, fetch: function (callback) { var model this; model.invokeCtx(getMenuJson, function (response, event) { if (response && response.data && response.success) { model.processData(response.data); callback(response); } else { callback(response); } }, {escape: false}); }, processData: function(menuList) { var model this; var menus _.where(menuList, {showInMyAccountMenu: false}); model.set(menus, menus); var myAccountMenu _.findWhere(menuList, {showInMyAccountMenu: true}); if(!myAccountMenu) { myAccountMenu {}; } myAccountMenu.currentUser CCRZ.currentUser; model.set(myAccountMenu, myAccountMenu); } }); CCRZ.views.MyAccountMenu Backbone.View.extend({ viewName : myAccountMenu, templateBoth : CCRZ.util.template(CCRZ.uiProperties.Menu.myAccountMenuView.tmpl), initialize: function() { this.render(); }, render : function() { var view this; view.setElement($(CCRZ.uiProperties.Menu.myAccountMenuView.selector)); view.$el.html(view.templateBoth(view.model)); CCRZ.pubSub.trigger(view: + this.viewName + :refresh, this); console.log(MyAccountMenu rendered); } }); CCRZ.views.Menu CCRZ.CloudCrazeView.extend({ templateDesktop: CCRZ.util.template(CCRZ.uiProperties.Menu.desktop.tmpl), templateMobile: CCRZ.util.template(CCRZ.uiProperties.Menu.phone.tmpl), className : cc_ctrl_MenuBar, viewName : Menu, init: function() { var view this; Handlebars.registerPartial(subMenuItem, $(#submenu-desktop-template).html()); view.model.fetch(function() { view.render(); if(!CCRZ.pagevars.isGuest && view.model.has(myAccountMenu)) { CCRZ.myAccountMenuView new CCRZ.views.MyAccountMenu({ model: view.model.get(myAccountMenu) }); } }); }, events : { click #phoneLogo : goHome, click .category : gotoCategory, click .product : gotoProduct, click a.menuTypeURL : gotoURL, click .doLogout : doLogout }, renderDesktop : function(){ this.setElement($(CCRZ.uiProperties.Menu.desktop.selector)); this.$el.html(this.templateDesktop(this.model.get(menus))); CCRZ.pubSub.trigger(view:+this.viewName+:refresh, this); }, renderPhone : function(){ this.setElement($(CCRZ.uiProperties.Menu.phone.selector)); this.$el.html(this.templateMobile(this.model.get(menus))); }, goHome : function(event){ window.location.href CCRZ.goToHomePage(https://empresa.cochezycia.com, false); }, gotoProduct : function(event){ if(event.preventDefault) event.preventDefault(); var link $(event.currentTarget); var sku $(event.currentTarget).data(id); var href CCRZ.pages.productDetails + ?viewStateDetailView&sku + sku; this.navigateTo(link, href); }, gotoCategory: function(event) { if(event.preventDefault) event.preventDefault(); var link $(event.currentTarget); var catId $(event.currentTarget).data(id); var href CCRZ.pages.products + ?categoryId + catId; this.navigateTo(link, href); }, gotoURL: function(event) { if(event.preventDefault) event.preventDefault(); var link $(event.currentTarget); var linkHref link.attr(data-href); this.navigateTo(link, linkHref); }, doLogout : function(event){ if (CCRZ.pagevars.linkOverrideMapHeaderLogout) { window.location.href CCRZ.pagevars.linkOverrideMapHeaderLogout; } else { window.location.href /secur/logout.jsp; } }, navigateTo: function(linkObj, linkHref) { if (linkHref) { if(linkHref.indexOf(?) ! -1){ linkHref CCRZ.buildQueryString(linkHref); }else{ linkHref + CCRZ.buildQueryString(); } //remove a slash if the menu item was defined with a leading slash if(linkHref.startsWith(/)){ linkHref linkHref.slice(1,linkHref.length); } //case where the site name is in the url note this also happens when creating cat or prod link if(linkHref.startsWith(CCRZ.pagevars.sitePrefix.slice(1, CCRZ.pagevars.sitePrefix.length))){ //note this is +1 to also get the next slash on the storefront linkHref linkHref.slice(CCRZ.pagevars.sitePrefix.length, linkHref.length); } //Special case where sf is at root with NO end slash ex: store.com/DefaultStore //note that currSiteURL adds the slash back in...previous removal prevents double slash //added another check here to ensure that external links to not add back in the site //note we already do NOT render external links without http or https in them if(!window.location.href.startsWith(https://empresa.cochezycia.com) || !linkHref.startsWith(http)){ linkHref CCRZ.pagevars.currSiteURL + linkHref; } var target linkObj.attr(target); if(target _blank) { //Open in new window cases window.open(linkHref); } else { //redirect in existing window window.location linkHref; } } } }); CCRZ.menuModel new CCRZ.models.MenuModel(); CCRZ.menuView new CCRZ.views.Menu({ model: CCRZ.menuModel }); }); jQuery(function() { var categoryUrl CCRZ.pageUrls.productList + ?viewStateListView&cartID+ CCRZ.pagevars.currentCartID + &&storeB2BCochez&categoryId; var productUrl /ccrz__ProductDetails?viewStateDetailView&cartID+ CCRZ.pagevars.currentCartID + &&storeB2BCochez&sku; var homeUrl /ccrz__HomePage?cartID + CCRZ.pagevars.currentCartID + &&storeB2BCochez&sku; var prdRE /#PRD_(.+)/i; var catRE /#CAT_(.+)/i; jQuery(.main_navigation_container a).each(function(index) { var link jQuery(this); var linkHref link.attr(href); if(linkHref) { var catMatch linkHref.match(catRE); var prdMatch linkHref.match(prdRE); if(catMatch) { link.attr(href, categoryUrl + catMatch1); } else if(prdMatch) { link.attr(href, productUrl + prdMatch1); } } }); jQuery(.main_navigation_container a.hdrlogo).attr(href,homeUrl); }); if(CCRZ.disableAdaptive) { var timer setInterval(function() { jQuery(ul.dropdown-menu data-toggledropdown).on(click, function (event) { event.preventDefault(); event.stopPropagation(); if ($(this).parent().hasClass(open)) { $(this).parent().removeClass(open); } else { // opening the one you clicked on $(this).parent().addClass(open); } var menu $(this).parent().find(ul); var menupos menu.offset(); if ((menupos.left + menu.width()) + 30 > $(window).width()) { var newpos -menu.width(); } else { var newpos $(this).parent().width(); } menu.css({left: newpos}); }); if($(ul.dropdown-menu data-toggledropdown).length) { clearInterval(timer); } }, 250); }/script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id477> script> jQuery(function($) { //setup default options, then use ui properties, if they exist... var uiprops {}; //only use the correct ui properties if they properly defined, else use component defaults. if(CCRZ.uiProperties && CCRZ.uiProperties.autoComplete && CCRZ.uiProperties.autoComplete.PRODUCT_SEARCH && CCRZ.uiProperties.autoComplete.PRODUCT_SEARCH.search_input){ uiprops CCRZ.uiProperties.autoComplete.PRODUCT_SEARCH.search_input; } var options _.extend( {minLength:3}, {delay:300}, {resultLimit:10}, {position: {collision:none flip}}, uiprops); CCRZ.pubSub.on(view:productSearchView:refresh,function(){ $(.search_input).each(function(){ var elem $($(this).get(0)); if (!elem.hasClass(ui-autocomplete-input)) { elem.autocomplete({ source: function( request, response ) { Visualforce.remoting.Manager.invokeAction( ccrz.cc_ctrl_AutoComplete.searchAutoComplete, CCRZ.pagevars.remoteContext, request.term, options.resultLimit, PRODUCT_SEARCH, function(resp){ if(resp && resp.data){ response(resp.data); } }, {buffer:false,escape:false} ); }, open: function(){ setTimeout(function () { $(.ui-autocomplete).css(z-index, 99999999999999); }, 0); }, minLength: options.minLength, delay: options.delay, position: options.position }); } }); }); }); /script> script idproductSearchTemplateDesktop typetext/template> {{#ifDisplay H.DisplSearch}} div classnavbar-form cc_navbar_form rolesearch> div classinput-group cc_input-group> input idsearchText typetext classform-control search_input cc_search_input placeholder{{pageLabelMap ProductSearch}} title{{pageLabelMap ProductSearch_Tooltip}} data-triggerfocus autocompleteoff> span classinput-group-btn> button iddoSearch classbtn btn-default search_button typeSubmit>i classfa fa-search aria-hiddentrue>/i>/button> /span> /div> /div> span idcc_search_error data-triggermanual data-placementbottom data-content{{pageLabelMap ProductSearch_Tooltip}}>/span> div classsearchTopBarErrorMessage searchBoxWidgetError >/div> {{/ifDisplay}} /script> script> jQuery(function($) { use strict; /** * Models */ CCRZ.models.productSearchModel Backbone.Model.extend(); /** * Views */ CCRZ.views.productSearchView CCRZ.CloudCrazeView.extend({ templateDesktop : CCRZ.util.template(CCRZ.uiProperties.productSearchView.desktop.tmpl), templatePhone : CCRZ.util.template(CCRZ.uiProperties.productSearchView.phone.tmpl), viewName : productSearchView, events:{ click #doSearch : doSearch, keyup #searchText : enterPress }, init : function(){ this.render(); }, renderDesktop : function(){ this.$el.html(); this.setElement($(CCRZ.uiProperties.productSearchView.desktop.selector)); var modeljson this.model.toJSON(); var searchhtml this.templateDesktop(modeljson); this.$el.html(searchhtml); if(CCRZ.disableAdaptive) { // initialize popover/tooltip $(#doSearch).popover(); } }, renderPhone : function(){ this.$el.html(); this.setElement($(CCRZ.uiProperties.productSearchView.phone.selector)); this.$el.html(this.templatePhone(this.model.toJSON())); }, enterPress : function(e){ var code e.which; // recommended to use e.which, its normalized across browsers if(code13)e.preventDefault(); if(CCRZ.disableAdaptive) { $(#cc_search_error).popover(hide); } if(code13){ this.doSearch(e); } }, doSearch : function(event){ if(this.validateSearchInput()){ var searchText $.trim($(#searchText).val()); var URL CCRZ.buildQueryString(this.model.get(defaults).page + ?operationquickSearch&searchText+encodeURIComponent(searchText)); window.location.href URL; } }, validateSearchInput : function(){ var v this; var srchInput $(#searchText); var srchVal false || (srchInput.val()?srchInput.val().trim():false); if(srchVal && srchVal.length > 1 ){ $(.searchBoxWidgetError).toggle(false); return true; } else { if(CCRZ.disableAdaptive) { $(#cc_search_error).popover(show); } else { $(.searchBoxWidgetError).text(CCRZ.pagevars.pageLabelsProductSearch_Tooltip); $(.searchBoxWidgetError).toggle(true); } return false; } } }); CCRZ.productSearchModel new CCRZ.models.productSearchModel({ defaults : { page : CCRZ.pageUrls.productList, currentCartId: CCRZ.pagevars.currentCartID } }); CCRZ.productSearchView new CCRZ.views.productSearchView({ model : CCRZ.productSearchModel }); }); /script>/span>span idloginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:j_id489> script idSiteLogin-Desktop typetext/template> div classmessagingSection-Error styledisplay: none>/div> div classmessagingSection-Info styledisplay: none>/div> div classmessagingSection-Warning styledisplay: none>/div> {{#ifDisplay Login.DsplReg}} div classpanel panel-default cc_panel cc_register_account> div classpanel-heading cc_heading> h3 classpanel-title cc_title>{{pageLabelMap SiteLogin_NewCustomers}}/h3> /div> div classpanel-body cc_body> p classcc_create_account>{{pageLabelMap SiteLogin_CreatingAccount}}/p> div classform-group> input typebutton classbtn btn-default btn-sm register cc_register value{{pageLabelMap SiteLogin_CreateAccount}}/> /div> /div> /div> {{/ifDisplay}} div classpanel panel-default cc_panel cc_user_login> div classpanel-heading cc_heading> h3 classpanel-title cc_title>{{pageLabelMap Component_ExistingCustomer_ExistingCustomer}}/h3> /div> div classpanel-body cc_body> p classcc_login>{{pageLabelMap SiteLogin_HaveAccount}}/p> form idloginFormDsk classcc_login_form> div classrow> div classcol-md-5> div classform-group> label classsr-only foremailField>{{pageLabelMap SiteLogin_UsernameEmail}} */label> input idemailField nameemailField typeemail classloginInput form-control cc_login_input value{{displayUsername}} title{{pageLabelMap SiteLogin_UsernameEmail}} placeholder{{pageLabelMap SiteLogin_UsernameEmail}} */> /div> /div> div classcol-md-5> div classform-group> label classsr-only forpasswordField>{{pageLabelMap SiteLogin_Password}} */label> input idpasswordField namepasswordField typepassword classloginInput form-control cc_password_input placeholder{{pageLabelMap SiteLogin_Password}} */> /div> /div> div classcol-md-2> input typebutton idsend2Dsk classbtn btn-default btn-sm cc_login_button value{{pageLabelMap Component_SiteHeader_Login}} /> /div> /div> div classrow> div classcol-md-12> p classcc_forgot_password>a hrefjavascript:void(0); classforgotPass cc_forgot_pass>{{pageLabelMap ForgotPassword_ForgotPassword}}/a>/p> /div> /div> /form> /div> /div> /script>script>jQuery(function($) { CCRZ.models.SiteLogin CCRZ.CloudCrazeModel.extend({ init : function(callback) { callback(); } }); Handlebars.registerHelper(displayUsername, function() { if(_.isUndefined(loginUsername)) { return ; } return _.unescape(loginUsername); }); CCRZ.views.loginView CCRZ.CloudCrazeView.extend({ templatePhone : CCRZ.util.template(CCRZ.uiProperties.loginView.phone.tmpl), templateDesktop : CCRZ.util.template(CCRZ.uiProperties.loginView.desktop.tmpl), viewName : loginView, events : { click #send2Dsk : doLoginDsk, click #send2Ph : doLoginPh, keyup .loginInput : enterPress, keyup .contactInput : enterPress, click .forgotPass : gotoForgotPassword, click .register : gotoSecureRegistration }, init : function(){ var v this; v.model new CCRZ.models.SiteLogin(); v.model.init(function() { v.render(); if (v.getURLParameter(registrationSuccess) true) { CCRZ.pubSub.trigger(pageMessage, CCRZ.createPageMessage(INFO, messagingSection-Info, SiteLogin_ThankYouForRegistering)); } }); }, getURLParameter : function(name) { return decodeURI( (RegExp(name + + (.+?)(&|$)).exec(location.search)||,null)1 ); }, render : function(){ var v this; if(CCRZ.display.isPhone()){ this.setElement($(CCRZ.uiProperties.loginView.phone.selector)); this.$el.html(this.templatePhone(v.model.toJSON())); }else{ this.setElement($(CCRZ.uiProperties.loginView.desktop.selector)); this.$el.html(this.templateDesktop(v.model.toJSON())); } var qsErr queryString(error); if(qsErr && _.isArray(qsErr)){ var errorStr _.escape(qsErr0); if(errorStr){ CCRZ.pubSub.trigger(pageMessage, CCRZ.createPageMessage(ERROR, messagingSection-Error, errorStr)); } } var qsInfo queryString(message); if(qsInfo && _.isArray(qsInfo)){ var infoStr _.escape(qsInfo0); if(infoStr){ CCRZ.pubSub.trigger(pageMessage, CCRZ.createPageMessage(INFO, messagingSection-Info, infoStr)); } } CCRZ.pubSub.trigger(view:+this.viewName+:refresh, this); }, renderViewChanged: function() { if(this.viewChanged()) { this.render(); } }, viewChanged: function() { if(this.currentView ! CCRZ.display.currentView) { this.currentView CCRZ.display.currentView; return true; } return false; }, enterPress : function(e){ var code e.which; // recommended to use e.which, its normalized across browsers if(code13)e.preventDefault(); if(code13||code186){ if(CCRZ.display.isPhone()){ this.doLoginPh(e); }else{ this.doLoginDsk(e); } } }, doLoginDsk : function(event){ this.doLogin(#loginFormDsk,event); }, doLoginPh : function(event){ this.doLogin(#loginFormPh,event); }, doLogin : function(frmTarg, event){ var loginForm $(frmTarg).serializeObject(); var view this; CCRZ.headerView.doLogin(loginForm.emailField, loginForm.passwordField, function(error){ CCRZ.pubSub.trigger(pageMessage, CCRZ.createPageMessage(ERROR, messagingSection-Error, _.escape(error))); }); }, gotoForgotPassword: function(event) { forgotPassword(); }, gotoSecureRegistration: function(event) { var secureUrl (||CCRZ.pagevars.storeSettings.Site_Secure_Domain__c).trim(); if(0 ! secureUrl.indexOf(https://)){ secureUrl https://+secureUrl; } secureUrl secureUrl + /ccrz__CCSiteRegister + ?cartId + CCRZ.headerModel.get(cartId)+getCSRQueryString(); if(CCRZ.getPageConfig(UR.DirLogin, true) && CCRZ.pagevars.queryParamsstartURL){ secureUrl+ &startURL+ CCRZ.pagevars.queryParamsstartURL; } window.location secureUrl; } }); CCRZ.loginView new CCRZ.views.loginView(); if(!CCRZ.disableAdaptive) { CCRZ.dynamicViews.push(CCRZ.loginView); }});/script>/span>script src/ccrz__PageLabels?storefrontB2BCochez&pageNameCCSiteLogin&userLocaleen_US&pageKey&trg typetext/javascript>/script>script typetext/javascript src/resource/1707576375000/ccrz__CCRZ_JS/v004/boot3/ccrz-libse-min.js>/script> /body> /html>script typetext/javascript>Sfdc.onReady(function(){ SfdcApp && SfdcApp.Visualforce && SfdcApp.Visualforce.VSManager && SfdcApp.Visualforce.VSManager.vfPrepareForms(loginPage:cc_tmpl_OneColRD:cc_tmpl_Storefront:phoneLoginForm);});/script>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]