Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Issue with shopping_cart.php

Issue with shopping_cart.php

Views: 6,821

Results 1 to 14 of 14
29 May 2011, 8:43 PM
#1
kaos9889 avatar

kaos9889

New Zenner

Join Date:
May 2011
Posts:
18
Plugin Contributions:
0

Issue with shopping_cart.php

Hello,

My website I am building is LightningCutlery.com, on the shopping cart page (when you have something in your cart) it states:

You may want to add some instructions for using the shopping cart here. (defined in includes/languages/english/shopping_cart.php)

Simple enough, problem is I have went and edited that file (includes/languages/english/shopping_cart.php) and it remains the same....

I am sure this is a straight forward fix but for the life of me I cannot figure out where else this would be.

When I inspect this element below is what it shows...

<div id="cartInstructionsDisplay" class="content">You may want to add some instructions for using the shopping cart here. (defined in includes/languages/english/shopping_cart.php)</div>

Thanks in advance,

Matthew

29 May 2011, 9:11 PM
#2
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Issue with shopping_cart.php

Matthew,

I know this may sound stupid...but did you save your changes before reloading the page?

I find myself making changes to php files all the time and then wonder why my code does not work.

Also, you may need to clear your cache or force a full refresh.

Chris

29 May 2011, 9:17 PM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,806
Plugin Contributions:
15

Re: Issue with shopping_cart.php

Many templates, either free or store-bought mistakenly add all files that COULD be customized to their file structure.

When you edit this file, you should save it to the includes/languages/english/pure_aqua/shopping_cart.php

29 May 2011, 9:18 PM
#4
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Issue with shopping_cart.php

also make sure you have write permission to that file . permission are set using your cpanel or your ftp program .

29 May 2011, 9:19 PM
#5
kaos9889 avatar

kaos9889

New Zenner

Join Date:
May 2011
Posts:
18
Plugin Contributions:
0

Re: Issue with shopping_cart.php

You have a good point lol, but no I checked that and even deleted the one server side then added the edited one. Then redownloaded it and it looks correct but does not show up on the website like that. :yuck:

29 May 2011, 9:22 PM
#6
kaos9889 avatar

kaos9889

New Zenner

Join Date:
May 2011
Posts:
18
Plugin Contributions:
0

Re: Issue with shopping_cart.php

dbltoe:

Many templates, either free or store-bought mistakenly add all files that COULD be customized to their file structure.

When you edit this file, you should save it to the includes/languages/english/pure_aqua/shopping_cart.php

Yea I tried that and made sure as well, still no such luck.

29 May 2011, 9:24 PM
#7
kaos9889 avatar

kaos9889

New Zenner

Join Date:
May 2011
Posts:
18
Plugin Contributions:
0

Re: Issue with shopping_cart.php

tony_sar:

also make sure you have write permission to that file . permission are set using your cpanel or your ftp program .

Yea I checked that as well, for both shopping_cart.php files in languages/english and in my templates folder are both set with owner full permissions to read and write.

29 May 2011, 9:26 PM
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,806
Plugin Contributions:
15

Re: Issue with shopping_cart.php

Sometimes, in the heat of the battle, we forget to clear the cache.

29 May 2011, 9:32 PM
#9
kaos9889 avatar

kaos9889

New Zenner

Join Date:
May 2011
Posts:
18
Plugin Contributions:
0

Re: Issue with shopping_cart.php

dbltoe:

Sometimes, in the heat of the battle, we forget to clear the cache.

I agree, but its not the case this time. I cleared the cache and still the same thing on chrome, IE and firefox...

Anywhere else that could be pulling from?

29 May 2011, 9:37 PM
#10
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,806
Plugin Contributions:
15

Re: Issue with shopping_cart.php

Would you post the includes/languages/english/pure_aqua/shopping_cart.php here, please.

29 May 2011, 9:40 PM
#11
kaos9889 avatar

kaos9889

New Zenner

Join Date:
May 2011
Posts:
18
Plugin Contributions:
0

Re: Issue with shopping_cart.php

dbltoe:

Would you post the includes/languages/english/pure_aqua/shopping_cart.php here, please.

Ok, I owe you all a drink... clearly I did not make sure this file was copied in correctly...

I must have not made sure I reloaded while in Dreamweaver between files...

:oops:

29 May 2011, 9:44 PM
#12
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,806
Plugin Contributions:
15

Re: Issue with shopping_cart.php

:shocking: ---- DREAMWEAVER EQUALS CATASTROPHE

Unless you are qualified as a black-belt Dreamweaver Developer, you will serve yourself better to leave it behind when working with Zen Cart.

Too many chances to get things messed up with proprietary code.:no:

29 May 2011, 9:46 PM
#13
kaos9889 avatar

kaos9889

New Zenner

Join Date:
May 2011
Posts:
18
Plugin Contributions:
0

Re: Issue with shopping_cart.php

I have started to realize that sad fact, oh well. But I will say you guys are a lot of help even when its an operator error :)

29 May 2011, 9:53 PM
#14
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,806
Plugin Contributions:
15

Re: Issue with shopping_cart.php

We all have PhD's from learning from our mistakes.:P

As I often say, "Pobody's Nerfect!"