• Resolved amandineart

    (@amandineart)


    Hi

    I have connected Lulu (on-demand printing website) to my Woocommerce store. After a few tests, an order from a client and one from me, it appears that Woocommerce doesn’t send orders to Lulu.

    Lulu support team said it is coming from the shipping address: it doesn’t have phone number and email in the shipping address. They asked me to make the phone number required in Wooc settings https://help.luludirect.lulu.com/en/support/solutions/articles/64000270781. They say the phone number should appear in the shipping address on checkout. For me it doesn’t appear.

    I have a 9.5.1 version but I don’t have the same screen as shown on that link. I can’t add a phone number on the shipping address fields. The phone number is already “required” in billing address.

    I have added code to add phone field in shipping address. It didn’t solve the problem as this additionnal field is not linked to the phone in billing. It is just another field.

    Who can help me please? Anyone having solved same issues?

    Amandine

    • This topic was modified 1 month, 3 weeks ago by amandineart.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @amandineart,

    I completely understand your concern. This issue occurs when users want to ship to a different address, even though the phone number field is enabled for the billing address.

    To resolve this, you can use a snippet of code to make the phone number field appear for the shipping address. While providing a specific working code is outside the scope of forum support, you can try the following code to see if it works for you. Keep in mind that the code may need adjustments depending on your theme and site setup.

    add_filter( 'woocommerce_checkout_fields', 'make_phone_number_required_for_shipping' );
    
    function make_phone_number_required_for_shipping( $fields ) {
        // Make phone number required for shipping
        $fields['shipping']['shipping_phone']['required'] = true;
        return $fields;
    }
    

    You can add this code either through the theme editor or by using a plugin that allows you to safely add custom code snippets.

    If this doesn’t work for you, there are plugins available to modify the checkout fields. Here’s a search query you can use to explore some options: Checkout field modifying plugins.

    Thread Starter amandineart

    (@amandineart)

    Hi Moses

    Thank you for your reply and solutions.

    The code doesn’t work for my website. But I have used a plugin.

    This doesn’t have fixed the issue from Lulu. I see with them for the moment.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    I understand your concern. I noticed that you’re currently using the classic checkout. For testing purposes, could you please replace the classic checkout with the block-based checkout? Then, try setting the phone field as required using the settings available in the Checkout block to see if that resolves the issue.

    I’ve created a short video to guide you on how to add the Checkout block and phone field as required.
    https://somup.com/cTVXfPdHMa

    Let me know if this works for you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.