Skip to content

Commit

Permalink
fix: replace setWidth with ScaleWidth (#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr committed Apr 21, 2024
1 parent 7418c7a commit f9574fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/SilverShop/Cart/Cart.ss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<% if $Image %>
<div class="image">
<a href="$Link" title="<%t SilverShop\Generic.ReadMoreTitle "Click here to read more on &quot;{Title}&quot;" Title=$TableTitle %>">
$Image.setWidth(45)
$Image.ScaleWidth(45)
</a>
</div>
<% end_if %>
Expand Down
2 changes: 1 addition & 1 deletion templates/SilverShop/Cart/SideCart.ss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<% if $Product.Image %>
<div class="image">
<a href="$Product.Link" title="<%t SilverShop\Generic.ReadMoreTitle "Click here to read more on &quot;{Title}&quot;" Title=$Title %>">
<% with $Product %>$Image.setWidth(45)<% end_with %>
<% with $Product %>$Image.ScaleWidth(45)<% end_with %>
</a>
</div>
<% end_if %>
Expand Down

0 comments on commit f9574fe

Please sign in to comment.