ACG- Posted May 15, 2021 Share Posted May 15, 2021 I dont want the customers dni to appear in the delivery template. Do you have any idea how to do this? Link to comment Share on other sites More sharing options...
musicmaster Posted May 17, 2021 Share Posted May 17, 2021 I am puzzled what you mean with the "delivery template". The delivery slip? Link to comment Share on other sites More sharing options...
ACG- Posted May 17, 2021 Author Share Posted May 17, 2021 3 hours ago, musicmaster said: I am puzzled what you mean with the "delivery template". The delivery slip? Thanks for answer. Yes. im talking about delivery slip Link to comment Share on other sites More sharing options...
musicmaster Posted May 17, 2021 Share Posted May 17, 2021 It is spread over several files. Those are under the /pdf directory. Link to comment Share on other sites More sharing options...
ACG- Posted May 18, 2021 Author Share Posted May 18, 2021 12 hours ago, musicmaster said: It is spread over several files. Those are under the /pdf directory. Thanks for answer, Yes. i ve already reviewed these files, but still dont know how to change them. There is an address class in it. Where should i change this from? Link to comment Share on other sites More sharing options...
musicmaster Posted May 18, 2021 Share Posted May 18, 2021 2 hours ago, ACG- said: Thanks for answer, Yes. i ve already reviewed these files, but still dont know how to change them. There is an address class in it. Where should i change this from? What is the problem? You want to delete the DNI field. So you should look for something that says dni and delete it. Link to comment Share on other sites More sharing options...
ACG- Posted May 18, 2021 Author Share Posted May 18, 2021 13 hours ago, musicmaster said: What is the problem? You want to delete the DNI field. So you should look for something that says dni and delete it. The address part is in the screenshot. However, this pulls all the address information. i just want to delete the dni. i cantt find enough results when I search for the delivery address class. What should i do? Link to comment Share on other sites More sharing options...
ZHSoft Posted May 19, 2021 Share Posted May 19, 2021 // /admin/index.php?controller=AdminCountries&updatecountry=&id_country=21&token=321b602b1ae3367faf448f71387b23f4 The correct approach is to edit the address template in the background, which can be flexibly configured through switches. Link to comment Share on other sites More sharing options...
ACG- Posted May 19, 2021 Author Share Posted May 19, 2021 52 minutes ago, ZHSoft said: Doğru yaklaşım, anahtarlar aracılığıyla esnek bir şekilde yapılandırılabilen arka planda adres şablonunu düzenlemektir. im sorry but i dont understand what to do Link to comment Share on other sites More sharing options...
musicmaster Posted May 19, 2021 Share Posted May 19, 2021 In 1.6 this template was called from /classes/pdf/HTMLTemplateDeliverySlip.php by the getContent function. I am not sure about 1.7 Link to comment Share on other sites More sharing options...
ACG- Posted May 19, 2021 Author Share Posted May 19, 2021 31 minutes ago, musicmaster said: In 1.6 this template was called from /classes/pdf/HTMLTemplateDeliverySlip.php by the getContent function. I am not sure about 1.7 Unfortunately there is nothing related to dni in the related file 😕 Link to comment Share on other sites More sharing options...
musicmaster Posted May 19, 2021 Share Posted May 19, 2021 13 minutes ago, ACG- said: Unfortunately there is nothing related to dni in the related file 😕 According to the info you provided the delivery address is in {$delivery_address}. It isn't hard to find that back in the php file: Link to comment Share on other sites More sharing options...
ACG- Posted May 19, 2021 Author Share Posted May 19, 2021 4 minutes ago, musicmaster said: According to the info you provided the delivery address is in {$delivery_address}. It isn't hard to find that back in the php file: i guess i couldnt explain myself, the problem here is: The line in the screenshot contains the address information, but when i delete it, all the information is deleted. im just dni i want to delete Link to comment Share on other sites More sharing options...
musicmaster Posted May 19, 2021 Share Posted May 19, 2021 You explained yourself very well. As you see the software is throwing everything in one variable that is sent to the .tpl file. So you need to be at a prior stage where these parts are still separate. 1 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