Skip to content

Commit

Permalink
[REF] website_sale: remove obsolete optional_products variable
Browse files Browse the repository at this point in the history
The variable is not used anymore.

This commit closes #21461
  • Loading branch information
Ivan Yelizariev authored and JKE-be committed Dec 6, 2017
1 parent f9a189e commit 8a99002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/website_sale/views/templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@
</div>
<t t-call="website_sale.cart_lines" />
<div class="clearfix" />
<a t-if="not optional_products and website_sale_order and website_sale_order.website_order_line" class="btn btn-primary pull-right mb32 mr8" href="/shop/checkout">
<a t-if="website_sale_order and website_sale_order.website_order_line" class="btn btn-primary pull-right mb32 mr8" href="/shop/checkout">
<span class="hidden-xs">Process Checkout</span>
<span class="visible-xs-inline">Checkout</span>
<span class="fa fa-long-arrow-right" />
Expand Down

0 comments on commit 8a99002

Please sign in to comment.