PageSourceSearch

https://www.tena.com.mx/files/checkout5-dataLayerProducts.js

js tena.com.mx collected 2026-09-29 01:00:21 UTC 1,145 bytes, 32 lines download raw bytes

1$( document ).ready(function() {
2  
3  	setTimeout(function(){ 
4    
5	var items=vtexjs.checkout.orderForm.items;
6
7	$('#cart-to-orderform').click(function(e){
8	        e.preventDefault();
9	        var count=1;
10        	var objetoProducto={};
11
12        	for (var i = 0; i < items.length; i++) {
13            	var susc = items[i].attachments && items[i].attachments[0];
14            	if(!!susc){
15                	var valueProduct=items[i].name;
16                	var valueQuantity=items[i].quantity;
17                	var valueTime=susc.content["vtex.subscription.key.frequency"].replace("1 week", "Semanal").replace("1 WEEK", "Semanal").replace("2 week", "Quincenal").replace("2 WEEK", "Quincenal").replace("1 month", "Mensual").replace("1 MONTH", "Mensual").replace("2 month", "Bimestral").replace("2 MONTH", "Bimestral");
18
19                	objetoProducto['Producto'+count]=valueProduct;
20                	objetoProducto['Cantidad'+count]=valueQuantity;
21                	objetoProducto['Suscripcion'+count]=valueTime;
22                	count+=1;
23            	}
24        	}
25        	dataLayer.push(objetoProducto);
26	  });
27    
28      
29      }, 2000);
30});
31
32

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.