• Hi!

    I’m using BeTheme, WooCommerce and WooCommerce Germanized.

    I added the basket widegt in the right sidebar of the shop (Widget –> Plugin | WooCommerce).
    When i’m adding a variable product to the basket, in the widget at the right there is shown the product title and the variation behind the title.

    I would like to hide the variation in the title, because it’s listed under the title anyway.

    I tried to ad the following snippet to the functions.php, but it didn’t work.

    add_filter( ‘woocommerce_is_attribute_in_product_name’, ‘__return_false’ );

    Can you give me some advice, how to hide the variation in the title?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    > Can you give me some advice, how to hide the variation in the title?

    How about some custom CSS: dl.variation{display:none!important;}

    Result: https://d.pr/i/o9XxS4

    Kind regards,

    Thread Starter paulinka

    (@paulinka)

    Hi,

    wow, this is easy… ??

    Is it possible too, to ‘hide’ it in the title, but display the one we just hided with the css above?

    Thank you!

    Remi Corson

    (@corsonr)

    Automattic Happiness Engineer

    Hi there,

    Is it possible too, to ‘hide’ it in the title, but display the one we just hided with the css above?

    MMmmm… Can you please clarify this?

    Thread Starter paulinka

    (@paulinka)

    Hi Remi,

    I do not want to display the variaton in the product title, but under the product title.

    The advice you gave me is hiding it under the title, but still displays it in the title.

    To be exactly, it is attached to the title (product title – variation). That makes the title very long.

    You can try by yourself with this product (of course you first have to choose a variation and add it ot the basket):

    https://destijl.shop/shop/variables-produkt-tasche

    Thanks for your help!
    Paula

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Basket Widget – hiding variations in title’ is closed to new replies.