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

Strange things a'gwan

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-17-2006, 11:59 AM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default Strange things a'gwan

Everything works fine on my store until the customer clicks on one of the 'quick links' I have added to the head.tpl myself.

When they click one of these links in the custom drop down menu's their cart empties or shows some mad amount (probably from another php session). If they then click on the same or another catergory from the 'official' catergory menu their cart reverts back to the state it was in before clicking the drop down link - and any products added via the drop down link catergory aren't added. Also if a customer is logged in clicking on the dropdown menu's logs them out - but again once they hit the 'official' links again they are logged back in and all is well.

???

All I did was create javascript drop down menu's and aimed the links at the same place the 'offical' catergories menu's point to.
Could this php session interupt be happening because I have used the full http:// paths in the link fields? And if so what would be the correct method of calling these links?

For instance at the moment the 12" Vinyl category link is being called by using : http://www.wyzeshop.com/home.php?cat=1

Would it fix it if the link simply read : /home.php?cat=1

You can check the weirdness out for yourselves by visiting http://www.wyzeshop.com and throwing an item or 2 into your cart using the 'official' menu links then click a drop down menu from the top 'Vinyl quick search' and see what happens.

Any help would be most welcome
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
Reply With Quote
  #2  
Old 05-17-2006, 12:19 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Whoa. It could be a www non www issue. Try calling the categories from the drop-down menu without the domain. I.E. home.php?cat=1
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-17-2006, 12:42 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Yup I second that.

What I also did was first use the drop down menu to select a mp3 download
and then tried the normal left hand menus, which then would not show any items at all even though it said something like 21 item in that category.
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #4  
Old 05-17-2006, 01:15 PM
 
Grant Grant is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 171
 

Default

Yep I think that fixed it.

All the dropdown links are now : home.php?cat=12 etc

It looks like it was just the http://www. screwing it up.

Thanks for having a look & your help guys
__________________
X-Cart version : 4.0.18
Mod : Customer Also Bought
Mod : Custom catergory Templates
Mod : Custon Product Templates
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 10:21 AM.

   

 
X-Cart forums © 2001-2020