Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2006
    Posts
    82
    Plugin Contributions
    0

    Default How do i completely remove the Model field?

    I dont want the model field to show up anywhere-- in sorts, searches or, most importantly the invoice. Isn't there a way that i can just get rid of that field all together??

  2. #2
    Join Date
    Sep 2004
    Location
    Murfreesboro, TN
    Posts
    588
    Plugin Contributions
    0

    Default Re: How do i completely remove the Model field?

    Not sure if this will do the trick or not but....

    Log into your site as admin, go under configuration and then product listing, choose display product model and change the 1 to a 0. Then stick out your tongue at a 33 1/3 degree angle, hop on your left foot twice and then spin four times counter-clockwise, then click on update.

    Try that in all your transactions (from start to invoice) and if that does not do it, I am sure someone else will post back.

    Good luck and may the force be with you

    Sincerely,

    0be1
    "Give me one hundred preachers who fear nothing but sin and desire nothing but God, and I care not whether they be clergymen or laymen, they alone will shake the gates of Hell and set up the kingdom of Heaven upon Earth." - John Wesley

  3. #3
    Join Date
    Jun 2006
    Posts
    82
    Plugin Contributions
    0

    Default Re: How do i completely remove the Model field?

    nope- i've had it set like that from day one (2+ yrs). Model still shows up as a sortable column and on the invoice. Having the config set to zeron only removes it from the product description. I just want to delete it altogether.
    Last edited by TATIANA; 23 Jul 2008 at 04:04 AM.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How do i completely remove the Model field?

    Can't help with search, but in admin/invoice.php, the model is echo'ed once in line 184 and the heading is defined in line 161.

    There are no overrides for admin, so you'll have to save a copy of the edited file for when you upgrade Zencart next.

  5. #5
    Join Date
    Jun 2006
    Posts
    82
    Plugin Contributions
    0

    Default Re: How do i completely remove the Model field?

    I looked it up and it was lines 295 and 341, but that's not where the title is actually defined. Meaning, if i change 'Model' to '' (for it to at least show up as a blank title) it does nothing.

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: How do i completely remove the Model field?

    My copy of that file only goes to line 272, so...

    You might also check admin/includes/languages/english/invoice.php for some more defines.

    (And removing the above-mentioned lines from admin/invoice.php does indeed remove all mention of 'Model' from the invoice, including the header.)
    Last edited by stevesh; 23 Jul 2008 at 01:50 PM.

  7. #7
    Join Date
    Jun 2006
    Posts
    82
    Plugin Contributions
    0

    Default Re: How do i completely remove the Model field?

    oh yeah, thanks! at least i can make it look like there is no model column on the invoice by replacing 'model' with ''

    i still want to remove that field though. i will never have any use for it.

 

 

Similar Threads

  1. how to remove completely the right sideboxes?
    By giuly in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Jul 2009, 10:15 AM
  2. How do I COMPLETELY remove the logo for my site
    By Kenichi in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Feb 2009, 11:25 PM
  3. How to remove the Update Cart button completely?
    By jdunique in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Apr 2008, 10:02 PM
  4. How do I remove the header completely
    By mollycakes in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 24 Apr 2008, 06:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR