diff --git a/erpnext/templates/generators/item/item_add_to_cart.html b/erpnext/templates/generators/item/item_add_to_cart.html index 9d3ba3b7d4..1da4d15e32 100644 --- a/erpnext/templates/generators/item/item_add_to_cart.html +++ b/erpnext/templates/generators/item/item_add_to_cart.html @@ -45,31 +45,33 @@ {% endif %} -
-

Offers

-
- {% for offer in doc.offers %} -
-
- - - - - - + {% if doc.offers %} +
+

Offers

+
+ {% for offer in doc.offers %} +
+
+ + + + + + +
+

+ {{ _(offer.offer_title) }}: + {{ _(offer.offer_subtitle) }} + + {{ _("More") }} + +

-

- {{ _(offer.offer_title) }}: - {{ _(offer.offer_subtitle) }} - - {{ _("More") }} - -

+ {% endfor %}
- {% endfor %} -
+ {% endif %}