Zen Cart Logo
Forums / All Other Contributions/Addons / Better Together add-on

Better Together add-on

Locked

Views: 2,123

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
26 Oct 2010, 11:46 PM
#1
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Better Together add-on

This might be a quick answer so here is the question.

I installed Better Together add-on on my test store. No problem. Just simple copying the files in the right place and it works fine. (I even translated all the working files for my bilingual store) Now, i do it on my actual store, going through the same copying and it does NOT show the matched up pair that DID show up in the test store. (the promo page works fine btw, so i can see that it does not SEE it anywhere).

I re-copied the files 3 times thinking i might have missed one, but no luck. So, where should i look to find the error so to speak?

27 Oct 2010, 12:47 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,701
Plugin Contributions:
56

Re: Better Together add-on

Did you do an install under admin->modules->order totals?

27 Oct 2010, 12:53 AM
#3
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Better Together add-on

Duh!!!!!
I knew it ws a quick answer. Thanks!

27 Oct 2010, 1:49 AM
#4
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Better Together add-on

Ok i am running into another little.... problem. When i get to the Module > Order Total, i do not see the right side with the Install button. The whole right side is absent. Any idea how to get it back?

27 Oct 2010, 3:28 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Better Together add-on

This sounds like you have duplicate copies of files or bad code/language files ...

Check that the files on the server are such that only the code files are in:
/includes/modules/order_total

and only the language files are in:
/includes/languages/english/modules/order_total

27 Oct 2010, 3:39 AM
#6
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Better Together add-on

I am not sure exactly what you mean.

Do you mean that the file has to be ONLY there and not anywhere else?

and only the language files are in:
/includes/languages/english/modules/order_total

Now, what if i have a bilingual site? can i put the files in the
/includes/languages/french/modules/order_total ?

27 Oct 2010, 3:49 AM
#7
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Better Together add-on

I removed all the files from that add-on, and i still do not see the right side. Now, i am not sure if i ever saw it before though.

What should i look at in case it has nothing to do with that add-on but something that was there BEFORE i installed it?

27 Oct 2010, 3:54 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Better Together add-on

What I mean is that the directory:
/includes/modules/order_total

is a automatically loading directory ... if you have extra files in there such as:
/includes/modules/order_total/ot_shipping.php

and then had a backup copy called something like:
/includes/modules/order_total/old_ot_shipping.php

what actually would happen is both files would try load and run into errors as the code is the same ...

If you have a file such as:
/includes/modules/order_total/ot_shipping.php

but then do not have a matching language file:
/includes/languages/english/modules/order_total/ot_shipping.php

you will then get errors ...

If you have the code file such as:
/includes/modules/order_total/ot_shipping.php

and accidentally load the code file into the language file:
/includes/languages/english/modules/order_total/ot_shipping.php

you will get errors ...

27 Oct 2010, 3:56 AM
#9
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Better Together add-on

Should i have the matching file in my Language /French section too?

27 Oct 2010, 4:07 AM
#10
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Better Together add-on

OK maybe (probably) i am not understanding the explanation (sorry for being dense), but the files i am given to copy are:

/includes/modules/order_total/ot_better_together.php

and
/includes/languages/english/modules/order_total/ot_better_together.php

???

27 Oct 2010, 4:50 AM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Better Together add-on

Check that all the files in the directory:
/includes/modules/order_total

have only php code in them ...

Check that all the files in:
/includes/languages/english/modules/order_total
/includes/languages/french/modules/order_total

have proper language define definitions in them ...

You should not see in the directory:
/includes/modules/order_total

any files that are not actual files ... meaning no backup files or copies of a good file with a different name added to it ...

27 Oct 2010, 10:00 AM
#12
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Better Together add-on

Thanks for spelling this all out for me.

I checked all you said, and i still cannot access the right side of the admin panel for the Module > Order Total (but i can see it for the Module > Shipping and Module > Payment). :(

27 Oct 2010, 12:27 PM
#13
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,701
Plugin Contributions:
56

Re: Better Together add-on

Double check the three directories

/includes/modules/order_total
/includes/languages/english/modules/order_total
/includes/languages/french/modules/order_total

do not have renamed files that still have a .php extension. See explanation here:

http://www.zen-cart.com/forum/showpost.php?p=943246&postcount=3

27 Oct 2010, 5:48 PM
#14
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Better Together add-on

No luck so far. Checked all the files. None are "resaved/renamed" in those folders. And the content is the same as for my test store in all those folder. Same files, same names. Wonder if it is not in a totally different folder/directory that the problem is. As i said, i do NOT remember if i ever had that right side since i installed my zencart, a couple of years ago as i probably never used it.

Trying to do more comparisons.

27 Oct 2010, 9:45 PM
#15
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Better Together add-on

Coming home, i tried to replace the REAL store files by the TEST store files (since those do work) and no luck. I thought it might be the French language pack that might have had a corrupt file (since i had noticed odd behaviors with the French order confirmation and invoices), so i replaced all the French files by fresh ones.

I still do not see the right side of the Module > Order_total either in French or in English. So maybe it has to do with something totally different?? I am lost now.

28 Oct 2010, 10:24 AM
#16
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Better Together add-on

Here is my Module > Order Total when i try to access it:

And from there, if i switch to French, this is what appears:

That made me think it was the French part that was corrupt but it turns out that from there, if i switch to English, i get this:

Whenever i click on Module > Order Total i am back to the first image (be it in French or in English).

Any idea where my problem is?

2 Nov 2010, 3:31 PM
#17
caroleas avatar

caroleas

Totally Zenned

Join Date:
Feb 2009
Posts:
896
Plugin Contributions:
0

Re: Better Together add-on

Found the culprit file, deleted it and it works fine now. Thanks!