New Landing How can we help? Atelier Coupon Display form on Checkout

Viewing 15 posts - 1 through 15 (of 22 total)
  • Posted in: Atelier
  • #186509
    diegobarloqui
    Member
    Post count: 25

    to whom it may concern,

    I want to show the coupon form directly on checkout page, similar as cart page.

    The idea, is to avoid the question on top, can you guide me how to do it, if is it posible.

     

    Thk.

    #186645
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You want to move the coupon field from the Cart page to the checkout page?

    If that’s it, it’s seems complex and could cause a lot of issues but only Woocommerce support can give you a more accurate reply about that since it’s controlled by the Woocommerce plugin.

    -Rui

    #187505
    diegobarloqui
    Member
    Post count: 25

    Rui,

    Nou, i don´t want to move the field from cart to checkout.

     

    I want to display the field directly in the checkout page, avoiding one click. To show the coupon field in the check out, you have to click the option on top of the page.

    Thk.

    #187514
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    What is your shop page where I can add some products?
    Tried several links but couldn’t find it.

    -Rui

    #187568
    diegobarloqui
    Member
    Post count: 25
    #187573
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Try to add the code below to your custom css option.

    
    .woocommerce-checkout .woocommerce .woocommerce-info:nth-child(4) {
      display: none;
    }
    
    .woocommerce-checkout  .woocommerce form.checkout_coupon{
    display:block!important;
    }

    -Rui

    #187593
    diegobarloqui
    Member
    Post count: 25

    Rui,

    Still showing the question, to do click.

    #187599
    diegobarloqui
    Member
    Post count: 25

    Nou, sorry.

    It´s working ok now!!!

    Thk, very much!!!

    Can i ask you another issue?

    Now, i would like to show the coupon form, at the bottom of the order-bill.

    Thank you.

    #187600
    diegobarloqui
    Member
    Post count: 25

    Rui, sorry.

    The previous issue, when we are logged-in, it´s not working.

     

    #187601
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    It’s not showing to me, you need to clear the cache.

    But because of and coupon layout issue you need to replace this code.

    .woocommerce-checkout  .woocommerce form.checkout_coupon{
    display:block!important;
    }

    by this one

    .woocommerce-checkout .woocommerce .checkout_coupon {
      display: block!important;
      clear: both;
    }

    This is just an css workaround the other way of doing it with js and php is outside of our support scope.

    -Rui

    #187625
    diegobarloqui
    Member
    Post count: 25

    Rui,

    I clear the cache and when we are loggen in, still showing the question.

    I think, is something wrong with this code. { (nth-child(4)) ??? }
    <div id=”crayon-558981046ecef423712251-2″ class=”crayon-line crayon-striped-line”>
    .woocommerce-checkout .woocommerce .woocommerce-info:nth-child(4) {
    display: none;
    }

    </div>
    <div id=”crayon-558981046ecef423712251-5″ class=”crayon-line”></div>
     

    #188428
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Will need user credentials to be able to login and check it while I’m logged in.

    Thanks

    -Rui

    #189214
    diegobarloqui
    Member
    Post count: 25

    Rui,

    Thank you for your assitance, I have solved this problem.

     

    #189420
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. glad it’s sorted.
    -Rui

    #189821
    diegobarloqui
    Member
    Post count: 25

    Rui,

    I solved the code requirement but I need some help on css.

    I want to show de coupon form below totals, (as I show on image attachment). I used this custom css code, but margin-top its wrong because on others device looks different.

    Could you help to set correctly? Thk

    .woocommerce-checkout .woocommerce .checkout_coupon {
    display: block!important;
    clear: both;
    width: 50%;
    float: right;
    border: 0;
    margin-right: -120px;
    margin-top:-585px;
    padding-left: 8px;
    padding-right: 25px;

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 22 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register