• Resolved jimbo777

    (@jimbo777)


    Hi,

    Thanks for a great plugin.

    Up to this point, we have used the default woocommerce sorting feature and have already sorted 100s of subcats. After activating your plugin, the order which our products are in right now though gets completely messed up and several 100s of subcategories are affected by this which means that remedying the sort order problem manually would consume many hours if not days.

    So basically I am looking for a way to SAVE our current sort order, then activate your plugin and then RESTORE the previously saved order again. In other words, I am looking for a way to activate your plugin without causing too many changes to the way products are currently sorted. Any suggestions?

    Thanks,
    Chris

Viewing 8 replies - 1 through 8 (of 8 total)
  • visi19

    (@visi19)

    Hello @jimbo777

    Thanks you for reaching us !

    No, unfortunately we do not have something saved in our plugin.
    Most likely Woocommerce together with our plugin are not compatible to do this together and that is the reason why your order was broken.
    Thank you for your understanding and we apologize for this!

    Please let me know if you have some more questions !

    Have a nice day ! ??

    Warmly,
    Marian

    Thread Starter jimbo777

    (@jimbo777)

    I can think of 2 work arounds to achieve what I need:

    a, allow for “Reset” of Products without deactivating plugin
    b, “Skip” sorting after plugin is activated for Products

    on line 455 in simple-custom-post-order.php:

    I am wondering if removing this would skip your initial re-sorting….

    $where = preg_replace("/p.post_date < \'[0-9\-\s\:]+\'/i", "p.menu_order > '" . $post->menu_order . "'", $where);

    … need to play around with it I guess.

    Plugin Author Razvan Aldea

    (@raldea89)

    Hello @jimbo777 ,

    Just tested what you said, about the plugin messing up the order of the products, but could not replicate what you are experiencing. If Products are not included in the plugin’s post types it won’t enter in the code you sent above ( in the ordering process ) thus not doing the ordering and keeping the WooCommerce’s own sorting.

    Also, the plugin has the option to reset the order that was set ( setting menu_order to 0 and removing the post type from the plugin’s active post types to be ordered list ).

    Or maybe we didn’t understand exactly what the problem you are experiencing is.

    Hope this helps,
    Best Regards!
    Razvan

    Thread Starter jimbo777

    (@jimbo777)

    > Also, the plugin has the option to reset the order that was set ( setting menu_order to
    > 0 and removing the post type from the plugin’s active post types to be ordered list ).

    Yes reset fixes it and restores previous product order but unfortunately this appears to disable the plug-in. I am looking for a solution to reset to previously defined product order while keeping plugin active for post type = products. Any suggestions?

    Thanks,
    Chris

    Plugin Author Razvan Aldea

    (@raldea89)

    @jimbo777 if this is the situation, why don’t you continue to use WooCommerce’s sorting functionality for products? I am trying to understand more about this specific situation so that we can come with a solution if possible or a future update.

    Best Regards!
    Razvan

    Thread Starter jimbo777

    (@jimbo777)

    Well, frankly we have a build in PREVIOUS / NEXT product navigation but it is not working properly with Woocommerce sort order. I check and it seems that it is working perfectly with SCPO however. So I wanted to switch to SCPO because of this. I wish I had found SCPO prior to manually sorting 100s of products in 100s of categories. ??

    Plugin Author Razvan Aldea

    (@raldea89)

    @jimbo777 tried again, with the sorting from WooCommerce then activating products post type in our plugin, but is sees the menu order set by WooCommerce. Something is going on there but I can’t tell what as I can’t replicate the issue. Could you tell us what theme/plugins you are using? It may be a conflict.

    I am really sorry that you have encountered this ??

    Best Regards!
    Razvan

    Miha

    (@mplusb)

    Marking this support thread as resolved due to inactivity. If you have any other questions or need further help please open a new thread.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to save current product order and restore it after plugin activation?’ is closed to new replies.