E
E
Eugene2015-05-11 11:07:47
opencart
Eugene, 2015-05-11 11:07:47

When adding a small photo in the cart is not displayed?

Help please, such a problem, when adding a product, the photo in the basket is not displayed, but I noticed this where the photo of the product is not square, as I understand it, you just need to set it up
somewhere dostupno24.com.ua/index.php?route=product/product& ... here you can see

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
marble, 2015-05-11
_

Kind of weird. Here is the Image from the cache, which should be in the basket pop-up window:
dostupno24.com.ua/image/cache/data/chehlu/IMG_5600...
And you have the original there, without resizing, as I understand it:
those. IMG_5600.JPG is the original image.
I selected the link to the cached 100x100 manually, using the width\height of the popup, i.e. the image is created, but the address itself is not correct, i.e. instead of the cached one, the original one with the wrong path is given, which causes the error. See what's happening here:
dostupno24.com.ua/ajax.php?action=notif&idProduct=73 , i.e. in the ajax.php script with the notif
action, you will return the original there, instead of the cached value:

<response>
<id>73</id>
<name>Бампер для iPhone 5, 5S (Метал)</name>
<image>data/chehlu/IMG_5600.JPG</image>
</response>

Here is the original dostupno24.com.ua/image/data/chehlu/IMG_5600.JPG

E
Eugene, 2015-05-11
@lansas

ajax.php script
https://cloud.mail.ru/public/4Pyb38doszLc/ajax.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question