s22_tech Moderator Từ United States Thành viên kể từ thg 10 2019 s22_tech 15 thg 1 2020 19:26 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 16 thg 1 2020 21:54 I have published an update for 2.2.x.
s22_tech Moderator Từ United States Thành viên kể từ thg 10 2019 s22_tech 16 thg 1 2020 22:58 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.