Home › Forums › WooCommerce Personalized Product Options Manager (PPOM) › Re Order with previous order Personalized selected options and values › Reply To: Re Order with previous order Personalized selected options and values
November 14, 2017 at 7:09 am
#8060
Digitize Info System
Participant
Hello Najeeb,
I found there is one hook in plugin.class.php
add_filter ( 'woocommerce_add_cart_item_data', array ($this, 'add_product_meta_to_cart' ), 10, 2 );
/*
* Adding product meta to cart A very important function
*/
function add_product_meta_to_cart($the_cart_data, $product_id) {
I am also trying to do same like this for “Order Again”
add_filter ( 'woocommerce_order_again_cart_item_data', array ($this, 'add_product_meta_to_cart' ), 10, 2 );
But still I am not able to Add “Personalize Meta” to new order.
let me know if I am doing this right?
- This reply was modified 6 years, 10 months ago by Digitize Info System. Reason: code was not perfectly encoded