Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Move Shopping Cart To Header


pinklep

Recommended Posts

Posted

Is there a contribution that can assist with moving the shopping cart box to the header? I keep searching but can't find one.

 

Thanks in advance!

I am a Jedi, like my father before me!

Posted

Just copy the initialization from the $cart_contents_string and echo the $cart_contents_string where you like and how you like.

Posted
Just copy the initialization from the $cart_contents_string and echo the $cart_contents_string where you like and how you like.

 

Thanks, I want it on the right side..opposite side of logo..would I edit the header file?

I am a Jedi, like my father before me!

Posted
Yes, just look where to logo is initiated and put the code in a correct html layout.

 

Yuck. Too complicated for my brain. I found some contributions that will add shopping cart text to the header. I might go that route. Why cant I just call the shopping cart box in the header?

 

Thanks.

I am a Jedi, like my father before me!

Posted

You can't move the whole shopping cart infobox to the header

 

I think it's

 

<?= cart->content() ?>

 

It's available from this book, Redesigning osCommerce, shows you how to move shopping cart to the header.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...