4 replies [Last post]
apeee's picture
Offline
Joined: 12/11/2007
Juice: 128
Was this information Helpful?

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?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Block code of shopping cart
apeee's picture
Offline
Joined: 12/11/2007
Juice: 128
Re: Re: Block code of shopping cart

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.....

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
apeee wrote:Thanks that was
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>.
apeee's picture
Offline
Joined: 12/11/2007
Juice: 128
Hey! TR, In the cart module,

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?