Forums / Templates, Stylesheets, Page Layout / NEWBIE: How do I position "description" on Featured & product listings?

NEWBIE: How do I position "description" on Featured & product listings?

Started by hugozc on 28 May 2009, 5:48 PM · Views: 1,945

Results 1 to 14 of 14
28 May 2009, 5:48 PM
#1
hugozc avatar

hugozc

New Zenner

Join Date:
Apr 2009
Posts:
41
Plugin Contributions:
0

NEWBIE: How do I position "description" on Featured & product listings?

ZC 1.3.8a

Refer to page: http://hugocruzgallery.com/shop/index.php?main_page=featured_products

As per the above page, how can I move the "Description" to the RIGHT of the photograph so it is positioned along with the TITLE and the MODEL to the right of the IMAGE?

I researched this and thought it may be in the the ADMIN?CONFIGURATION/FEATURED LISTING settings, but the Description control is nothing more than the number # of characters allowed before truncating ... It does not have the positon settings like TITLE and MODEL have.

How can this be done?

Thank you for your time and replies. I sincerely appreciate it.

28 May 2009, 6:33 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: NEWBIE: How do I position "description" on Featured & product listings?

Hu,

Locate this:
includes/templates/HCG_Template_3/css/stylesheet.css

Add this to the bottom of the sheet

.main {
float:right;
margin-top:-9em;
}

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

28 May 2009, 9:17 PM
#3
hugozc avatar

hugozc

New Zenner

Join Date:
Apr 2009
Posts:
41
Plugin Contributions:
0

Re: NEWBIE: How do I position "description" on Featured & product listings?

hello Haredo,

Thanks for the reply. Unfortunately, it did not work. I will be working on variations but here is the link:

http://hugocruzgallery.com/shop/index.php?main_page=featured_products

It is now 5:15PM EST and I will be trying to work on it. So, if you see the page later then you may not see exactly what your changes did. So, I can describe it as follows: It centered almost all the objests (image/title/description and items) on top of each other / overlapping one another. A centered jumbled mess :-)

So, if you have any ideas on how to correct this then please let me know.

Thank you.

28 May 2009, 9:22 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: NEWBIE: How do I position "description" on Featured & product listings?

Hu,
Yes, I see, remove it please and I will take a look

Pm, was sent to you also

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

16 May 2011, 1:59 AM
#5
jadedev avatar

jadedev

New Zenner

Join Date:
Apr 2011
Posts:
39
Plugin Contributions:
0

Re: NEWBIE: How do I position "description" on Featured & product listings?

Same issue in ZC 1.3.9h

I like to move the product description to under the price and left align with the price.

I had a look in CSS file, didn't find .main

16 May 2011, 2:15 AM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: NEWBIE: How do I position "description" on Featured & product listings?

You will find the featured here:

admin panel/ configuration/ featured listing

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

16 May 2011, 2:40 AM
#7
jadedev avatar

jadedev

New Zenner

Join Date:
Apr 2011
Posts:
39
Plugin Contributions:
0

Re: NEWBIE: How do I position "description" on Featured & product listings?

Product description cannot be done in the above panel.

I found the template file and jig it there sucessfully.

Now , can't find reference to "more info". I wamt to move that too, if I could

10 Feb 2012, 10:16 AM
#8
elvira avatar

elvira

New Zenner

Join Date:
Feb 2009
Location:
Norway
Posts:
30
Plugin Contributions:
0

Re: NEWBIE: How do I position "description" on Featured & product listings?

Hello,

I have exactly the same issue with "All Listings". I would like the image to be to the left and description to the right - below the product name, but above the price and add to cart button. Just like it is on the individual product page.

Searched for it on the forums and found this thread, which is not finished. Can someone explain how to do this please?

I have the newest Zen Cart 1.5.0
Thank you.

10 Feb 2012, 7:19 PM
#9
elvira avatar

elvira

New Zenner

Join Date:
Feb 2009
Location:
Norway
Posts:
30
Plugin Contributions:
0

Re: NEWBIE: How do I position "description" on Featured & product listings?

OK, my husband fixed it for me, but I thought I'd share a little bit.

You need this file: tpl_modules_products_all_listing.php, which is in \includes\templates\template_default\templates.

Copy the whole templates folder into includes\templates\classic before you make changes.

The description - look for $display_products_description - is under the picture, because it is in its own row in the table. What you have to do is to remove the row and copy the code into the same column as the name. Make sure you put it inside the "if" statement that checks for the name so you will only have one description per name.

:wacko:

Here's the code:```
if ($disp_sort_order->fields['configuration_key'] == 'PRODUCT_ALL_LIST_NAME')
{
echo $display_products_name;

if (PRODUCT_ALL_LIST_DESCRIPTION > '0')
{
echo $display_products_description;
echo '<br /><br />';
}
}

10 Feb 2012, 7:31 PM
#10
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: NEWBIE: How do I position "description" on Featured & product listings?

You need this file: tpl_modules_products_all_listing.php, which is in \includes\templates\template_default\templates.

Copy the whole templates folder into includes\templates\classic before you make changes.

Actually, it should be copied to includes/templates/your_custom_template. One should not use classic or template_default for edited/changed files.

The best way to learn is to try stuff. But, back it up first.

10 Feb 2012, 8:22 PM
#11
elvira avatar

elvira

New Zenner

Join Date:
Feb 2009
Location:
Norway
Posts:
30
Plugin Contributions:
0

Re: NEWBIE: How do I position "description" on Featured & product listings?

RescoCCC:

Actually, it should be copied to includes/templates/your_custom_template. One should not use classic or template_default for edited/changed files.

Ok, I did it properly and everything seem to be working fine apart from boxes.

on Wiki is says: "You also need to copy the sidebox settings from the table layout_boxes; this can be done using the addon Import/export layout settings."

BUT this link doesn't work and I'm not sure how to export/import box layout from the database. I tried searching for the addon, but couldn't find the one that works.

11 Feb 2012, 12:53 AM
#12
tommymack avatar

tommymack

New Zenner

Join Date:
Feb 2012
Posts:
1
Plugin Contributions:
0

Re: NEWBIE: How do I position "description" on Featured & product listings?

Hi everyone,

I'm in a similar situation and my searches have led me here. I've tried a good many things I've come across but I just don't seem to be having any luck and I'm running out of ideas.

On my site's main product display page, I'm trying to get the description/details/price/add to cart/ etc. to be to the right of the main product image - seems simple enough in theory, yet i'm stumped :(

Was hoping someone would be willing to take a look at the mess I've made, hopefully sprinkle some science liberally onto my brain :D

To see what I'm talking about, please take a look at:
http://screendogs.com/catalog/index.php?main_page=product_info&cPath=1&products_id=1

Any help is always appreciated!

Thanks

11 Feb 2012, 10:55 AM
#13
elvira avatar

elvira

New Zenner

Join Date:
Feb 2009
Location:
Norway
Posts:
30
Plugin Contributions:
0

Re: NEWBIE: How do I position "description" on Featured & product listings?

Well, I'm a newbie myself, but from the looks of it, seems like it is the table structure and the description is in the row below the image. You have to find the .php file for this page in YOUR TEMPLATE and move the item description to the same row as the image. Similar to what I've posted above.

Can't provide you with the file name and code though. Try to use page sourse to locate the file.

11 Feb 2012, 8:22 PM
#14
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: NEWBIE: How do I position "description" on Featured & product listings?

The file is includes/templates/your_template/templates/tpl_product_info_display.php. But there may be a way to re-arrange the elements by using the stylesheet.

The best way to learn is to try stuff. But, back it up first.