VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: doorknob on July 13, 2008, 03:19:13 AM

Title: [FIXED] Bug in class/ps_product.php
Post by: doorknob on July 13, 2008, 03:19:13 AM
Lines 2557 & 2570 of ps_product.php have been recently updated to include product_in_stock but they still don't include product_url which will be required to fix the bug on line 2695 which loads the product_name into the product_url variable
                $featured_products[$i]['product_url'] = $db->f("product_name");

should be
                $featured_products[$i]['product_url'] = $db->f("product_url");
but will require that update to lines 2557 & 2570.

While you're there, how about adding product_full_image, which I use on my browse page (for a custom js rollover). I'm sure many others already make the same mod or would use it, if available.

Regards
Phil
Title: Re: [CONFIRMED] Bug in class/ps_product.php
Post by: gregdev on July 14, 2008, 19:29:23 PM
Thanks. Fixed in SVN rev. 1469.

Greg