Forums / Templates, Stylesheets, Page Layout / Alter location of prod info page

Alter location of prod info page

Locked

Views: 1,254

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
4 Sep 2006, 10:33 PM
#1
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

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/index.php?main_page=product_info&cPath=6_11&products_id=16

My only addon is Gallery addon and can be seen here breezy

4 Sep 2006, 11:56 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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...

5 Sep 2006, 12:14 AM
#3
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

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

5 Sep 2006, 12:45 AM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Alter location of prod info page

Yep, that looks a lot better. :thumbsup:

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 Sep 2006, 1:04 AM
#5
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

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

5 Sep 2006, 1:09 AM
#6
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

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> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </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

5 Sep 2006, 1:55 AM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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.