View Single Post
  #93  
Old 05-01-2012, 05:33 PM
 
Marc Washburn Marc Washburn is offline
 

Advanced Member
  
Join Date: May 2004
Posts: 72
 

Default Re: X-Cart v4.4.5 released

Quote:
Originally Posted by cflsystems
Inventory update bug - inventory update will not update any variants as the search for them results in only one variant id returned.

Open /provider/inv_update.php and find

Code:
if (!empty($active_modules['Product_Options'])) { $vid = func_query_first_cell("SELECT $sql_tbl[variants].variantid FROM $sql_tbl[variants], $sql_tbl[products] WHERE $sql_tbl[variants].productid = $sql_tbl[products].productid AND ($sql_tbl[variants].productcode='$columns[0]' OR $sql_tbl[variants].variantid = '$columns[0]') ".$provider_condition); }

replace with
Code:
if (!empty($active_modules['Product_Options'])) { $vid = func_query_first_cell("SELECT $sql_tbl[variants].variantid FROM $sql_tbl[variants], $sql_tbl[products] WHERE $sql_tbl[variants].productid = $sql_tbl[products].productid AND ($sql_tbl[variants].productcode='$columns[0]' OR BINARY $sql_tbl[variants].variantid = '$columns[0]') ".$provider_condition); }
I have tried this manual patch and it is NOT working. I place orders for products in a variant chart and the inventory does not get updated.

Please advise how this can be fixed as 50% of our products are in variant charts.
__________________
Marc Washburn
Natural Bath & Body Shop
P.O. Box 2555
Tarpon Springs, FL 34688
marc@naturalbathandbodyshop.com
www.naturalbathandbodyshop.com

Mod Newbie
X-cart 4.4.5 - Now Live !!! Hurray!
X-cart 4.2.1 - Delicae Gourmet
Reply With Quote