You must be logged in to view the page.×

Needs update for 2.2.1

Moderator
Từ United States
Thành viên kể từ thg 10 2019

This module needs to be updated for 2.2.1.  It produced this error:
VQModObject::applyMod(related_products.xml) - Search not found in "": includes/templates/*.catalog/pages/product.inc.php(0) [SKIPPED]...

I found the line it was looking for in product.inc.php and corrected it in the vqmod, but then I received these errors:


Warning: Invalid sort method (rand) in ~/vqmod/vqcache/vq2-includes_functions_func_catalog.inc.php (Line 119)```

so it goes deeper than just that.

Also, in the instructions:
```4. Open ~/includes/templates/*.catalog/less/app/boxes.less in your favorite text editor.```

cannot be found in 2.2.1.  Is this for an older version? 

Finally, the formatting of the related products is off.  The class needs updating in box_related_products.inc.php
tim
Founder
Từ Sweden
Thành viên kể từ thg 5 2013
tim

I have published an update for 2.2.x.

Moderator
Từ United States
Thành viên kể từ thg 10 2019

Two things still need to be updated:

On line 17 of /includes/boxes/box_related_products.inc.php
'sort' => 'rand’,
needs to be changed to
'sort' => 'random',

Also, the width of the product boxes is still squashed.  I changed /includes/templates/default.catalog/views/box_related_products.inc.php
<div class="products row half-gutter text-center">
to 
<div class="products listing">

and the boxes now look like the others.

tim
Founder
Từ Sweden
Thành viên kể từ thg 5 2013
tim

Thank you :)

Bạn
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.