7 replies [Last post]
Miso's picture
Offline
Joined: 08/10/2007
Juice: 134
Was this information Helpful?

Just noticed that the actual Product Title in the detailed product view is missing from the description on the page. Sure, there's the picture of the item, model #, description and all, but no title?

Where did it go? And more importantly, how do I get it back?

michels's picture
Offline
Uber DonorBug FinderInternationalizationizer
Joined: 08/12/2007
Juice: 205
Re: Product Title on the detailed/node page missing?

I think thats a themeing problem.
Did you write your own theme?

Miso's picture
Offline
Joined: 08/10/2007
Juice: 134
Re: Re: Product Title on the detailed/node page missing?

it was a custom theme, yea... hmm, now I am curious where in the theme files/templates would that option be.

Miso's picture
Offline
Joined: 08/10/2007
Juice: 134
Re: Re: Re: Product Title on the detailed/node page missing?

speaking of theme, where are the image and category description html code located in the files/css?

I'm talking about the title, description and right floated category image that shows up on top of all the subcategories listed for that category? I couldn't find it in uc_catalog.module....

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Re: Product Title on the detailed/node page missing?

Those are all handled in theme_uc_catalog_browse(). In the latest code, line 541 sets the title with drupal_set_title(), line 590 displays the image for the category, and line 611 or 635 displays the description. The difference between 611 and 635 is whether the category has products in it or not.

uc_catalog.css has all the style rules for that page that aren't overridden by your theme.

Miso's picture
Offline
Joined: 08/10/2007
Juice: 134
Re: Re: Re: Re: Re: Product Title on the detailed/node page miss

yeah, I just looked at it, and it seems our custom theme developer messed something up and no titles are showing at all... when all the other default themes are working fine. hmm...

Miso's picture
Offline
Joined: 08/10/2007
Juice: 134
Re: Re: Re: Re: Re: Re: Product Title on the detailed/node page

another styling/ordering question - how do I rearrange the elements of a product on a detailed product view?

as in, how do I move description, model #, image, etc around? where are those ordered and defined?

EDIT: nevermind, found another answer to my own question - it was at admin/store/settings/products/edit/fields

Miso's picture
Offline
Joined: 08/10/2007
Juice: 134
Re: Re: Re: Re: Re: Re: Re: Product Title on the detailed/node p

back to the original question, is there some condition I can use in my templates to check for the cart nodes, so that I display the titles ONLY for the detailed product view (not in the category view for category titles and such)... something along the lines of if($detailed_cart_view) something something I can use in the title declaration?