Basket Image Should Be Of Version, When Available

Posted By shulemj Thu 30 Jun 2016
Add to Favorites1
Author Message
shulemj
 Posted Thu 30 Jun 2016
Supreme Being

Supreme Being - (58,779 reputation)Supreme Being - (58,779 reputation)Supreme Being - (58,779 reputation)Supreme Being - (58,779 reputation)Supreme Being - (58,779 reputation)Supreme Being - (58,779 reputation)Supreme Being - (58,779 reputation)Supreme Being - (58,779 reputation)Supreme Being - (58,779 reputation)

Group: Forum Members
Last Active: Thu 11 Jul 2019
Posts: 115, Visits: 565
Showing a little image near each item is a very nice feature (enabled via config:frontend.basket.showimages).

However, it would be a lot more attractive if the image would be pulled from the version (if product has more than one version and the version has an image; If not, it should fall back to the product.)

So I realize that Front/BasketView.ascx is using Templates/ProductTemplateImageOnly.ascx. ProductTemplateImageOnly is also used by "recent products", so I wouldn't dare manipulate it.


I was thinking that I should replicate it (along with the code-behind), and create the custom conditions, but don't know the how-to specifics.


Can anyone steer me in the right direction from here? (Or, maybe tell me that I'm playing with the wrong tools...)


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top