View Single Post
  #1  
Old 05-19-2003, 02:15 PM
 
pcisb pcisb is offline
 

Newbie
  
Join Date: Mar 2003
Posts: 9
 

Default Help! Delete Item not refreshing cart page :(

Hi All,

Not sure if this is the best place for this post, but I've got to start some where...

I have just made some changes to cart.tpl to reflect the look and feel of our site. Now for some strage reason if I select to delete an item, the page does not refresh...well actually it does refresh but displays the exact same cart (i.e. item not deleted). If i do a manual refresh (browser refresh button) then the cart is displayed correctly. Here is the line of code that i use for my delete item anchor:

[img]{$ImagesDir}/common/del_but.gif[/img]

This code is contained within the {capture} {/capture} and also written in each {section} ... {/section}.

I looked at the original code for delete and it looks exactly like what i have except with a different button.

I have checked cart.php and the delete item section seems correct. I think the problem is that when func_header_location("cart.php"); is executed, the refresh is not working exactly right.

Any ideas?????
Reply With Quote