Block code of shopping cart

Posts: 47
Joined: 12/11/2007

To suit my website theme, I need to get the shopping cart to a specificed place. So , I've to keep the actual block code for shopping cart into page.tpl.php . Now the problem is from where can I get the code?

Posts: 5378
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.
Posts: 47
Joined: 12/11/2007

Thanks that was great. In fact, I found the code in module itself and I changed some part of module to suit my current ubercart theme..........getting day by day close to opening ubercart store.....

Posts: 931
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

apeee wrote:
Thanks that was great. In fact, I found the code in module itself and I changed some part of module to suit my current ubercart theme..........getting day by day close to opening ubercart store.....

Don't change the module! Override the theme function! http://www.ubercart.org/faq/617

--

<tr>.

Posts: 47
Joined: 12/11/2007

Hey! TR,

In the cart module, where you have defined output for "View Cart" and "Checkout", I used just some html code editings. Like, I just added a (div id="checkout1234" ) string so that I can adjust it more easily with css. This is fine to do in moduble, isn't it?