I need to show the price between the qty field and the "add to cart" button on the product detail page.
I opened ProductTemplate.SingleVariant.cshtml and found the following code:
@{
var dataDictPrice = new ViewDataDictionary();
dataDictPrice.TemplateInfo.HtmlFieldPrefix = string.Format("price_{0}", defaultProductVariant.Id);
@Html.Partial("_ProductVariantPrice", defaultProductVariant.ProductVariantPrice, dataDictPrice)
var dataDictAddToCart = new ViewDataDictionary();
dataDictAddToCart.TemplateInfo.HtmlFieldPrefix = string.Format("addtocart_{0}", defaultProductVariant.Id);
@Html.Partial("_ProductVariantAddToCart", defaultProductVariant.AddToCart, dataDictAddToCart)
}
The price is coming from one file and the qty field + the "add to cart" button is coming from another. How can I do what I need to do?
I am using version 2.60
Thanks a lot.