Home Forums WoodMart support forum moving coupon position on cart page

moving coupon position on cart page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #340151

    doisjon
    Participant

    Hi,

    1.i want coupon field position on cart page move to above cart total as the picture show
    2. on checkout page does it possible to just load only coupon custom field, not the normal one first then reload to custom one. if not then how can i show only normal one.

    your support is appreciate

    #340228

    Luke Nielsen
    Keymaster

    Hello,

    1. To be able to move the coupon field above the cart totals, you should navigate to your theme folder and copy the “cart.php” file (woodmart\woocommerce\cart\cart.php) to your child theme (\woodmart-child\woocommerce\cart\cart.php).

    The related coupon PHP code (on the cart page) is located on the “cart.php” template at lines 145 to 152.

    https://monosnap.com/file/PzMpAoWQC30MFlLv1oQgBjCmp5zOyC

    Copy this code above the woocommerce_cart_totals() fucntion that is located at line 169.

    https://prnt.sc/23etv2p

    As well as add this custom CSS code to the “Global Custom CSS” area that is situated in Theme Settings -> Custom CSS.

    .coupon .input-text {
        width: 230px;
    }
    
    .coupon .button,
    .coupon .input-text {
        margin-bottom: 15px;
    }

    2. The reason is that the Checkout page is loading, so in the first second you see the coupon field without styles.

    https://gyazo.com/de41561fc1f4f86b90dabbeb015251d5

    Kind Regards

    #340386

    doisjon
    Participant

    hi,

    thanks for the answer.
    do you have any recommendation for multi-step woocomerece checkout plugin? or its best to find developer to do it?.
    Also how can i make the arrow owl-nav to stop moving and make it static with round border

    best regard

    Attachments:
    You must be logged in to view attached files.
    #340658

    Luke Nielsen
    Keymaster

    Hello,

    1. Will be better if you contact their support team because our theme is not relevant to this plugin.

    2. The HTML structure of the carousel allows changing arrows globally for each carousel item, but if you want to show arrows for a specific carousel, you should clarify which carousel always will be show arrows.

    Kind Regards

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