Skip to content

Commit

Permalink
shortmessage showing issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
codersaiful committed Feb 8, 2021
1 parent 77f98d1 commit 6118ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/ajax_add_to_cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ function wpt_render_meta_on_cart_and_checkout( $cart_data, $cart_item = null ) {
*/
function wpt_order_meta_handler( $item_id, $item, $order_id ) {
$values = $item->legacy_values;
//function wpt_order_meta_handler( $item_id, $values, $cart_item_key ) {

if( isset( $values['wpt_custom_message'] ) ) {
$msg_string = __( 'Message', 'wpt_pro' );
$args['item_id'] = $item_id;
Expand Down

0 comments on commit 6118ea8

Please sign in to comment.