Viewing 15 posts - 1 through 15 (of 22 total)
  • #74839
    omniama
    Member
    Post count: 18

    hey,

    i have a question.
    is it possible to put m3 by the checkout.
    in place of 1 = 1 m3.
    please see pic for more explanation
    thank you

    #74842
    omniama
    Member
    Post count: 18

    my client sell products in m3/Cube

    #75017
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit form-pay.php at /wp-content/themes/neighborhood/woocommerce/checkout/
    Change this code of line 46
    <td class=”product-quantity”>’ . $item[‘qty’].'</td>
    to
    <td class=”product-quantity”>’ . $item[‘qty’].’ m3</td>

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #75186
    omniama
    Member
    Post count: 18

    hey Mohammead,

    i did exactly what you say.
    but no change!!!

    i also change the file rights to 755.
    but nothing
    please see pic.

    #75190
    Mohammad – SUPPORT
    Moderator
    Post count: 27441
    This reply has been marked as private.
    #75228
    omniama
    Member
    Post count: 18
    This reply has been marked as private.
    #75245
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have done so please check . I made changes at review-order.php at /wp-content/plugins/woocommerce/templates/checkout/ .

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #75250
    omniama
    Member
    Post count: 18

    thanks Mohammad

    #75254
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome . I’m glad that issue resolved .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #75306
    omniama
    Member
    Post count: 18

    hey Mohamad,

    i have anther question.
    is it possible to get the word (per m3) after the price?
    please see the pic.

    thanks a lot for your support.
    great job

    #75309
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please put this code at functions.php

    add_filter( 'woocommerce_get_price_html', 'shak_price_html', 100, 2 );
    function shak_price_html( $price, $product ){
        return  $price.' per m3' );
    }

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #75317
    omniama
    Member
    Post count: 18

    Hi Mohammad,

    i put it on the bottom, see pic! after that i get a Blanco website.
    what i did wrong?

    #75322
    omniama
    Member
    Post count: 18

    wp-content>themes>mytheme>functions.php

    this is the file where i made the changes

    #75323
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please put just before of ?> php close tag .
    Thanks

    #75325
    omniama
    Member
    Post count: 18

    Hi,

    i did exactely what you said, but get a blanco page!
    please see pic.

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