5

I'm trying to theme Drupal 7's Ubercart 3 /cart page, but I'm struggling to find the theming function to do so.

I believe the right code may be located in template.tpl.php, but I am not sure.

Where in Drupal is the code to theme this page?

Adam Link
  • 2,783
  • 4
  • 30
  • 44
PapaSmurf
  • 1,035
  • 2
  • 14
  • 26

1 Answers1

3

Create a new template file and name it page--cart.tpl.php

For more information about Drupal theming suggestions: http://drupal.org/node/1089656

(Don't forget to clear the cache after adding the new template file)

Another way to use Devel module with theme developer module to get all available theme suggestions.

Update:

If you are looking to style just the cart section, why don't use CSS. In Ubercart, the cart section has an div id div#cart-form-pane

halfer
  • 19,824
  • 17
  • 99
  • 186
Muhammad Reda
  • 26,379
  • 14
  • 93
  • 105