Woocommerce order options in title - by boka003

This topic has 6 replies, 2 voices, and was last updated 6 years, 1 months ago ago by Rose Tyler

  • Avatar: boka003
    boka003
    Participant
    March 11, 2018 at 23:12

    Hi,

    I have problem whit Woocommerce orders.
    When someone order product from my site, it look like this: http://prntscr.com/ipus9z

    All order options come in title of order.
    Is anyone have this problem ?
    How i can fix this ?

    Thank You

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 12, 2018 at 10:14

    Hello,

    Contact WC plugin support to solve this situation, our theme does not affect it.

    Regards

    Avatar: boka003
    boka003
    Participant
    March 14, 2018 at 21:59

    Thank You.

    I try to contanct them, start topic on couple of forums, Stackoverflow etc. But no answer.

    I post here, mabey someone of forum user will know, mabey someone was have same issue.

    Thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 15, 2018 at 15:59

    You’re welcome!

    Regards

    Avatar: boka003
    boka003
    Participant
    March 18, 2018 at 22:09

    I found solution.

    I need to edit theme functions.php file.
    I need to add this in functions.php

    
    add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_false' );
    add_filter( 'woocommerce_is_attribute_in_product_name', '__return_false' );
    

    Is it safe to add this code ?
    Can i add it at the end of file or ?

    Thank You

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 19, 2018 at 09:17

    Hello,

    I would recommend you to add the code in functions.php file of child theme.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.