Zen Cart Logo
Forums / General Questions / Shopping_cart link broken

Shopping_cart link broken

Views: 1,371

Results 1 to 12 of 12
1 Mar 2011, 12:15 PM
#1
laszlo avatar

laszlo

New Zenner

Join Date:
Dec 2006
Posts:
53
Plugin Contributions:
0

Shopping_cart link broken

Hi All,

I had some old add-ons I did not use and decided to remove them. Predictably I broke something in the process and I am hoping someone can point me in the right direction.

I log in and throw something into my shopping cart. At this point the shopping cart turns up in my sidebox with the items in it. I want to check out so I click on the link at the top of the sidebox to take me to the shopping cart (displayed in the centre). Only that it does not take me to the shopping cart anymore (it displays the featured pages, but that is probably some kind of placeholder).

Looking at tpl_shopping_cart_default.php it says it is automatically loaded on the shopping cart link.

Anyone knows how this works or what might be broken?

Thanks,

Laszlo

1 Mar 2011, 1:17 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Shopping_cart link broken

No background on what addons you had and removed and how you attempted to remove them
No info on what version of ZenCart you are using either

1 Mar 2011, 1:27 PM
#3
laszlo avatar

laszlo

New Zenner

Join Date:
Dec 2006
Posts:
53
Plugin Contributions:
0

Re: Shopping_cart link broken

Zencart is 1.3.9h.

Removed mods are User Currency, one of the cross selling mods (there are more than one on the download page, this is cross_sell_1.3), ultimate seo urls, Google base feeder and an ancient Protx payment mod that is not even in the download area anymore (no supported way of removing it so I removed the relevant db table and all files that looked related to it by name).

Also the debug logs from the cache folder do not contain anything useful.

1 Mar 2011, 1:42 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Shopping_cart link broken

Where is your site?

1 Mar 2011, 1:55 PM
#5
laszlo avatar

laszlo

New Zenner

Join Date:
Dec 2006
Posts:
53
Plugin Contributions:
0

Re: Shopping_cart link broken

http://www.carladaly.co.uk

Thanks for the help:-)

Laszlo

1 Mar 2011, 2:02 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Shopping_cart link broken

Check quickly what happens after switching to the classic template

1 Mar 2011, 2:11 PM
#7
laszlo avatar

laszlo

New Zenner

Join Date:
Dec 2006
Posts:
53
Plugin Contributions:
0

Re: Shopping_cart link broken

I am getting a blank page when loading the site. Worse now I am getting a blank page on the admin page as well, which means I can not switch it back.

Any idea how to switch back the template? Presumably I could change something in the db with phpadmin?

Laszlo

1 Mar 2011, 2:20 PM
#8
laszlo avatar

laszlo

New Zenner

Join Date:
Dec 2006
Posts:
53
Plugin Contributions:
0

Re: Shopping_cart link broken

Nevermind, the template switch is sorted. The shopping cart does not work with the classic template either.

Laszlo

1 Mar 2011, 3:38 PM
#9
laszlo avatar

laszlo

New Zenner

Join Date:
Dec 2006
Posts:
53
Plugin Contributions:
0

Re: Shopping_cart link broken

Just to clarify, it would help me to understand how tpl_shopping_cart_default.php is loaded "automatically" when clicking the shopping cart link.

I have some changes to this file, but it does not work even with the original file so I think there is more to this than my customizations to this file.

Laszlo

1 Mar 2011, 4:16 PM
#10
laszlo avatar

laszlo

New Zenner

Join Date:
Dec 2006
Posts:
53
Plugin Contributions:
0

Re: Shopping_cart link broken

A correction here, the page displayed is the main page (when I click the shopping cart link), the same as where http://www.carladaly.co.uk leads).

Laszlo

1 Mar 2011, 5:08 PM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Shopping_cart link broken

You have somethong incorrect in your files as this is not have a stock install functions

Double check your core files are default content
Compare to a fresh distribution or just overload them the includes folder content if you have adhered to the override system

1 Mar 2011, 7:54 PM
#12
laszlo avatar

laszlo

New Zenner

Join Date:
Dec 2006
Posts:
53
Plugin Contributions:
0

Re: Shopping_cart link broken

Found it. In the excitement of cleaning up old modules I deleted the folder includes/modules/pages/shopping_cart.

I also learnt the answer to my original question, every folder here is the entry point for the corresponding page where the url ends in the folder name.

Like index.php?main_page=shopping_cart has shopping_cart as entry point. This is what I tried to ask in the first post, if I knew this I would have known immediately where to look.

Thanks for the help,

Laszlo