Not Working
-
Not Working.
I tried to follow the instructions here Smart Manager [Syntax Error] issue Fix but not working.
Original codeif ($_POST['SM_IS_WOO21'] == "true") { include_once (WP_PLUGIN_DIR . '/woocommerce/includes/admin/class-wc-admin-duplicate-product.php'); // for handling the duplicate product functionality include_once (WP_PLUGIN_DIR . '/woocommerce/includes/class-wc-product-variable.php'); // for handling variable parent price include_once (WP_PLUGIN_DIR . '/woocommerce/includes/abstracts/abstract-wc-product.php'); // for updating stock status } else { include_once (WP_PLUGIN_DIR . '/woocommerce/admin/includes/duplicate_product.php'); }
—
Modified codeif ($_POST['SM_IS_WOO21'] == "true") { include_once (WP_PLUGIN_DIR . '/woocommerce/includes/admin/class-wc-admin-duplicate-product.php'); // for handling the duplicate product functionality include_once (WP_PLUGIN_DIR . '/woocommerce/includes/class-wc-product-variable.php'); // for handling variable parent price include_once (WP_PLUGIN_DIR . '/woocommerce/includes/abstracts/abstract-wc-product.php'); // for updating stock status } else if ($ _POST ['SM_IS_WOO21'] == "false") { include_once (WP_PLUGIN_DIR . '/woocommerce/admin/includes/duplicate_product.php'); }
help me!
thankshttps://www.ads-software.com/plugins/smart-manager-for-wp-e-commerce/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Not Working’ is closed to new replies.