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

    Hey there,

    I hope i can make my self clear without confusing you… After installing an extension for woocommerce to bundle products, the SKU stopped showing on the bundle products, I have contact woocommerce and this was their response.

    “I am attaching a file which will add the sku, please place this file inside your theme’s folder under WooCommerce/single-product/ folder

    <?php
    /**
    * Bundled Product Title
    */
    ?>
    <h2 class="bundled_product_title product_title"><?php
    $title = get_the_title( $product->id );
    echo ( ( $custom_title !== '' ) ? $custom_title : $title ) . ( ( $quantity > 1 ) ? ' &times; '. $quantity : '' );
    ?></h2>
    <div class="product_meta">';
    <span itemprop="productID" class="sku_wrapper">SKU: <span class="sku"><?php echo $product->get_sku(); ?></span></span>
    </div>

    Now the problem is that the theme, does not have that directory, I have tried creating the directory myself but it wouldn’t work.

    Example of regular product displaying SKU

    https://dreamroomshouston.com/product/ashley-bingo-multi-contemporary-area-rug/

    Example of bundle product NOT displaying SKU

    https://dreamroomshouston.com/product/solid-wood-espresso-staircase-bunk-bed/

    #136301

    Hi SixStar281,

    No, the theme doesn’t have one so it would need to be added. See: http://docs.woothemes.com/document/template-structure/ . Make sure your folder is just woocommerce and then the file inside is in the single-product folder.

    Regards,

    Devin

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

The topic ‘SKU not showing for Woocommerce Bundle Products.’ is closed to new replies.