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
ray22901031  
#1 Posted : Wednesday, May 18, 2022 10:58:43 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 827

Thanks: 3 times
Was thanked: 13 time(s) in 13 post(s)
I'm under restrictions from Motorola because certain products have MAP pricing. When a product is set to "click to view price", and that product happens to be on special, the following behavior occurs.

Works great when reviewing the product in detail mode, but when the product is included in a grid,it shows the price. It should not show the price on the grid as well.

Using version 9.0.5.

Thanks


Price-Showing.jpg (754kb) downloaded 5 time(s). Price-NotShowing.jpg (1,339kb) downloaded 6 time(s).

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

nadeem  
#2 Posted : Wednesday, May 18, 2022 12:06:59 PM(UTC)
nadeem

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, Authorized User, Admin, System
Joined: 10/11/2018(UTC)
Posts: 109

Thanks: 17 times
Was thanked: 18 time(s) in 18 post(s)
For now, you can hide the special price from the listings by editing the Views/Product/_ProductItemPrice.cshtml file.

Locate the following line of code

Code:

if (!string.IsNullOrEmpty(Model.SpecialPrice))


and replace with

Code:

if (!string.IsNullOrEmpty(Model.SpecialPrice) && !Model.ShowPopupSecialPrice)


I have this reported to be fixed in a future version. Thank you!
ray22901031  
#3 Posted : Wednesday, May 18, 2022 2:50:27 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 827

Thanks: 3 times
Was thanked: 13 time(s) in 13 post(s)
Absolutely perfect, works like a charm.

Many thanks
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.