When consignors ship goods consigned to order, but express in their bills of lading or shipping directions the name of the person to notify at the destination, it shall be the duty of the railroad company to give legal notice to that party in the same way and under the same rule as if the shipment had been made directly to him or her. However, when consignors do not comply with this condition, the railroad company shall give notice only to the consignors. At the expiration of free time, the carrier shall give notice thereof to the consignor.