• How can I modify the woocommerce variation name in the cart page?

    I can modify the label using the filter “woocommerce_attribute_label” but I can’t find an equivalent to modify the actual value.

    Normally I ‘d use the template files, but this is all blocks now..

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @woakley,

    Thank you for reaching out.

    To modify the WooCommerce variation name on the cart page, you can use the ‘woocommerce_cart_item_name’ filter. This filter allows you to modify the product name in the cart.

    In that case, you’ll need a custom code to make these changes. While we do not provide assistance with custom code, I’d recommend running the exact question you’re asking, along with the code provided, through an AI platform like ChatGPT for recommendations.

    I hope this helps.

    Thread Starter woakley

    (@woakley)

    This doesn’t appear to do anything at all to the cart page.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    I can understand your concern, If you need more in-depth support or want to consider professional assistance for customization, I can recommend?WooExperts?and?Codeable.io?as options for getting professional help. Alternatively, you can also ask your development questions in the??WooCommerce Community Slack?as custom code falls outside our usual?scope of support.

    Thank you

    Thread Starter woakley

    (@woakley)

    I am a professional developer, I am simply trying to see if a hook exists or not, but it seems like this functionality is no longer possible with WooCommerce blocks.

    https://github.com/woocommerce/woocommerce/issues/38795

    Does WooCommerce have any plans to reintroduce this lost functionality for blocks?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.