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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With