VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: inode64 on September 18, 2015, 12:24:16 PM

Title: Include support for search and order by gtin
Post by: inode64 on September 18, 2015, 12:24:16 PM
This useful for search ISBN and others...

TODO; Custom override for COM_VIRTUEMART_SEARCH_ORDER_PRODUCT_GTIN , ...

Joomla 3.3.4 and Virtuemart 3.0.9.x



--- /administrator/components/com_virtuemart/helpers/shopfunctions.php.old      2015-06-23 12:32:51.000000000 +0200
+++ /administrator/components/com_virtuemart/helpers/shopfunctions.php  2015-09-18 12:17:23.383633480 +0200
@@ -997,7 +997,7 @@
                        'product_price', '`p`.product_special', '`p`.product_sales', '`p`.product_availability', '`p`.product_available_date',
                        '`p`.product_height', '`p`.product_width', '`p`.product_length', '`p`.product_lwh_uom',
                        '`p`.product_weight', '`p`.product_weight_uom', '`p`.product_in_stock', '`p`.low_stock_notification',
-                       '`p`.modified_on',
+                       '`p`.modified_on', '`p`.product_gtin',
                        '`p`.product_unit', '`p`.product_packaging', '`p`.virtuemart_product_id', 'pc.ordering');

                        //other possible fields
Title: Re: Include support for search and order by gtin
Post by: Studio 42 on October 06, 2015, 21:20:10 PM
Hi,
It's strange that this is missing in Core ! Hope a core developper check your post a day.
Title: Re: Include support for search and order by gtin
Post by: Milbo on October 09, 2015, 08:44:06 AM
Added