Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
If the variant doesn't have an available date, 1/1/0001 12:00:00 AM shows in the box on the manage variants page. Shouldn't that be blank, like it is if product doesn't have an available date?
|
|
|
|
Rank: Advanced Member
Groups: Administrators, Developers, Registered, HelpDesk, Authorized User, Admin, System Joined: 10/11/2018(UTC) Posts: 110
Thanks: 19 times Was thanked: 18 time(s) in 18 post(s)
|
I am able to reproduce the issue in 9.0.6 and reported it to be fixed in a future version. If you want to apply the code change, here is the code to do this: Locate the following line inside LoadVariants method Code:Availability = variant.AvailabilityDate.ToString(),
and replace with Code:Availability = (!variant.AvailabilityDate.IsNullOrMin() ? variant.AvailabilityDate.ToString() : string.Empty),
|
1 user thanked nadeem for this useful post.
|
|
|
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 for the quick fix.
|
|
|
|
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.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close