• Resolved subwaytree

    (@matttyler007)


    Hi,

    How can I swap the fields for the delivery and billing address?
    Does anyone have an idea and a code instruction for this?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author priyankajagtap

    (@priyankajagtap)

    Hi @matttyler007,

    Thank you for sharing your requirements.

    The thing is, we are a bit unclear about your mentioned requirement. So could you please elaborate on it in detail? It would be great if you can share an example of it along with the screenshot. So we can check and assist you in a better way.

    Thread Starter subwaytree

    (@matttyler007)

    Hi priyankajagtap,

    My enquiry relates to these two address blocks:

    • billing address
    • delivery address

    And now the delivery address should be on the left and the billing address on the right, that’s all. You know what I mean? Please have a loot at this screenshot: https://postimg.cc/CB9f0LVw

    Thanks

    Plugin Author priyankajagtap

    (@priyankajagtap)

    Hi @matttyler007,

    Thank you for your reply along with the screenshot. It helped us to understand your requirement clearly.

    I’ve passed your request along to our development team, and we will work on providing you with a solution that meets your requirements.

    Plugin Author priyankajagtap

    (@priyankajagtap)

    Hi @matttyler007,

    Kindly put the below custom code to the “functions.php” file of your currently active theme. This will switch the position of the Billing and Shipping address fields on the invoice.

    /**
    * Add this code snippet in the functions.php file of your currently active theme.
    */
    function custom_code() {
    ?>
    <style>
    .billing-address {
    width: 50%;
    float: right;
    }
    </style>
    <?php
    }
    add_action( 'wcdn_head', 'custom_code', 20 );

    Once you have implemented this code, please check and let us know if it works as per your requirements.

    Please let us know the results and feel free to ask if you have any questions.

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