Bit of a beginner to all this so please bear with me haha. I recently had the good luck to pick up where a previous developer finished up on an AbleCommerce shop and help manage the issues that have cropped up over the past months and years.
One of the key points to tackle was upgrading to the latest AbleCommerce release, which I am trying to accomplish as follows:
- Run shop in debug mode (VS2010)
- Perform upgrade
- Publish site back to IIS 7.5
Here's the usage:
Code: Select all
Merchandising product = MerchandisingController.Get(Merchandising.Columns.ProductID, _ProductId);
if (product != null)
{
//Set ISBN
setCustomInformation(product.Isbn, lblISBN, ISBNLocalize);
setCustomInformation(product.Author, lblAuthor, AuthorLocalize);
string currencySymbol = _Product.MSRP.ToString("ulc").Substring(0, 1);
//Set price
MemberPrice.Text = ProductHelper.ShopFormatedPrice(product.ProductID, product.Price);
NonMemberPrice.Text = ProductHelper.ShopFormatedPrice(product.ProductID, product.NonMemberPrice);
if (product.ConcessionPrice.HasValue)
{
ConcessionPrice.Text = ProductHelper.ShopFormatedPrice(product.ProductID,
product.ConcessionPrice.Value);
}
else
{
ConcessionLocalize.Visible = false;
ConcessionPrice.Visible = false;
}
...<SNIP>...
Just to add too, this was publishing just fine before the upgrade; perhaps I've hosed some changes that were made to an 'internal' file? I know there shouldn't have been custom code in any of those files, but hey, I'm not ruling anything out yet...

If anyone could give me a pointer on where to look for more help on the ProductHelper object, suggest an alternative/replacement, or even provide me with some idea of what the function does and how (if it is indeed a built in function?) I would be extremely grateful!
Thanks (and apologies if I've got any .NET nomenclature wrong, you may laugh at me guilt free
