Comments Lee S Carter started the conversationMarch 16, 2021 at 4:35pmI've selected four products to used under a Composite product. However, each of these four products are Variable products themselves with each variation having a unique SKU. Can I do this and will the SKUs show on the checkout page? If so, how? 767Janilyn repliedMarch 17, 2021 at 10:34amHi Lee, Thank you for contacting WPClever Support Forum. We’ve received your ticket and assigned one of our developers to help you with that. He’ll be looking into your question and responding with specific instructions as soon as possible. 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 153Henry repliedMarch 18, 2021 at 11:49pmYou can use this code for display sku variation:add_filter( 'wooco_product_name', 'wooco_variation_product_name', 99, 2 );function wooco_variation_product_name( $name, $product ) { if ( $product->is_type( 'variation' ) ) { return $name= $name.' - '.$product->get_sku(); } return $name;}Best regards,Henry N. Sign in to reply ...
I've selected four products to used under a Composite product. However, each of these four products are Variable products themselves with each variation having a unique SKU. Can I do this and will the SKUs show on the checkout page? If so, how?
Hi Lee,
Thank you for contacting WPClever Support Forum.
We’ve received your ticket and assigned one of our developers to help you with that.
He’ll be looking into your question and responding with specific instructions as soon as possible.
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
You can use this code for display sku variation:
add_filter( 'wooco_product_name', 'wooco_variation_product_name', 99, 2 );
function wooco_variation_product_name( $name, $product ) {
if ( $product->is_type( 'variation' ) ) {
return $name= $name.' - '.$product->get_sku();
}
return $name;
}
Best regards,
Henry N.