I just did a stock upgrade from 4.6.3 to 4.6.4 and now I cannot add wholesale prices. It just returns me to the main product screen.
edit: this is on ly on the "wholesale prices" page, if i add wholesale prices to variants, it works ok.
edit2: Is this the reason why?? product_modify.php.diff
Code:
@@ -1290,7 +1332,7 @@
// Wholesale trading module
- if (!empty($active_modules['Wholesale_Trading']) && $product_info['is_variants'] != 'Y') {
+ if (!empty($active_modules['Wholesale_Trading']) && (!empty($product_info['is_variants']) && $product_info['is_variants'] != 'Y')) {
include $xcart_dir.'/modules/Wholesale_Trading/product_wholesale.php';
}