3

After Importing products using cart2cart, the product images will show everywhere EXCEPT on the product detail page

Grid view on "new items template"

Grid and List view on "product category page"

Within the admin, during search

during checkout in the mini cart and full cart

Where it DOES NOT show is on the product detail page. Unless I add a second image. Once a second image is added, it will display both in a gallery

The theme is a basic template based on "magento blank" with very few modifications (mainly css and a few xml settings to move or add blocks), there is no theme override on the product view page

I have tried

php bin/magento catalog:images:resize
asked Sep 19, 2018 at 19:04

1 Answer 1

0

Found my answer here

copy fotorama.js out of the default, into your theme

from

lib/web/fotorama/fotorama.js

into

app/design/frontend/{Vendorname}/{themename}/web/fotorama/fotorama.js

find the following function setOptions() {} and set if (size > 1) to if (size >= 1)

if (size >= 1) { // change this line
 o_nav = opts.nav;
 o_navTop = opts.navposition === 'top';
 classes.remove.push(selectClass);
 $arrs.toggle(opts.arrows);
} else {
 o_nav = false;
 $arrs.hide();
}
answered Sep 20, 2018 at 15:57

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.