Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #15704

    Q1. If I create a order, and hit Checkout, i have text behind the Form´s

    The annoing text is comming from this sentens in woocommerce/templates/cgeckut/form-billing.php

    <p><?php _e(‘Create an account by entering the information below. If you are a returning customer please login with your username at the top of the page.’, ‘woocommerce’); ?></p>

    To see it, please select an item in the shop, and go to checkout.

    https://shop.jed.dk/index.php/kasse/

    In Chrome the text is placed to the left of “Phone”

    In IE9 the text is placed on top of the forms

    In IE9 Compt. mode the text is placed below the forms before password fields, and then my Productmenu looks ugly…

    Does anyone have a sugestion to, where and how I change the posision of this text. I would like to get the text below the Account Password fields if possible.

    Q2. How and where do I change Company name to mandatory ?

    Q3. Can I add more fields to this form I need the costumer to add there Company WAT number.

    Thanks in advance

    /Jesper

    #88701

    I think you can use following code to override the standard company field attributes:

    // Hook in
    add_filter( 'woocommerce_checkout_fields' , 'inoplugs_override_checkout_fields' );

    // Our hooked in function - $fields is passed via the filter!
    function inoplugs_override_checkout_fields( $fields ) {
    $fields['billing']['billing_company']['required'] = true;
    $fields['shipping']['shipping_company']['required'] = true;
    return $fields;
    }

    You can add the code to the bottom of functions.php.

    2) I think this extension WooCommerce VAT will help you.

    #88702

    Thanks Dude, you are briliant :-)

    Company name is now mandatory, thanks.

    2) I do not sell out of our country, so a Mandatory extra field (like phone number) would have been great. However I will have a look at the VAT Extension. Thanks.

    How about my first issue, the text on top of the fields, will I be able to move this as well eg above the form (and how)?

    You will see the text clealy when using IE, and the text will float arround when using Chrome depent on what you type in in other fields.. If you eg. type all (but Companyname) and hit Place order, the text is split.

    This is the ugly text: “Opret en konto ved at udfylde informationerne nedenfor. Hvis du er eksisterende kunde, log da venligst ind med dit brugernavn i toppen af siden.”

    I hope you can help me out here.

    Thanks in advance

    /Jesper

    EDIT:

    btw, my struggle with the text came after updating Woocommerce 1.6.4 and Propulsion to 1.5.

    I Just found that WooCommerce in the meantime have released a version 1.6.5.1, I will do an update, and see if this solve my problem with the “lose” text on my Checkout page.

    I wil keep you updated.

    /Jesper

    #88703

    Update

    I have now updated woocommerce to 1.6.5.1, but it dident solve the problem with the “Wild text” on the checkout page..

    Any ide how to solve that?

    thanks

    /Jesper

    #88704

    Hey Jesper,

    Try adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:

    #top.woocommerce-checkout .container .clear {
    clear: both;
    }

    The previous clear fix you have in your custom.css I think might still be needed but this will change it only for the checkout page. Add that in there and see if it helps solve the text issue.

    Regards,

    Devin

    #88705

    Hi Devin

    Working like a charme :-)

    (A little corerction to a erlier post, I updatet the theme to 1.6 of cource:-))

    Thanks a lot for your help Devin…

    /Jesper

    #88706

    Hi Jesper,

    Glad that Devin helped you. :)

    Cheers,

    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Strugling with the layout on my Checkout page (Propulsion)’ is closed to new replies.