bleroy / Nwazet.Commerce

Idiomatic commerce module for Orchard CMS.
BSD 3-Clause "New" or "Revised" License
26 stars 21 forks source link

Pricing Tiers - No overload for method 'ToString' #74

Closed bleroy closed 8 years ago

bleroy commented 9 years ago

Originally reported by: Jon Veder (Bitbucket: jonvee, GitHub: jonvee)


Viewing a product with pricing tiers configured throws the following error:

orchard\Modules\nwazet.commerce\Views\Parts\Product.PriceTiers.cshtml Line: 18 <span class="inactive-price" style="text-decoration:line-through" title="@T("Was {0:c}", priceTiers[i].Price)">@priceTiers[i].Price.ToString("c")


bleroy commented 9 years ago

Original comment by Bertrand Le Roy (Bitbucket: bleroy, GitHub: bleroy):


Fixed by 2792b1eaa1a6