I am still a little stuck with this.
as i mentioend i have a framework page which loads in various items.
the order the items are loaded in (due to the layout of the template) as follows:
my cart widget (in the top left of the page within my banner)
my site menu (css menu writer menu)
my special offers Banner (showing random products from the DB just above my main content)
my page content (on the left colulm of my main content
my other widgets (on the right colulmn of my main content)
my footer (at the base of the page)
the items are getting added to the cart, but the cart widget does not update unless the page is refreshed.
i am assuming this is because he cart widget is loaded in before the add to cart code has run or something.
where do i need to place the add to cart code?
can i just add it to the cart widget (as thats gets loaded in on every page on the site)
can i just add it on my index page (the framework template page that loads all the other stuff in)
or do i need to add it to all the pages that are loaded in, that use the cart content/add an item to the cart.
or is there something else i can do to ensure that the cart widget reflects the correct number of items in the cart, once an item has been added, without having to refresh.
i appreciate your time once again :)