New Landing › How can we help? › Themeforest Theme Support › Neighborhood › 1m3 in place of 1
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
my client sell products in m3/Cube
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
hey Mohammead,
i did exactly what you say. but no change!!!
i also change the file rights to 755. but nothing please see pic.
Hi, I have done so please check . I made changes at review-order.php at /wp-content/plugins/woocommerce/templates/checkout/ .
thanks Mohammad
Hi, You most welcome . I’m glad that issue resolved . Thanks ๐ With Best Regards Swift Ideas
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
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' ); }
Hi Mohammad,
i put it on the bottom, see pic! after that i get a Blanco website. what i did wrong?
wp-content>themes>mytheme>functions.php
this is the file where i made the changes
Hi, Please put just before of ?> php close tag . Thanks
Hi,
i did exactely what you said, but get a blanco page! please see pic.
You must be logged in and have valid license to reply to this topic.