Home Forums WoodMart support forum Show custom variation on product page after selection

Show custom variation on product page after selection

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #106929

    eduits
    Participant

    Hi,

    I have a variable product, and each variation has it’s own SKU.
    When you make a selection on the product page, the variation SKU is shown.

    I also have a custom variation called: pa_apple-id
    With some attributes: MB985LL/A, MC118LL/A, MC371LL/A

    I would like to show the right variation attribute under the SKU value after they selected the product options. (just like the right sku is showing up)

    Add attribute

    In the meta.php is the php code for the sku showing up after product selections.
    <span class="sku_wrapper"><?php esc_html_e( 'SKU:', 'woocommerce'); ?> <span class="sku"><?php echo ( $sku = $product->get_sku() ) ? $sku : esc_html__( 'N/A', 'woocommerce' ); ?></span></span>

    Can you help me with this?

    #106940

    Artem Temos
    Keymaster

    Hello,

    Thank you for choosing our theme and contacting us.

    Sorry, but there is no such option in our theme and WooCommerce by default. It may require additional code customization or extra plugin but we don’t have an instruction for this. It is out of our theme support scope.

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)