fix: Wrong variable name breaks Cart Items rendering
diff --git a/erpnext/e_commerce/shopping_cart/cart.py b/erpnext/e_commerce/shopping_cart/cart.py
index a3f3c2d..12f82e3 100644
--- a/erpnext/e_commerce/shopping_cart/cart.py
+++ b/erpnext/e_commerce/shopping_cart/cart.py
@@ -288,7 +288,7 @@
 			)[0]
 			item_code = variant_data.variant_of
 			fields = fields[1:]
-			d.website_item_name = variant_data.item_name
+			d.web_item_name = variant_data.item_name
 
 			if variant_data.image: # get image from variant or template web item
 				d.thumbnail = variant_data.image
diff --git a/erpnext/e_commerce/shopping_cart/test_shopping_cart.py b/erpnext/e_commerce/shopping_cart/test_shopping_cart.py
index e634f23..8519e68 100644
--- a/erpnext/e_commerce/shopping_cart/test_shopping_cart.py
+++ b/erpnext/e_commerce/shopping_cart/test_shopping_cart.py
@@ -169,6 +169,9 @@
 
 		self.assertEqual(doc.get("items")[0].item_name, "Test-Tshirt-Temp-S-R")
 
+		# test if items are rendered without error
+		frappe.render_template("templates/includes/cart/cart_items.html", cart)
+
 	def create_tax_rule(self):
 		tax_rule = frappe.get_test_records("Tax Rule")[0]
 		try: