A
A
Alexey Rahe2017-02-21 20:25:14
MODX
Alexey Rahe, 2017-02-21 20:25:14

Bug in Shopkeeper 3 on MODx?

I caught an extremely strange bug:
It is necessary to display an image in the shopping cart that is loaded in the tv field called product-image.
According to the documentation, I did it like this: I set the savePurchasesFields parameter of the Shopkeeper3 snippet to product-image. In the shopCartRow chunk added

<div class="img"><a href="" class="fancybox"><img src="" alt=""></a></div>

In the cart, the picture began to display perfectly, only ajax cart update began to give a 500 error when requesting /assets/components/shopkeeper3/connector_fe.php
As soon as I clear the savePurchasesFields parameter, the picture disappears, but the update is normal. I add any character to the parameter - it doesn't matter if the existing tv or not - falls off.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
roswell, 2017-02-21
@kindofbear

Ditch phpthumbof and install phpthumbon .

S
Stalker_RED, 2017-10-27
@Crushing

Instead style.width = 300, you need style.width = 300 + 'px';
UPD : decrease and increase by one and a half times on click https://jsfiddle.net/Lozdra47/7/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question