NXDRC Posted April 27, 2021 Share Posted April 27, 2021 Hello, I have just upgraded my shop from the version 1.7.6. to the 1.7.7, everything was fine beside one slight problem, I can no longer see the "gift wrap" option with it's custom message on the order page on the back-end of Prestashop and it's kinda driving me crazy because I have lots of orders awaiting to be treated. Can anyone please help me with this ? Thank you Link to comment Share on other sites More sharing options...
Juan Rios1 Posted July 12, 2021 Share Posted July 12, 2021 Hello did you solve this issue or find if it got changed position wise? Link to comment Share on other sites More sharing options...
zanpo Posted October 19, 2021 Share Posted October 19, 2021 (edited) Hello, It looks like the guys at Prestashop decided it's a good idea to "hide" this info under the "shipping tab", so now for every order you must check this tab and see if it has a gift wrap option and a message. This is a very bad idea, so I decided to add the info on top of the products from the order, so it's right in your face Edit this file: /src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/view.html.twig just before this line: {% include '@PrestaShop/Admin/Sell/Order/Order/Blocks/View/products.html.twig' %} add this info: {% if orderForViewing.shipping.giftWrapping %} <span class="badge badge-success">{{ 'Gift wrapping'|trans({}, 'Admin.Orderscustomers.Feature') }}</span> {% endif %} {% if orderForViewing.shipping.giftMessage %} <strong><label> {{ 'Gift message:'|trans({}, 'Admin.Global') }} </label></strong> <span><em> {{ orderForViewing.shipping.giftMessage }} </em></span> {% endif %} Also, you can add it anywhere else on the order page. Hope it helps! Edited October 19, 2021 by zanpo (see edit history) 1 Link to comment Share on other sites More sharing options...
Prestafan1234 Posted March 16, 2022 Share Posted March 16, 2022 Nice fix, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now