<% if variant.product.add_ons.any? %>
  <div class='pull-right'>
    <h5><%= Spree::AddOn.model_name.human(count: :many) %></h5>
    <% variant.product.add_ons.each do |add_on| %>
      <div class='line-item-add-on'>
        <label class='add-on-checkbox'>
          <%= hidden_field_tag(
            "#{item_form.object_name}[add_on_ids][]",
            nil,
            id: "#{"#{item_form.object_name}[add_on_ids][]".parameterize(sep='_')}_#{add_on.id}_hidden"
          ) %>
          <%= check_box_tag(
            "#{item_form.object_name}[add_on_ids][]",
            add_on.id,
            item_form.object.add_on_ids.include?(add_on.id),
            id: "#{"#{item_form.object_name}[add_on_ids][]".parameterize(sep='_')}_#{add_on.id}"
          ) %>
          <%= add_on.display_name %>
        </label>
        <span class='add-on-amount'>(<%= add_on.price_in(current_currency).display_amount %>)</span>
        <%= render 'spree/add_ons/add_on_description_modal', add_on: add_on %>
      </div>
    <% end %>
  </div>
<% end %>


<% if variant.product.add_ons.any? %>
  <div class='pull-right'>
    <h5><%= Spree::AddOn.model_name.human(count: :many) %></h5>
    <% variant.product.add_ons.each do |add_on| %>
      <div class='line-item-add-on line-item-add-on-<%= add_on.class.to_s.split('::').last %>'>
        <label class='add-on-checkbox'>
          <%= hidden_field_tag(
            "#{item_form.object_name}[add_on_ids][]",
            nil,
            id: "#{"#{item_form.object_name}[add_on_ids][]".parameterize(sep='_')}_#{add_on.id}_hidden"
          ) %>
          <%= check_box_tag(
            "#{item_form.object_name}[add_on_ids][]",
            add_on.id,
            item_form.object.add_on_ids.include?(add_on.id),
            id: "#{"#{item_form.object_name}[add_on_ids][]".parameterize(sep='_')}_#{add_on.id}"
          ) %>
          <%= add_on.display_name %>
        </label>
        <span class='add-on-amount'>(<%= add_on.price_in(current_currency).display_amount %>)</span>
        <%= render 'spree/add_ons/add_on_description_modal', add_on: add_on %>
      </div>
    <% end %>
  </div>
<% end %>


Add addon-class name to class
Add addon-class name to class

Now we use add-on as backup cd, but not show its description.
While we do not want to show description of backup cd, we want to show
description of others.
