Undefined Variable:ship_to_different_address

This topic has 10 replies, 2 voices, and was last updated 7 years, 3 months ago ago by Rose Tyler

  • Avatar: brans2000
    brans2000
    Participant
    July 28, 2017 at 14:59

    My customers are seeing this notice when checking out, rather than the shipping fields:

    Notice: Undefined variable: ship_to_different_address in /home/kinderkr/public_html/wp-content/themes/royal/woocommerce/checkout/form-shipping.php on line 23
    type=”checkbox” name=”ship_to_different_address” value=”1″ />

    http://www.kinderkrowns.com/wp-content/uploads/2017/07/Capture.jpg

    Since installing your theme things have been buggy. I am still getting an error in the dashboard that was never there before: Notice: WP_Roles::reinit is deprecated since version 4.7.0! Use new WP_Roles() instead. in /home/kinderkr/public_html/wp-includes/functions.php on line 3831

    Please, contact administrator
    for this information.
    9 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 28, 2017 at 16:20

    Hello,

    I’ve sent new form-shipping.php and form-billing.php files. Please check email and try to replace files in /royal/woocommerce/checkout folder.

    Regards

    Avatar: brans2000
    brans2000
    Participant
    July 28, 2017 at 16:30

    That worked, but now the line that was under Billing Address and Shipping Address is now running through the middle of the text:

    http://www.kinderkrowns.com/wp-content/uploads/2017/07/Capture-1.jpg

    Please advise on how to fix.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 28, 2017 at 16:41

    Please add this code in custom css:

    .step-title:after {
        width: 70%;
        left: 30%;
    }

    Also, this will be fixed in new theme update, so you may delete this code then.

    Regards

    Avatar: brans2000
    brans2000
    Participant
    July 28, 2017 at 16:55

    That worked, thank you. I also noticed that the bullets for selecting shipping options are not lining up for some of the lines. Please see this image:

    http://www.kinderkrowns.com/wp-content/uploads/2017/07/Capture-2.jpg

    Please advise on how I can fix it. Thank you,

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 31, 2017 at 08:00

    Hello,

    What country may I select to see your shipping options?

    Regards

    Avatar: brans2000
    brans2000
    Participant
    July 31, 2017 at 14:24

    United States, thank you.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 31, 2017 at 14:51

    Please use:

    .shop_table .shipping td {
        width: 300px;
    }

    Regards

    Avatar: brans2000
    brans2000
    Participant
    July 31, 2017 at 16:14

    That didn’t seem to resolve it completely – FedEx Standard Overnight still has the button above it.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 31, 2017 at 16:23

    In this case, to add also

    .shop_table .shipping td label {
        font-size: 11px;
    }

    Regards

  • Viewing 10 results - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.