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

  • Home
  • SEARCH
  • 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 1025309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:54:32+00:00 2026-05-16T11:54:32+00:00

I am working on an Ubercart installation on a Drupal site we are producing.

  • 0

I am working on an Ubercart installation on a Drupal site we are producing. Everything is going smoothly, but I am now trying to setup the order page template (uc_order module), so that the frontend developers can style it up.

The page is the one you view when you go to user/[UID]/order/[ORDER-ID].

I understand how to use hooks, preprocess, theming and template functions within Drupal, but currently I cannot see a way of changing any of the markup on the “order panes” that make up the page. It goes without saying that I don’t want to touch any of the module’s code.

So, one of the pages is the ‘Bill To’ address pane:

<div class="order-pane pos-left">
    <div class="order-pane-title">Bill to: </div>
    Name<br>
    Address<br>
    Town<br>
    Postcode<br>
</div>

Essentially I would like to put a class in the div, so that it looks like this:

<div class="order-pane pos-left bill-to">...</div>
<div class="order-pane pos-left ship-to">...</div>
<div class="order-pane pos-left payment">...</div>
<div class="order-pane pos-left comments">...</div>
...

I just cannot see a way of doing this.

Any help would be much appreciated.

  • 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-16T11:54:33+00:00Added an answer on May 16, 2026 at 11:54 am

    Have you checked the latest version of UC? The release note states:

    The biggest change, though, is that order invoice templates now use the theme system to allow customizations. Instead of altering the module files directly, it is now correct to override them in the theme, just like node and page templates.

    …and if I am not mistaken (a few months have passed by since I worked with UC), the invoice IS the page displayed by the URL you provided.

    If my memory failed me (I haven’t a UC installation handy to verify myself), a possible workaround (admittedly far from elegant, but still allowing you not to change the module’s code) would be to alter the HTML with jQuery once the page has been loaded.

    A more hack-ish workaround would be to maintain your own page callback for that URL, and just alter the menu definition in the UC code [yes, it’s still hacking the code, but in this case you just need to modify one line in the UC code, and can maintain your code in a separate module].

    HTH,
    Mac.

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

Sidebar

Related Questions

Working on a somewhat complex page for configuring customers at work. The setup is
Working on site development using Drupal. Using View module also. I did defined severar
This standart theme function seems not working for Ubercart menu function theme_menu_tree($tree) { return
I am working on an Ubercart 2.0 project for a client. It is for
Working on trying out the market licensing service, and I'm running into a few
Working with Excel interop, I'm trying be very careful about not implicitly creating any
Working with dates in ruby and rails on windows, I'm having problems with pre-epoch
Working with a SqlCommand in C# I've created a query that contains a IN
Working on a project at the moment and we have to implement soft deletion
Working on a project that parses a log of events, and then updates a

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.