Jump to content

How to disable products details on customer profile page?


uvip

Recommended Posts

  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

You could delete the programcode. Here is a guide how you can delete the highlighted data tables.

WdmNBKO.jpg

 

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

  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.

WdmNBKO.jpg

 

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 by uvip (see edit history)
Link to comment
Share on other sites

  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

  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

  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

  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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...