• Resolved agunda

    (@agunda)


    First of all, thank you very much for this ingenious plugin! Since the SKU can only appear 1*, you can really make a splash here. You’re great!

    Question: is it possible to control the output in the child theme so that the product code is displayed normally as set, but not in the products posts page? It could be hidden with CSS, but the data thieves can still see the values in the source code…

    Thank you for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author artiosmedia

    (@artiosmedia)

    Greetings, @agunda. My developer claims there is nothing he can do to institute the changes you have requested. The scope of change would require an immense redevelopment of the plugin and as such, it might not even work. This is a free plugin shared out of kindness to the WordPress community. We don’t have the funds to create a new plugin. Sorry.

    Thread Starter agunda

    (@agunda)

    Hi,

    For anyone who doesn’t understand the point of displaying the warehouse number in the frontend when displaying individual products, here’s the solution: in /product-code-for-woocommerce/templates/product-meta-row.php

    <span class="wo_productcode"> <input type="hidden" value="<?php echo $post->ID ?>" id="product_id" /> <span><?php // echo ($text ? $text : __('Product Code', 'product-code-for-woocommerce')) ?>:</span> <span class="stl_codenum"><?php // echo !$value ? __('N/A', 'product-code-for-woocommerce') : $value ?></span> </span> <?php endif; ?> 
    
    
    
    
    

    This is what the ideal solution would look like so that the change does not have to be made after each update:

    Thanks again for this plugin, it’s very helpful!
    All the best
    Chriss

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show product code not on product posts’ is closed to new replies.