•     // define the woocommerce_order_again_cart_item_data callback 
        function filter_woocommerce_order_again_cart_item_data( $array, $item, $order ) { 
            // make filter magic happen here... 
            return $array; 
        }; 
                 
        // add the filter 
        add_filter( 'woocommerce_order_again_cart_item_data', 'filter_woocommerce_order_again_cart_item_data', 10, 3 ); 

    We can’t get Custom options which we have created using this plugin in reorder from my account.

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

    (@pektsekye)

    Hello,

    The selected product options are saved as order meta with this function:

    
    wc_add_order_item_meta($item_id, $value['name'], $value['value']);
    

    in the file:
    wp-content/plugins/product-options-for-woocommerce/Model/Observer.php

    I think you should copy the order meta from the old order to the new order.
    So that the new order will have the same product options selected.

    Stanislav

Viewing 1 replies (of 1 total)
  • The topic ‘Options is not showing in cart if we add Reorder options from My account’ is closed to new replies.