• Resolved arbagic

    (@arbagic)


    Hi Guys, There is a possibility to edit the size of the product photo ordered in the Woocomerce section / Orders / edit order?

    Thank you very much!

    • This topic was modified 2 years, 10 months ago by arbagic.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @arbagic

    There is a possibility to edit the size of the product photo ordered in the Woocomerce section / Orders / edit order?

    To change the size of the thumbnails in the edit order section, please add the following code to your theme’s functions.php file:

    add_action('admin_head', 'wooadm_thumb_size');
    
    function wooadm_thumb_size() {
      echo '<style>
    #woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.thumb .wc-order-item-thumbnail {width:90px !important; height:auto !important}
      </style>';
    }

    You can change the 90px above to whatever size you want.

    Cheers,

    Thread Starter arbagic

    (@arbagic)

    Thanks a lot!

    It worked great!

    Thanks for letting us know!

    If you have any further questions, I recommend creating a new thread since this one is already resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Edit the photo size of the ordered product’ is closed to new replies.