Fix options_text displaying when there is no options_text

This commit is contained in:
Matt-Yorkley
2023-05-09 14:03:07 +01:00
committed by Konrad
parent 72e537b598
commit 5bbc63f716

View File

@@ -2,5 +2,5 @@
= "#{raw(line_item.variant.product.name)}"
- unless line_item.variant.product.name.include? line_item.name_to_display
%span= "- #{raw(line_item.name_to_display)}"
- if line_item.options_text
- if line_item.options_text.present?
= "(#{raw(line_item.options_text)})"