Home Forums WoodMart – Premium Template Show custom variation on product page after selection

This topic contains 1 reply, has 2 voices, and was last updated by Artem Temos Artem Temos 6 months, 1 week ago.

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



    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?

    Private Content Hidden


    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.


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

You must be logged in to reply to this topic.