• Resolved andersjytzler

    (@andersjytzler)


    Great plugin! A problem though; when i change the delivery days and delivery text in each product it works fine. But if i go back to the product, the old text is there, and if i then update the product, the old text is updated into the product.
    Any solution for this?
    I have the latest WooCommerce, WordPress and WooCommerce Estimated Shipping Date installed.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter andersjytzler

    (@andersjytzler)

    @pawdl had the same issue in another support question. So i used his solution:

    I found a work-around. In your class-product-settings.php file, I found the section:

    woocommerce_wp_text_input( array(
    ‘id’ => ‘wc_esd_date’,
    ‘label’ => __( ‘Estimated Time To Ship in Days’, ‘wcesd’ ),
    ‘description’ => __( ‘Insert how many days it will take to ship the product after purchase’, ‘wcesd’ ),
    ‘desc_tip’ => true,
    ‘type’ => ‘number’,
    ‘placeholder’ => 14,
    ‘value’ => 5,
    ) );

    I removed the line containing:
    ‘value’ => 5,

    It works for me. Thanks for the plugin!!

    I commented out the value line. And in the array below i changed the placeholder and value of “Estimated Delivery Date”, to my preferred text.

    Thanks, It helped me a lot!
    Would be nice to repair it.

    Hi. To me this is not working. The “estimated delivery date” sentence back over and over again after save the product and then when try to edit it again. I removed the ‘value’ => 5, but this not work. Any idea how to solve this?

    A bit tricky to discover how to fix the Bug.

    Thanks a Lot, It works just fine !

    I remove lines 62 and 70.

    woocommerce_wp_text_input( array(
    ‘id’ => ‘wc_esd_date’,
    ‘label’ => __( ‘Estimated Delivery Time in Days’, ‘wcesd’ ),
    ‘description’ => __( ‘Insert how many days it will take to deliver the product after purchase’, ‘wcesd’ ),
    ‘desc_tip’ => true,
    ‘type’ => ‘number’,
    ‘placeholder’ => 5,
    ‘value’ => 5,
    ) );
    woocommerce_wp_text_input( array(
    ‘id’ => ‘wc_esd_date_message’,
    ‘label’ => __( ‘Estimated Delivery Date Message’, ‘wcesd’ ),
    ‘description’ => __( ‘Insert your message’, ‘wcesd’ ),
    ‘desc_tip’ => true,
    ‘placeholder’ => ‘Estimated Delivery Date’,
    ‘value’ => ‘Estimated Delivery Date’,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Old text is inserted if i go back to edit product’ is closed to new replies.