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 : Tuesday, November 14, 2023 11:58:13 AM(UTC)
judy at Web2Market

Rank: Advanced Member

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

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
A developer has added the following to the public class FeaturedProductsGridParams : ProductItemDisplayParams
in the ProductModel.


[Browsable(true), DefaultValue("~/Assets/BookSlider1.txt")]
[Description("Item Source File Path")]
[DisplayName("Slider File Path")]
public string SliderFile { get; set; }

When the widget is added to the inner template of the home page, the SliderFile value is saved OK- it shows when the parameters are reloaded in the admin.

The widget is used several times on the home page, but they all pick up the DefaultValue of ~/Assets/BookSlider1.txt, even though different ones are set in the admin. What else needs to be done?
Thanks

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

moizkiyani027991993  
#2 Posted : Wednesday, November 15, 2023 3:11:30 AM(UTC)
moizkiyani027991993

Rank: Newbie

Groups: Admin, HelpDesk, Developers, Registered
Joined: 3/31/2023(UTC)
Posts: 3

Was thanked: 1 time(s) in 1 post(s)
When you place a widget from a retail side it is page-specific and marked as customized.

when you made changes in the inner template from the admin side those changes were not reflected on the retail side.

To solve this go to
  • Admin -> Website -> Customized Pages -> Content Pages

Reset the Home Page to reflect the admin changes to the retail side.
judy at Web2Market  
#3 Posted : Wednesday, November 15, 2023 6:49:23 AM(UTC)
judy at Web2Market

Rank: Advanced Member

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

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Thanks. I hadn't known that someone had edited the home page from the store side. That fixed the parameters
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.