Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2916535
Product variations are not shown in case the slug converts a space to a dash
Closed

Comments

  • Paul de Bont started the conversation

    When adding general product properties, WooCommerce automatically converts the name into a slug. If you have a space in the name, it will be converted to a dash.

    However, WPC Variations Radio Buttons 2.5.4 does not show the variations in a selector (ddSlick or Select2) if you have a product with 2 product features.

    For example "Choice of Material" and "Choice of Length".
    WooCommerce converts the slug to "choice material" and "choice length"

    In that case, I do not get the product name in the selector with the variations in addition.

    If I remove the dashes in the slug, it works perfectly.

    It struck me that with 1 product feature it does not matter how many stripes there are in the slug.

    I bought other plugins from you. But no radio buttons for WPC variations yet

  •  767
    Janilyn replied

    Hi Paul,

    Thank you for contacting WPClever Support Forum. 

    We’ve received your report of issue. I have transferred your ticket over to our developers to detect the issue and find a solution. We will keep you posted when there is anything new.

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  1,226
    Dustin replied

    Hi Paul,

    In some cases, WooCommerce doesn’t show the attributes in the product name https://www.screencast.com/t/iU3bq77n

    Please add the below custom code (How to add custom code?)

    add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_true', 99 );

    Best regards,
    Dustin