I am want to Show Product SKU below on price

7 replies3 participantsUpdated by Olga Barlow

  • Avatar: RazzakTextile
    RazzakTextile
    Participant

    I am want to Show Product SKU below on price.
    How to do this?

    Please, contact administrator
    for this information.

    7 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    There is no such possibility by default.
    Try to add the next code in Theme Options > Theme Custom CSS:

    .single-product .product-information-inner .fixed-content {
        display: flex;
        flex-direction: column;
    }
    .single-product .product-information-inner  h1.product_title.entry-title { order: 1;}
    .single-product .product-information-inner  .price { order: 2; }
    .single-product .product-information-inner  .product_meta {order: 3;}
    .single-product .product-information-inner .woocommerce-product-details__short-description { order: 4;}
    .single-product .product-information-inner  .cart { order: 5; }
    .single-product .product-information-inner  .product-share { order: 6; }

    http://prntscr.com/t36sh5

    Regards

    Avatar: RazzakTextile
    RazzakTextile
    Participant

    I am want to Show Product SKU below on the price

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hi,

    Try the next custom CSS code:

    .price + .product_meta > *:not(.sku_wrapper) {
        display: none;
    }
    .product_meta ~ .product_meta .sku_wrapper {
        display: none;
    }

    child-theme/functions file
    add_action('woocommerce_single_product_summary', 'woocommerce_template_single_meta', 15);

    Regards

    Avatar: RazzakTextile
    RazzakTextile
    Participant

    No Chaged

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    Delete this previous custom CSS code – http://prntscr.com/t628ca , apply this solution http://prntscr.com/t628uk only.
    Also, do not edit .php files via the Dashboard https://prnt.sc/t5tm83 , changes in files should be done via FTP, it is the safest way.

    Regards

    Avatar: RazzakTextile
    RazzakTextile
    Participant

    Thanks. Now I want to show Product SKU in the product categories page.
    Please send me the solution or custom css.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant

    Hello,

    Sorry but there is no such option to show the product SKU on the shop page or product category. It’s possible by additional PHP customization. You can use WooCommerce hooks if you have PHP skills https://www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/ to implement this or submit customization request to our customization team here because our default support does not cover additional PHP customization, sorry.

    Regards

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register