• Resolved joriskrawczyk

    (@joriskrawczyk)


    Hello,

    First, I would like to thank you for your great plugin, it is a pleasure to use it.

    I write you this message because I am facing an issue with it, the order-info section (especially the info-list ul) is showing for one delivery (order number, date, phone number, email, etc.) but it is empty for all the clients who chose the second delivery method. I guess this part of code is concerned…

    		<ul class="info-list">
    			<?php
    			$fields = apply_filters( 'wcdn_order_info_fields', wcdn_get_order_info( $order ), $order );
    			?>
    			<?php foreach ( $fields as $field ) : ?>
    				<li>
    					<strong><?php echo wp_kses_post( apply_filters( 'wcdn_order_info_name', $field['label'], $field ) ); ?></strong>
    					<span><?php echo wp_kses_post( apply_filters( 'wcdn_order_info_content', $field['value'], $field ) ); ?></span>
    				</li>
    			<?php endforeach; ?>
    		</ul>

    Could you help us to figure out what is going on?

    Thanks in advance!

    JK

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The info-list content is empty for shipping’ is closed to new replies.