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?
Block code of shopping cart
|
|
Look into the following function:
http://www.ubercart.org/docs/api/theme_uc_cart_block_content
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.....
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
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?
|
|




Joined: 12/11/2007