• Resolved flexaftale

    (@flexaftale)


    I am having some issues with the plugin. I have a number of items that need to be sent to a specific supplier, so I have tagged them with “Inclusive” and are splitting orders, that contain these items. Unfortunately auto-splitting the orders is not working very well for me, because it does not look very nice on the order receipt page and I need all products to appear on the same summary. So I am trying to do the split AFTER the purchase, and I have checked the box “Orders List Page” under “Cron jobs” and also checked the order status “On hold” since I am testing with this order status. To my understanding it should split orders that contain “Inclusive” products, when I run that cron job, but nothing happens. Am I misunderstanding the functionality? And if I am misunderstanding, is there any other way to achieve this?

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Support acrobaticsjs

    (@acrobaticsjs)

    @flexaftale we have reproduced the issue on our end, it we will be resolved soon. You will be informed about the update.

    Thanks

    Plugin Support acrobaticsjs

    (@acrobaticsjs)

    @flexaftale we have release an improved version. Please update the plugin.

    Thread Starter flexaftale

    (@flexaftale)

    Hi! Thanks for the quick reply. I still can’t get it to split the order by using the cron url (?wc_os_cron_jobs). Do you have any suggestions?

    Plugin Support acrobaticsjs

    (@acrobaticsjs)

    Please make sure that Auto Split is turned ON and you have not changed anything Advanced Settings > Cron Jobs / Action Hooks section.

    Thread Starter flexaftale

    (@flexaftale)

    But if I turn Auto Split ON, then it will divide the orders on the order receipt page, and it does not look nice. So I would prefer if I could make the split AFTER the purchase, so the customer will see a single order summary on the receipt page but the order will still be split into two orders.

    Plugin Support acrobaticsjs

    (@acrobaticsjs)

    @flexaftale you can hide splitted orders on thank you page / receipt page. You can also use other action hooks from Advanced Settings > Cron Jobs / Action Hooks tab.

    By default, woocommerce_thankyou will be used.

    Thread Starter flexaftale

    (@flexaftale)

    Yes, but then the customer can’t see the item in the splitted order on the receipt page?

    I already checked “woocommerce_order_status_on-hold”, which is the status my test orders will get. But it still does not split the order when I run the cron job.

    Plugin Support jQuery Acrobatics

    (@jqueryacrobatics)

    @flexaftale so when default hook is thankyou then order receipt page should split, no further cron is required. Please do not be confused with the multiple options on settings page. In case you still need it to be assured, use your cron jobs area under your hosting panel.

    Thread Starter flexaftale

    (@flexaftale)

    @jqueryacrobatics I don’t want the order to be split on the thank you/receipt page, because the order summary looks bad, because it adds a new section below the original order summary and it does not fit my theme styling, and just generally looks bad. So I want the split to happen AFTER the thank you/receipt page. And I thought I could do this by enabling the hook “woocommerce_order_status_on-hold” and run the cron job, but it does not work. So I am looking for clarification on how to achieve this ?? I hope it makes sense.

    Plugin Support Coding Champion

    (@codingchamp)

    There is an option to keep the split information hidden in thank you page, so inly original order will appear there. Maybe you need to enable it.

    About using other hooks to trigger split, you have to be sure about when actually those events happen.

    Thread Starter flexaftale

    (@flexaftale)

    But then the split order will be hidden from the thank you/receipt page. The customer needs to see all the items on the same summary, but I still need the order to be split backend. I tried to adjust my settings to see if I could auto-split on thank you/receipt page and display all items on the same summary, but the child order is hidden. You can see the settings I currently have here:
    https://ibb.co/6bWqJLx

    Thread Starter flexaftale

    (@flexaftale)

    @codingchamp @jqueryacrobatics @acrobaticsjs This is not resolved. Can you re-open the issue?

    Thread Starter flexaftale

    (@flexaftale)

    I guess I just need an option to keep all items on the same original order summary even though the order has been split. Is that possible?

    Thread Starter flexaftale

    (@flexaftale)

    To further explain what I mean, please see this screenshot of the receipt/thank you page:
    https://ibb.co/7jhQTt7

    In the screenshot I have purchased an item, that needs to be split. So on the thank you page, it will divide the orders into two separate order summaries. This looks very amateurish because of the different styling and missing translations (order, order number, product, payment method etc). I have also tried to translate these strings, but several are missing, so this is not an option either. I need the split item to appear on the same summary as the parent order.

    Thread Starter flexaftale

    (@flexaftale)

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Split orders with cron’ is closed to new replies.