• Resolved mjaynl

    (@mjaynl)


    Hi, I wonder if it is possible to show the quantity before the product in the “Items” column in the backend “All Request” page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wpeasysoft

    (@wpeasysoft)

    Hello,

    I am sorry, there is no option to change this formation. You need to hardcoded into core files for changing the quantity position.

    Thanks

    Thread Starter mjaynl

    (@mjaynl)

    Hi,

    Thank you for your reply!

    Could you help me to do that?
    I’ve been searching in the plugin editor but can’t find it.

    Kind regards,
    Mjay

    Plugin Author wpeasysoft

    (@wpeasysoft)

    Hello @mjaynl,

    Please go to this file location wp-content/plugins/wc-return-warranty-management/includes/functions.php and find the function called wcrw_get_formatted_request_items

    Just change the line number 684
    $formatted_item[] = '<a href="' . $item['url'] . '">' . $item['title'] . '</a> &times; ' . $item['quantity'];

    to

    $formatted_item[] = $item['quantity'] . ' &times; <a href="' . $item['url'] . '">' . $item['title'] . '</a>';

    For now, you can change it. In a future update, I will add some filters so that you can easily change this and does not affect any future updates.

    Thread Starter mjaynl

    (@mjaynl)

    Thank You!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Quantity before product?’ is closed to new replies.