Skip to content

Commit

Permalink
Merge pull request #16 from tulimaki/fix-for-showing-discount
Browse files Browse the repository at this point in the history
Fix for showing discount on product box
  • Loading branch information
Pikkupomo authored Aug 28, 2016
2 parents 220235e + 09c630b commit 8d1ec6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
if __name__ == '__main__':
setuptools.setup(
name="shuup_megastore_theme",
version="1.0.7",
version="1.0.8",
description="Shuup Megastore Theme",
packages=setuptools.find_packages(),
include_package_data=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
{% if product|is_discounted %}
<div class="labels">
{% set discount_percent = product|discount_percent %}
<span class="sale-badge">{{ -discount_percent }}</span>
<span class="sale-badge">-{{ discount_percent }}</span>
</div>
{% endif %}
{% if show_image %}
Expand Down

0 comments on commit 8d1ec6c

Please sign in to comment.