So that those of us who sell books, or CDs or whatever can easily have it sort/list etc by “Sku”, but have the SKU display to the users as what they’re actually looking for.
More SEO friendly, too.
Closed
Last updated: August 15, 2022
Log in to comment on this feature request.
I agree with the OP and Alex Gibson. Would be great to be able to change the appearance of the SKU on the front-end of the site to ISBN so it would make sense for customers and so we could avoid unnecessarily creating custom fields that duplicate the function of the SKU.
The original poster has a very good, valid point here. It appears to have been hastily dismissed out-of-hand.
SKU may be useful ‘under the hood’ but it means nothing to booksellers/publishers/customers. ISBN is the identifier they expect to see.
All that is needed is a way to change the text ‘SKU’ so that it displays as something else, in this case ‘ISBN’ in the front-end. That must be a very simple thing for Woocommerce to implement?
I find it very strange that this isn’t the default in the Bookshop theme which I purchased from you!
Custom attributes are great, but the SKU is still the first thing on the page after the title/image etc.
Sorry, late to the party. I’d suggest you do something along the lines of this:
Take a copy of meta.php
/wp-content/plugins/woocommerce/templates/single-product/meta.php
and place it into your active theme directory:
/wp-content/themes/yourthemename/woocommerce/single-product/meta.php.
And change this code:
to
That way when WooCommece plugin updates you don’t loose your customisation.
it does not work for me….in front end continue see sku:
if in function.php add this:
add_action( ‘woocommerce_single_product_summary’, ‘dev_designs_show_sku’, 5 );
function dev_designs_show_sku(){
global $product;
echo ‘EAN: ‘ . $product->get_sku();
}
works but still see sku with of course the same number….
any other suggestion?
thx!
In my case, what I’ve done is this:
wp-content/themes/storefront-child/woocommerce/single-product/meta.php changed SKU (that nobody cares about for books) to ISBN.
Then I store the ISBN in the SKU.