Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Help! Delete Item not refreshing cart page :(

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #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
  #2  
Old 05-19-2003, 03:08 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Did you do this in a visual editor?

If you made changes you using a program like dreamweaver it may have re-written some of your paths as local ones.

I'm sure that a character by character comparison will turn up the changes that are affecting your cart.

Good Luck!

Reply With Quote
  #3  
Old 05-19-2003, 03:20 PM
 
pcisb pcisb is offline
 

Newbie
  
Join Date: Mar 2003
Posts: 9
 

Default Really Wierd

I just tried the to access the website using a different computer. Same website...and for some reason it worked on that computer??? I checked the IE setttings and both are identical. Why would one this work on one computer and not another???
Reply With Quote
  #4  
Old 05-19-2003, 03:22 PM
 
pcisb pcisb is offline
 

Newbie
  
Join Date: Mar 2003
Posts: 9
 

Default

Thanks adpboss,

I did a char by char check, and even went back to the orig x-cart pages and it didn't work. Really wierd
Reply With Quote
  #5  
Old 05-19-2003, 03:41 PM
 
machnhed1 machnhed1 is offline
 

eXpert
  
Join Date: Feb 2003
Location: Illinois
Posts: 274
 

Default

Look at all the hidden values in the form that are being submitted. Sometimes you Dreamweaver will auto-increment these values (e.g. value=price1 instead of value=price). Also, be sure that none of your sessionID's become hard coded. This can happen if you use webmaster mode to make some changes.
__________________
Following the signature guidelines : xcart pro 3.5.8 - [RedHat]
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:51 AM.

   

 
X-Cart forums © 2001-2020