Posted: one year ago Quote
Long story short, I'm using OneVariant template for my Product details display because I want to have a pull-down menu for my users rather than the separate ProductsInGrid.  To me it's cleaner interface.  The product's single variant has multple variant attributes.

I set my Product's price=0 and each ProductVariantAttribute to equal the sale price.  So in my pulldown for the variant prices looks like:

$10.00 - 20 toothpicks
$20.00 - 50 toothpicks
...

I have the first attribute ($10.00 -20 toothpicks) set to Pre-Selected and the Enable Dynamic Price Update checked in Global Settings.

Everything works great EXCEPT when the products are displayed in the grid, it shows "From $0.00" as the price.

It should really be "From $10.00"  which is the $0 product price PLUS the $10 minimumVariant price.  

UPDATE:

I have a feeling no one will have an answer to this question.  I did find a simple work-around (albeit not pretty) by putting the low price in the admin comments for the variant and adding the code below to a strategic spot in the ProductBox1.ascx.cs code.  It works good enough.

if (finalPriceWithoutDiscountBase == decimal.Zero && productVariant.AdminComment != "")
{

                                    lblPrice.Text = "From " + PriceHelper.FormatPrice(decimal.Parse(productVariant.AdminComment));
                                    btnAddToCart.Visible = false;
}
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)