logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy at Web2Market  
#1 Posted : Monday, October 25, 2021 12:38:56 PM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 289

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
I think this is a bug, but not sure.
In Gold, ConLib/ProductPrice.ascx.cs, starting line 360 it says:
//SHOW RETAIL PRICE IF INDICATED
if (_ShowRetailPrice && msrpWithVAT > 0 && !_Product.UseVariablePrice)
{
RetailPrice1.Text = string.Format(_RetailPriceFormat, msrpWithVAT.LSCurrencyFormat("ulc"));
}
wording in question is && !_Product.UseVariablePrice
In 9.0.5 ProductController.cs starting with line 1498:
//SHOW RETAIL PRICE IF INDICATED
if (parameters.ShowRetailPrice && msrpWithVAT > 0 && product.UseVariablePrice)
{
retailPrice1 = string.Format(parameters.RetailPriceFormat, msrpWithVAT.LSCurrencyFormat("ulc"));
}
It says && product.UseVariablePrice not && !product.UseVariablePrice

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Katie S  
#2 Posted : Wednesday, October 27, 2021 5:04:48 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 423

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi Judy,

Can you describe the issue in non-developer terms? Sorry :) I wish I could interpret the code to see the problem, but I can't...

Thanks for your support!

Katie
Secure eCommerce Software and Hosting
shaharyar  
#3 Posted : Friday, October 29, 2021 5:27:46 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 703

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
There is a bug in the code and this code never executes. We are displaying the retail price with an alternate approach.

I am reporting this as a bug.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.