• Resolved digigav

    (@digigav)


    Hi,

    I’m trying to hide the “item Condition” from product pages,

    Is there some .css i can use to do this site wide as all items will be used and so i don’t need this to show if a Vendor as forgot to change the field from new to used.
    I use Divi Builder theme if that is helpful

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter digigav

    (@digigav)

    I found the .php file i needed to edit to hide the field but this will need to be done every time the plugin updates..

    <?php
    if(get_option(‘uwa_hide_product_condition_field’, ‘no’) == ‘yes’){
    $uwa_auction_condition = $product->get_uwa_condition();
    ?>
    <p class=”uwa_auction_condition”>

    <?php _e(‘Item condition:’, ‘woo_ua’); ?>

    <span class=”uwa_auction_current_condition”>
    <?php _e($uwa_auction_condition,’woo_ua’ ) ?>
    </span>
    </p>

    I’m not a coder so i don’t know how to write a code to change it using .css or snippet, can anyone help?? ^^

    Plugin Author Nitesh

    (@nitesh_singh)

    Hi @digigav ,

    Apologies for delayed reply. We normally are notified by forum of new questions but seems these notifications came to wrong email section and we missed replying them.

    Please add following code in your theme’s customized style:

    .single-product p.uwa_auction_condition {
        display: none;
    }

    Regards,
    Nitesh

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide “Item Condition”’ is closed to new replies.