Archived topic
WooCommerce Archive Pages - Show SKU
19 replies · Started by Steve on July 9, 2018
That's great to hear, and yes a great suggestion :)
Do you mean the title in the table which says Product?
If you mean the SKU: then you can edit this line:
return $sku ? $title . sprintf(" (SKU: %s)", $sku) : $title; and change the SKU: within the brackets so it would read (Part No. %s)
Thanks that did the job.
Might be nice to include that code in the docs as well as its a neat way to get the Part No. into the cart and therefore print a listing.
One final thing is there a way to remove the SKU title and number from below the rule leaving just the Categories and Tags.
On the single product page?
Might be simplest with some CSS:
.woocommerce .product_meta .sku_wrapper {
display: none;
}
Hi David
Job done. Site now refers to Part No's instead of SKU
Many thanks
Steve
You're very welcome Steve, glad to be of help.