• Resolved 3XC

    (@sisintl)


    Hello,

    When using Smart Manager Pro to change the prices of products then click save the prices go back to the old price, the price changes don’t take. However, what it does instead is set the product to out of stock. I’m using the most recent version of the plugin and WooCommerce. Not sure what’s happening. Any ideas?

    https://ww.wp.xz.cn/plugins/smart-manager-for-wp-e-commerce/

Viewing 1 replies (of 1 total)
  • Plugin Author storeapps

    (@storeapps)

    Hi,

    With regards to the prices, please make sure that you are not trying edit the price / sale price of the variable parent as the same is automatically updated by WooCommerce.

    Further, with regards to the ‘stock’ getting updated, we have investigated and made a fix. Please follow the below steps:

    1) Go to your Smart Manager folder, open smart-manager-for-wp-e-commerce/sm/woo-json.php file.
    2) Find the below line in the code:

    if( version_compare( $woo_version, '2.4', ">=" ) ) {
                                                                $woo_prod_obj_stock_status->check_stock_status();
                                                            } else {
                                                                $woo_prod_obj_stock_status->set_stock($wpdb->_real_escape($postarr[$object]));
                                                            }

    and replace the same with the below code:

    if ( 'yes' === get_post_meta( $post_id, '_manage_stock', true ) ) {
                                                            if( version_compare( $woo_version, '2.4', ">=" ) ) {
                                                                $woo_prod_obj_stock_status->check_stock_status();
                                                            } else {
                                                                $woo_prod_obj_stock_status->set_stock($wpdb->_real_escape($postarr[$object]));
                                                            }
                                                        }

    3) Save the woo-json.php file.
    4) Refresh your Smart Manager dashboard page and have a recheck with the Smart Manager functionality.

    If still the issue persists, then request you to kindly mail us your WordPress site admin credentials along with short issue description at ‘support(at)storeapps(dot)org’ and we will investigate and resolve the issue.

Viewing 1 replies (of 1 total)

The topic ‘Does Not Update Prices’ is closed to new replies.