News:

Looking for documentation? Take a look on our wiki

Main Menu

Include support for search and order by gtin

Started by inode64, September 18, 2015, 12:24:16 PM

Previous topic - Next topic

inode64

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

Studio 42

Hi,
It's strange that this is missing in Core ! Hope a core developper check your post a day.

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/