• Resolved abdodev

    (@abdodev)


    Hello, thanks for the great addition. I have a problem, I am using the (product options for WooCommerce) extension, and its function is to add dropdown radio text field options, the problem now is that the inputs of this add. I have a request that does not appear to a driver only. Product name, price and payment method, how do I show this in the code I have tried and failed

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter abdodev

    (@abdodev)

    I mean this code

    do_action( ‘woocommerce_order_item_meta_start’, $item_id, $item, $order, false );

    wc_display_item_meta( $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped

    do_action( ‘woocommerce_order_item_meta_end’, $item_id, $item, $order, false );

    Thread Starter abdodev

    (@abdodev)

    Unfortunately, when adding it in more than one way to the ddwc-dashboard-shortcode.php file, no result appears on the driver order page.

    Help plz

    Plugin Author Robert DeVore

    (@deviodigital)

    I do not have access to the premium plugin you’re mentioning, but you can use the action hook below in order to add custom codes to the order details table.

    ddwc_driver_dashboard_order_details_table_tbody_bottom

    If the meta data you’re trying to display is specific to each product in the order, this would need to be looked into for a future release to add in code for custom meta data for each product.

    Can you let me know if the above action hook is what you need (for the order details table), or if you need the solution for meta data to be displayed with each product?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom fields’ is closed to new replies.