This topic has 2 replies, 2 voices, and was last updated 6 years, 11 months ago ago by Rose Tyler
Hi, is there a way that I can make products available to search by SKU as well as by title? i.e. if a customer we’re to type a product sku in the search bar it would come up
Also, is there a way to make Product sku’s visible underneath the price on the product catalog page?
Thanks
Hello,
It looks like you updated woocommerce to latest version, but you use old theme version. You need to update theme and all required plugins https://www.8theme.com/documentation/xstore/theme-installation/theme-update/ https://www.8theme.com/documentation/xstore/plugins/plugins-update/ Then activate “Search by sku” in Theme Options > General > Header Settings.
This requests customization in files:
xstore/woocommerce/content-product.php
http://prntscr.com/ien2ku -> http://prntscr.com/ien3uv
<?php echo '<div class="product-sku">'.$product->get_sku().'</div>'; ?>
xstore/woocommerce/content-product-slider.php
http://prntscr.com/ien5ah
(we recommend making changes in the child theme https://codex.wordpress.org/Child_Themes because you’ll lose all modifications after each theme update)
Regards
You must be logged in to reply to this topic.Log in/Sign up