uvip Posted October 19, 2014 Share Posted October 19, 2014 I am wondering if anyone knows how to disable products details on customer profile page? Both for cart products details and order products details. Thanks Link to comment Share on other sites More sharing options...
thepan Posted October 19, 2014 Share Posted October 19, 2014 Can you supply a screenshot or more detailed discreption of what you actually mean? Do you mean in the backoffice where the admin can see what the costumer has ordered so far? Link to comment Share on other sites More sharing options...
uvip Posted October 20, 2014 Author Share Posted October 20, 2014 On 10/19/2014 at 3:48 PM, thepan said: Can you supply a screenshot or more detailed discreption of what you actually mean? Do you mean in the backoffice where the admin can see what the costumer has ordered so far? Yes, that is exactly what I mean here. You see if someone order many items and keep buying large quantities, his page will load very slow with every item listed. So I am wondering if we can disable the product details display on the customer page from admin end. Thanks Link to comment Share on other sites More sharing options...
thepan Posted October 20, 2014 Share Posted October 20, 2014 You could delete the programcode. Here is a guide how you can delete the highlighted data tables. 1. You need to open the related template file:"root/administrator/themes/default/template/controllers/customers/helpers/view/view.tpl" 2. Delte Lines 181 to 357. Done If you would like to keep one table you obviously need to leave the ragarding code. Just look into it and you will see code like this <div class="panel"> <div class="panel-heading"> <i class="icon-shopping-cart"></i> {l s='Carts'} <span class="badge">{count($carts)}</span> As you can see, the is the text "Carts" what makes it quite clear that this is the div for the cart table. Link to comment Share on other sites More sharing options...
uvip Posted October 23, 2014 Author Share Posted October 23, 2014 (edited) On 10/20/2014 at 7:06 AM, thepan said: You could delete the programcode. Here is a guide how you can delete the highlighted data tables. 1. You need to open the related template file:"root/administrator/themes/default/template/controllers/customers/helpers/view/view.tpl" 2. Delte Lines 181 to 357. Done If you would like to keep one table you obviously need to leave the ragarding code. Just look into it and you will see code like this <div class="panel"> <div class="panel-heading"> <i class="icon-shopping-cart"></i> {l s='Carts'} <span class="badge">{count($carts)}</span> As you can see, the is the text "Carts" what makes it quite clear that this is the div for the cart table. Edited November 6, 2014 by uvip (see edit history) Link to comment Share on other sites More sharing options...
thepan Posted October 23, 2014 Share Posted October 23, 2014 (edited) I dont have the code for 1.4 here. But I guess its different from what I mentioned in my post above. And yes the change only effects the display in the backoffice. Basically you just delete what you see, everything else stays the same. Edited October 23, 2014 by thepan (see edit history) Link to comment Share on other sites More sharing options...
uvip Posted October 26, 2014 Author Share Posted October 26, 2014 On 10/23/2014 at 3:38 PM, thepan said: I dont have the code for 1.4 here. But I guess its different from what I mentioned in my post above. And yes the change only effects the display in the backoffice. Basically you just delete what you see, everything else stays the same. I checked my docs and cannot locate the file you mentioned there. I am wondering anyone can help with the 1.4 file location? Please! Thanks Link to comment Share on other sites More sharing options...
bellini13 Posted October 26, 2014 Share Posted October 26, 2014 In PS v1.4, the display is stored in the admin controllers. The admin controllers are located in /admin/tabs where admin is your back office folder name which you likely have changed to something else. The controller should be named AdminCustomers.php Link to comment Share on other sites More sharing options...
uvip Posted October 28, 2014 Author Share Posted October 28, 2014 On 10/26/2014 at 10:50 AM, bellini13 said: In PS v1.4, the display is stored in the admin controllers. The admin controllers are located in /admin/tabs where admin is your back office folder name which you likely have changed to something else. The controller should be named AdminCustomers.php Thanks a lot for your information. May I know which code should I delete or edit to make my desires happen? Thanks Link to comment Share on other sites More sharing options...
uvip Posted October 29, 2014 Author Share Posted October 29, 2014 On 10/26/2014 at 10:50 AM, bellini13 said: In PS v1.4, the display is stored in the admin controllers. The admin controllers are located in /admin/tabs where admin is your back office folder name which you likely have changed to something else. The controller should be named AdminCustomers.php Hi, Any updates? Your help is really highly appreciated here! Thanks! Link to comment Share on other sites More sharing options...
bellini13 Posted November 1, 2014 Share Posted November 1, 2014 You just need to go through the AdminCustomers controller, locate the sections you want to remove, and then remove/comment those lines of code. If you are looking to hire someone to do this, feel free to send me a PM Link to comment Share on other sites More sharing options...
uvip Posted November 2, 2014 Author Share Posted November 2, 2014 On 11/1/2014 at 2:18 PM, bellini13 said: You just need to go through the AdminCustomers controller, locate the sections you want to remove, and then remove/comment those lines of code. If you are looking to hire someone to do this, feel free to send me a PM Could you please let me know which code controls the cart products details? 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