Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 254389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:50:33+00:00 2026-05-11T21:50:33+00:00

I am trying to style the product view on a Drupal site, but am

  • 0

I am trying to style the product view on a Drupal site, but am having problems. I can’t find where the node (product) view is put together in ubercart!

I’m using UC 5.x-1.7, and I need to style the node (product) view page. At the moment in my node.tpl.php file, I have

print $body;

which spits out all the SKU, attributes, price, picture etc.

The problem is I need to have this in a different style – I have to work to a design done by a designer. I have started re-doing my own version, using the variables like

$node->content['body']['#value']

etc.

I have run into trouble trying to work with the various attributes for a product. I can’t find out how to get them onto my page, or any documentation on how to work with them from a coder’s point of view.

Is there an easier way? Where would I look to style the existing display (i.e. the $body variable)?

Edit: my theme is based on the Zen Theme

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:50:33+00:00Added an answer on May 11, 2026 at 9:50 pm

    You’ll want to look at the templates which will be under a path like:

    ./sites/all/modules/ubercart/uc_product/views
    

    That will be a start. That’s where the node is likely built.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to style a custom menu within drupal. I've sucessfully styled to display
Ive been trying to push a new view when a cell is tapped but
I'm trying to make a basic (Mario style) game but my sprite(plumber) doesn't appear,
I am trying to style my output data, but I do not know how
I have been trying to solve this style problem for the whole day, but
The problem I am having with this is Product is trying to create variants
i was trying to create an list but i cant style it by id
I'm trying to insert a image in my Orchard module, but I'm having some
OK, so my title is terrible. Anyway- I'm trying to style a simple product
I'm trying to style an image with a white border around it like in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.