Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2005
    Location
    Maidstone, Kent, UK
    Posts
    339
    Plugin Contributions
    3

    Default Alter location of prod info page

    Hey all.

    I am really stuck here.

    I am trying to include in the description of items a small table with 2 columns and 5 rows t display the % discount if a client purchased one of the 5 attribute options available. It Has to go into the description since each item will hold a different percentage value discount.

    Problem is I can not seem t get it looking god, the prod info page has loads of white space that makes the layout look very untidy.

    Can anyone offer any advice on how to alter this page so it looks beter

    http://www.macropackaging.co.uk/shop...products_id=16
    My only addon is Gallery addon and can be seen here breezy

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Alter location of prod info page

    I remember I had to do a bunch of work to get my productDescription to *stop* wrapping around the main image and keep the vertical edge ... unfortunately it was months ago and I can't remember which tweak did the trick. There is a rat's nest of divs, IDs and classes mixing up in this area and some combination of editing PHP files and the stylesheet will do it. Sorry I can't be more helpful right now...

  3. #3
    Join Date
    Dec 2005
    Location
    Maidstone, Kent, UK
    Posts
    339
    Plugin Contributions
    3

    Default Re: Alter location of prod info page

    Thanks for that. It seems that tabbed prduct display plugin helps resolve many of the cleanup issues, a very good module, makes it look alot neater.

    Now, What I need to do is locate the file that contains the default description information so I can add a table into this that will appear when a new item is added, and the client can simply add the required % figure into the table and each new product wil display this blank table inside the description.

    Anyone know where this particular file is held?
    My only addon is Gallery addon and can be seen here breezy

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Alter location of prod info page

    Yep, that looks a lot better.

    But ... "file that contains the default description information" ? If I'm understanding you correctly, there's no such thing. All of the product description has to be entered new at each product's creation. If you have a family of similar products, you can copy one (even a generic prototype that is disabled so it doesn't display in the store) to the new name and edit it for the specifics required. That could include dropping percentages into blanks in a table description.

  5. #5
    Join Date
    Dec 2005
    Location
    Maidstone, Kent, UK
    Posts
    339
    Plugin Contributions
    3

    Default Re: Alter location of prod info page

    What about entering something into the database, since the product descriptions are held there, surely I could simply setup a default entry for them?

    Ill give it a go and let you know, lol.
    My only addon is Gallery addon and can be seen here breezy

  6. #6
    Join Date
    Dec 2005
    Location
    Maidstone, Kent, UK
    Posts
    339
    Plugin Contributions
    3

    Default Re: Alter location of prod info page

    Nope, that wont work.

    Thats a shame. If I could somehow add the following as a default entry for every item

    <table width="100%" border="1" cellpadding="0" cellspacing="0" bgcolor="#CCD2EE">
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    </table>

    It would allow my client to simply add the cntent for each table entry, make life alot easier.
    My only addon is Gallery addon and can be seen here breezy

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Alter location of prod info page

    There is one possibility; I don't know if it would work since I've never delved into the workings of the admin.

    The product creation page includes the input textbox for the description. Perhaps the command to display that box can be given a default value. Using the Developers toolkit in Admin > Tools and searching for distinctive text fragments may help you to identify which PHP file does that. If you edit something in Admin, be aware that there is no template override available - you will have to re-enter any edits you make each time you run an upgrade.

    Otherwise, if your client is comfortable with file handling, you could save the table code and have him copy & paste it into each new product.

    Lastly, you could do as I suggested above and have a blank generic product with the table code in the textbox, and copy that for each new product instead of using the "New Product" button.

 

 

Similar Threads

  1. Code help to display manufacturer info on prod page?
    By twdhosting in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Jun 2009, 10:36 AM
  2. prod info pg: 2 description fields? (general, details)
    By dyno in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 10 Oct 2007, 03:47 AM
  3. prod info
    By mex in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 23 Feb 2007, 02:51 PM
  4. (quickie) which file to change to alter image pull location
    By deathsdoor in forum General Questions
    Replies: 2
    Last Post: 1 Sep 2006, 02:11 AM

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