Home Forums General News & Announcements How I can show ml option in the frond end along with product name

This topic contains 1 reply, has 2 voices, and was last updated by  Nayem 4 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43587

    vimal k
    Member

    Hi there,

    I wish to show product weight (ml) in the frond end. currently if I click on the “Additional Information” then only product product weight can see. Please help me to show product weight in the frond end along with product name.

    please go through this screenshot link: http://liquorsky.com/shop/wp-content/uploads/2015/05/152131564584.png

    Regards,
    vimal

    #43590

    Nayem
    Moderator
    Post count: 6480

    Hello,

    Please open Dokan-plugin/templates/edit/shipping.php file. In this file you will get this line – <label class="dokan-w4 dokan-control-label" for="_backorders"><?php _e( 'Weight (kg)', 'dokan' ); ?></label> you have to replace this line with this one- <label class="dokan-w4 dokan-control-label" for="_backorders"><?php _e( 'Weight (' . get_option( 'woocommerce_weight_unit' ) . ')', 'dokan' ); ?></label>.

    You will also see this line- <label class="dokan-w4 dokan-control-label" for="_backorders"><?php _e( 'Dimensions (cm)', 'dokan' ); ?></label>. You have to also replace this line with this one-<label class="dokan-w4 dokan-control-label" for="_backorders"><?php _e( 'Dimensions (' . get_option( 'woocommerce_dimension_unit' ) . ')', 'dokan' ); ?></label>.

    Thanks.

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

The topic ‘How I can show ml option in the frond end along with product name’ is closed to new replies.