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 : Thursday, June 13, 2019 8:10:02 AM(UTC)
judy at Web2Market

Rank: Advanced Member

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

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
How can I obtain the product extended description for this page? I've tried Model.Product.ExtendedDescription and it is null, even though there is content. If I replace it with Model.Product.Sku, it works. The only way I could think of to obtain it was using Product product = AbleContext.Container.Resolve<IProductRepository>().Load(Model.Product.Id); then getting product.ExtendedDescription.

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

jdepoy24549696  
#2 Posted : Thursday, June 13, 2019 3:15:43 PM(UTC)
jdepoy24549696

Rank: Advanced Member

Groups: Authorized User, Developers, Registered
Joined: 4/17/2019(UTC)
Posts: 80

I got this to work by adding ExtendedDescription = product.ExtendedDescription in the ProductController.BuyProductDialog GET method
and then @Model.Product.ExtendedDescription in the _BuyProductDialog.cshtml.
MikeR  
#3 Posted : Friday, June 14, 2019 8:41:13 AM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hi,

I'd asked the developers to help on this and they indicated that is the correct solution.
Thank you for your support!
Mike Randolph
AbleCommerce.com
judy at Web2Market  
#4 Posted : Monday, June 17, 2019 6:31:25 AM(UTC)
judy at Web2Market

Rank: Advanced Member

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

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
It seems like it would be better for a merchant to add a few more product fields to the product model- it looks like it would be maybe a few more lines of typing. You're making it hard for them to customize when the data could be readily available. Merchants want data pieces in unusual places.
judy at Web2Market  
#5 Posted : Monday, June 17, 2019 6:37:46 AM(UTC)
judy at Web2Market

Rank: Advanced Member

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

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Thanks, Joy. I was hoping to do it without having to have code that would need to be recompiled to make it easier for merchants.
MikeR  
#6 Posted : Friday, June 21, 2019 10:58:16 AM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hello Joy and Judy,

What was the goal of this discussion?

Are we need a dedicated more details widget?
Thank you for your support!
Mike Randolph
AbleCommerce.com
Users browsing this topic
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.