4 replies [Last post]
cpot's picture
Offline
Joined: 05/17/2010
Juice: 9
Was this information Helpful?

Sorry for perhaps what is a basic question (however i search the forums / doc with no luck)

I am using Acquia Marina (Fusion core sub-theme) and the product node is fairly basic (see attachment). From what i understand this is the basic UC layout and node-product.tpl.php can overide the basic layout.

I decided to copy the Acquia Prosper node-product.tpl.php to the acquia_marina folder. Then cleared the cache.

However I don't see the new product node layout

What am i doing wrong ? Is there an easy way to have a nice product page ?

Thanks a lot
Chris

cpot's picture
Offline
Joined: 05/17/2010
Juice: 9
Re: node-product.tpl.php for Acquia Marina

In addition to my post (node-product theming), which is the better/easier way to modify the product layout :

- Node Display Ubercart (using the Display Suite)
- Contemplate
- Views ?

ezdev's picture
Offline
Joined: 03/17/2010
Juice: 47
Product Page Theming

I'm also trying to modify the layout of the product page. I've looked at views but I don't see anything that would affect it. It looks like the layout is defined in Fusion core? or within the Ubercart module? I have googled without luck and cannot find clear documentation.

Thanks for raising this subject.

I hope someone from Ubercart addresses it.

stephthegeek's picture
Offline
Theminator
Joined: 10/20/2007
Juice: 575
Re: Product Page Theming

Hmm, if you're using the Fusion version of Acquia Marina, copying over Acquia Prosper's (or Fusion's) node-product.tpl.php should work just fine. Since this is such a common request, Fusion breaks out all the Ubercart fields separately for easy theming.

Can you put some dummy text in the tpl file to see if it is actually loading? It may be loading but you just don't notice it because it doesn't have any of the CSS styling from Acquia Prosper.

I haven't used Display Suite with Ubercart, but I hear it's a reasonably good way to get your product node content into columns. But beyond that you're going to be doing CSS styling anyway.

Gorgeous original Drupal themes (and Ubercart themes!) ~ Psst: more Ubercart themes on our new site

ezdev's picture
Offline
Joined: 03/17/2010
Juice: 47
Custom Product Field Placement in Product Template -

I have added new fields to the product page using the standard CCK node type form. But, all new fields are dumped into the bottom of the full product page. I tried to use Contemplate, but that does not display the Ubercart default fields or page layout. It appears that for new ubercart fields to be positioned within the default field groups, those fields must be created in the Ubercart Core by creating a new module and using a drupal hook. This seems rather extreme.. Is there a better way or do I have to hard code the new fields into Ubercart? I've not found much documentation on this. All I've really found is an explanation of how to add fields to the cck interface and that does not address what I need to do.

Thank you for your help