Tagged: woocommerce sku bundle
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
* 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 ) ? ' × '. $quantity : '' );
<span itemprop="productID" class="sku_wrapper">SKU: <span class="sku"><?php echo $product->get_sku(); ?></span></span>
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
Example of bundle product NOT displaying SKU
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.
The topic ‘SKU not showing for Woocommerce Bundle Products.’ is closed to new replies.