Changes on product page
-
Hello,
thanks for such a nice plugin.
I got a problem on product page. Under the title I placed the SKU (item no).
Added code in functions.php:add_action( 'woocommerce_single_product_summary', 'dev_designs_show_sku', 5 ); function dev_designs_show_sku(){ global $product; echo '<p id="custom-sku">Artikelnr.: ' . $product->get_sku(). '</p>';
If “Woo Custom Stock Status” plugin is active, instead of SKU there is a text: “OUT OF STOCK”. Item no (SKU) is not shown. After deactivating your plugin it gets fine again.
The product link below is an example. You can click on any product in shop – it is the same problem.
Thanks in advance for your help.
- Woo Custom Stock Status 1.2.3
- Woocommerce 3.5.3
- WordPress 5.3.4
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Changes on product page’ is closed to new replies.