Forums / All Other Contributions/Addons / Fast and Easy Checkout

Fast and Easy Checkout

Views: 552,350

Results 2,001 to 2,020 of 2,177
13 Jun 2015, 2:57 PM
#2001
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Fast and Easy Checkout

I new version has been uploaded to the plugin section. I am using 'numinix-fec-addd484', dated 15 Aug 2014, with v1.5.4. should I upgrade to this new version? If yes, should I run the uninstall.sql file first?

Learning Fast.
Eden Craft Supplies

15 Jun 2015, 12:31 PM
#2002
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

Re: Fast and Easy Checkout

i currently download the latest version and upload all the files , but i am not able to login an blank error message popup, please help with this, and i use 1.14.4 version before and after upgrade the version remain 1.14.4 in control panel?

My website is igrab.com.au

12 Jul 2015, 6:33 AM
#2003
thudawg avatar

thudawg

New Zenner

Join Date:
Feb 2012
Location:
Alabama
Posts:
4
Plugin Contributions:
0

Re: Fast and Easy Checkout

Zen Cart 1.5.0 - stock installation, except the CSS JS Loader (required)
Linux Host
PHP 5.6.9 on the host

I installed FEC 2.1.2
All seemed to go as planned, enabled things per the TIPS section at the end of instructions. I did NOT do the Magic SEO optional, nor the Gift Wrapping optional.

When I go to Log In to user account, I get a HTTP500 error, when directed to the URL https://www.mywebsite.com/index.php?main_page=login&action=process
**Note:: The COWOA and FEC seem to work well, the only problem SEEMS TO BE logging into existing accounts.
**Note:: Creating a NEW account also seems to go well, but when trying to do another order using that account...fails as above

Looking at the logs, I see the failed attempts (I think) showing the following errors (3 in a row, parsed down to what I think are the important parts)
-->> ".....PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0....."
-->> ".....PHP Warning: file_get_contents(http://www.zen-cart.com/downloads.php?do=versioncheck&id=594%29: failed to open stream: no suitable wrapper could be found in....."
-->> ".....PHP Warning: in_array() expects parameter 2 to be array, null given in....."

Now - I think this is telling me that in the PHP Config of my server, that this allow_url_fopen is disabled, and I need to have it enabled (if they will do it for me)

Is this a correct conclusion?
Will enabling this fix it for me?
What can I do if they 'refuse' to "enable" it (assuming that is the course of action I should take)?
Are there any other "server considerations" I should address at the same time - to not have to open multiple tickets with the host?

If this is it - a list of "make sure your server is versions xxxxx, yyy and zzzz and has 'abc' enabled and 'def' set to blah blah blah...." type of DOC would be a welcome addition to the installation files.

Thanks in advance for any suggestions!

12 Jul 2015, 6:49 AM
#2004
thudawg avatar

thudawg

New Zenner

Join Date:
Feb 2012
Location:
Alabama
Posts:
4
Plugin Contributions:
0

Re: Fast and Easy Checkout

ThuDawg:

Zen Cart 1.5.0 - stock installation, except the CSS JS Loader (required)
Linux Host
PHP 5.6.9 on the host

I installed FEC 2.1.2
All seemed to go as planned, enabled things per the TIPS section at the end of instructions. I did NOT do the Magic SEO optional, nor the Gift Wrapping optional.

When I go to Log In to user account, I get a HTTP500 error, when directed to the URL https://www.mywebsite.com/index.php?main_page=login&action=process
**Note:: The COWOA and FEC seem to work well, the only problem SEEMS TO BE logging into existing accounts.
**Note:: Creating a NEW account also seems to go well, but when trying to do another order using that account...fails as above

Looking at the logs, I see the failed attempts (I think) showing the following errors (3 in a row, parsed down to what I think are the important parts)
-->> ".....PHP Warning: file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0....."
-->> ".....PHP Warning: file_get_contents(http://www.zen-cart.com/downloads.php?do=versioncheck&id=594%29: failed to open stream: no suitable wrapper could be found in....."
-->> ".....PHP Warning: in_array() expects parameter 2 to be array, null given in....."

Now - I think this is telling me that in the PHP Config of my server, that this allow_url_fopen is disabled, and I need to have it enabled (if they will do it for me)

Is this a correct conclusion?
Will enabling this fix it for me?
What can I do if they 'refuse' to "enable" it (assuming that is the course of action I should take)?
Are there any other "server considerations" I should address at the same time - to not have to open multiple tickets with the host?

If this is it - a list of "make sure your server is versions xxxxx, yyy and zzzz and has 'abc' enabled and 'def' set to blah blah blah...." type of DOC would be a welcome addition to the installation files.

Thanks in advance for any suggestions!

Upon looking a little closer... this seems related to doing a check for an updated FEC version (?) - MAYBE? If so, can this be disabled? A quick read...and I am by NO MEANS an expert...but enabling this "allow_url_fopen" function is stated to be a security vulnerability, so that is why it is likely disabled by default - if I can do without it by simply not doing this version check - then why not? Thoughts?

12 Jul 2015, 7:21 AM
#2005
thudawg avatar

thudawg

New Zenner

Join Date:
Feb 2012
Location:
Alabama
Posts:
4
Plugin Contributions:
0

Re: Fast and Easy Checkout

ThuDawg:

Upon looking a little closer... this seems related to doing a check for an updated FEC version (?) - MAYBE? If so, can this be disabled? A quick read...and I am by NO MEANS an expert...but enabling this "allow_url_fopen" function is stated to be a security vulnerability, so that is why it is likely disabled by default - if I can do without it by simply not doing this version check - then why not? Thoughts?

...and digging a little deeper - I changed the File Reference to "0" in the php file to disable the check - those errors go away, but my logins still fail.

So - that isn't the problem, but I STILL have the problem. Only now, there are no errors logging.

Thoughts anyone?

Log In attempt with the incorrect password gives an error as it should
Log In Attempt with the CORRECT password - gives the HTTP://500 error to the page https://www.mywebwiste.com/index.php?main_page=login&action=process

No log entries. I am stumped, or stupid....not sure which.

3 Aug 2015, 4:11 PM
#2006
norber avatar

norber

New Zenner

Join Date:
Aug 2015
Posts:
12
Plugin Contributions:
0

Re: Fast and Easy Checkout

Hi Everybody.
After almost a week of gogleing and lurking in this forum (specially in the FEC thread, of +200 pages), im about to throw in the towel.
Im working in a Zencart (v1.5.3) that uses Fast Easy Checkout (1.15.3)

The site owner wants to use the onepage checkout feature of the FEC (shipping+payment in the same page).
As you must know, FEC redirects checkout_shipping to just checkout, a single page with both features (shipping + payment).

In the other hand, the previous developer installed a mobile zencart template.
The mobile cart template uses the checkout in stages (first shipping, then checkout).

The problem i have is that seems that the redirection rule used by FEC is affecting the mobile version, then, when i go to checkout using mobile, instead of going to checkout_shipping, i end being redirected from, per example: site.com/index.php?main_page=shopping_cart&zenid=sttlirsledb05gq5c35irebjv1 to site.com/index.php?main_page=checkout&fecaction=null&zenid=sttlirsledb05gq5c35irebjv1
instead of site.com/index.php?main_page=checkout_shipping&zenid=sttlirsledb05gq5c35irebjv1

I think that its clear that the FEC is involved since you can see the adding of "fecaction=null" in the url.

I spent DAYS going back and forth, trying to find the script where the redirection happens, and in which context.

Maybe its more easy than i think, but to be honest, im very confused now. I just need that the redirection rule of FEC dont be applied to the mobile site.

If anyone can illuminate me, really, thanks in advance.

Best regards.
Norberto

3 Aug 2015, 4:49 PM
#2007
southshorepizza avatar

southshorepizza

Zen Follower

Join Date:
Sep 2012
Posts:
253
Plugin Contributions:
0

Re: Fast and Easy Checkout

I may be wrong on this one but I'm going to venture a guess to you as to where you need to add your code. I'm just learning this stuff but it looks like this is where it would go.

In your tpl_checkout_default.php file on line 36 it calls the tpl_checkout_stacked.php file which is where the single page with everything on it is located. I would venture a guess that you need an if( not a mobile user) { require tpl_checkout_stacked.php} statement here.

Again. I'm just a novice but that looks like it is the statement calling the page you don't want to be used into play. Hope it helps.

3 Aug 2015, 4:54 PM
#2008
norber avatar

norber

New Zenner

Join Date:
Aug 2015
Posts:
12
Plugin Contributions:
0

Re: Fast and Easy Checkout

southshorepizza:

I may be wrong on this one but I'm going to venture a guess to you as to where you need to add your code. I'm just learning this stuff but it looks like this is where it would go.

In your tpl_checkout_default.php file on line 36 it calls the tpl_checkout_stacked.php file which is where the single page with everything on it is located. I would venture a guess that you need an if( not a mobile user) { require tpl_checkout_stacked.php} statement here.

Again. I'm just a novice but that looks like it is the statement calling the page you don't want to be used into play. Hope it helps.

Thanks, southshorepizza! I will take a look. Thanks for your fast reply!

3 Aug 2015, 6:48 PM
#2009
norber avatar

norber

New Zenner

Join Date:
Aug 2015
Posts:
12
Plugin Contributions:
0

Re: Fast and Easy Checkout

Im checking the behavior after your advise, southshorepizza.
Maybe i should have to point that the site uses one template for web version and another for mobile. Its not a one and only responsive template. One template (web) or another (mobile) is used depending of the case of the user agent.

In the template that the store uses for web version, i can find tpl_checkout_default.php as you suggested, but in the mobile site template folder, that file is not present. I tried to copy that file and change the includes paths (so i hav a FECalized one page checkout in mobile) but it was a mess.

The files related to checkout in the mobile template folder are:

tpl_checkout_shipping_default.php
tpl_checkout_shipping_address_default.php
tpl_checkout_payment_default.php
tpl_checkout_payment_address_default.php
tpl_checkout_confirmation_default.php
tpl_checkout_success_default.php

I mean, if you load the site in a web browser, you use the sites default template. And if you open the site in a mobile device, then the mobile-zencart template is loaded, and this last one doesnt use tpl_checkout_default.php.

Seems that theres some rule above both templates where the redirection of the FEC appears, but im not sure about that.

I found that something related to it could be find at:
\includes\modules\pages\checkout\header_php.php

Here:

$form_action_url = zen_href_link(FILENAME_CHECKOUT, 'fecaction=null', 'SSL'); //here is where the "fecaction=null" code is added

But that is when you already are in the checkout page.

I investigated if in the shopping cart module (\includes\modules\pages\checkout\shopping_cart\header_php.php) the destination is defined in any way, but nothing.

If i can isolate the part where the FEC redirects from checkout_shipping to just checkout, maybe i can set some conditional there, where i can ignore it if its in mobile.

Thanks again, southshorepizza and everyone who could help!

3 Aug 2015, 7:05 PM
#2010
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Fast and Easy Checkout

norber:

Im checking the behavior after your advise, southshorepizza.
Maybe i should have to point that the site uses one template for web version and another for mobile. Its not a one and only responsive template. One template (web) or another (mobile) is used depending of the case of the user agent.

In the template that the store uses for web version, i can find tpl_checkout_default.php as you suggested, but in the mobile site template folder, that file is not present. I tried to copy that file and change the includes paths (so i hav a FECalized one page checkout in mobile) but it was a mess.

The files related to checkout in the mobile template folder are:

tpl_checkout_shipping_default.php
tpl_checkout_shipping_address_default.php
tpl_checkout_payment_default.php
tpl_checkout_payment_address_default.php
tpl_checkout_confirmation_default.php
tpl_checkout_success_default.php

I mean, if you load the site in a web browser, you use the sites default template. And if you open the site in a mobile device, then the mobile-zencart template is loaded, and this last one doesnt use tpl_checkout_default.php.

Seems that theres some rule above both templates where the redirection of the FEC appears, but im not sure about that.

I found that something related to it could be find at:
\includes\modules\pages\checkout\header_php.php

Here:

$form_action_url = zen_href_link(FILENAME_CHECKOUT, 'fecaction=null', 'SSL'); //here is where the "fecaction=null" code is added

> 
> But that is when you already are in the checkout page.
> 
> I investigated if in the shopping cart module (\includes\modules\pages\checkout\shopping_cart\header_php.php) the destination is defined in any way, but nothing.
> 
> If i can isolate the part where the FEC redirects from checkout_shipping to just checkout, maybe i can set some conditional there, where i can ignore it if its in mobile.
> 
> Thanks again, southshorepizza and everyone who could help!


What mobile template is it?
They usually detect mobile vrs other first thing.
Was all this installed or did you add the mobile site?
3 Aug 2015, 7:15 PM
#2011
kobra avatar

kobra

Black Belt

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

Re: Fast and Easy Checkout

norber:

but in the mobile site template folder, that file is not present
If not overridden by the template then zencart uses the template_default copy

Zen-Venom Get Bitten

3 Aug 2015, 10:16 PM
#2012
norber avatar

norber

New Zenner

Join Date:
Aug 2015
Posts:
12
Plugin Contributions:
0

Re: Fast and Easy Checkout

linuxguy2:

What mobile template is it?
They usually detect mobile vrs other first thing.
Was all this installed or did you add the mobile site?

I took the job of this site with the mobile template already installed and FEC configured by someone else.
I checked the original downloaded zip and the mobile template is named "zencart-mobile". I know that the name is pretty common and should be 1000 templates with names like this.
I checked the mobile files and seems that checks for the user agent then, if the case is mobile, it loads that template.

When im in the shopping cart in mobile mode (ie: index.php?main_page=shopping_cart&zenid=7pngq0rtqp6pjc55ifnjtim5t7) and i hit "checkout", i can see that it goes after checkout_shipping (ie:** index.php?main_page=checkout_shipping&zenid=7pngq0rtqp6pjc55ifnjtim5t7**), then, a split sec later, it redirects to **index.php?main_page=checkout&zenid=7pngq0rtqp6pjc55ifnjtim5t7 **, and, a split sec more, it lands in index.php?main_page=checkout&fecaction=null&zenid=7pngq0rtqp6pjc55ifnjtim5t7

The result is that when it ends in index.php?main_page=checkout, the content after the header doesnt show, and i think that it happens because there is no tpl_checkout_default.php in mobiles template folder (\includes\templates\default_mobile\templates)

Thanks for your help and time, i really appreciate it.

4 Aug 2015, 12:59 AM
#2013
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Fast and Easy Checkout

norber:

I took the job of this site with the mobile template already installed and FEC configured by someone else.
I checked the original downloaded zip and the mobile template is named "zencart-mobile". I know that the name is pretty common and should be 1000 templates with names like this.
I checked the mobile files and seems that checks for the user agent then, if the case is mobile, it loads that template.

When im in the shopping cart in mobile mode (ie: index.php?main_page=shopping_cart&zenid=7pngq0rtqp6pjc55ifnjtim5t7) and i hit "checkout", i can see that it goes after checkout_shipping (ie:** index.php?main_page=checkout_shipping&zenid=7pngq0rtqp6pjc55ifnjtim5t7**), then, a split sec later, it redirects to **index.php?main_page=checkout&zenid=7pngq0rtqp6pjc55ifnjtim5t7 **, and, a split sec more, it lands in index.php?main_page=checkout&fecaction=null&zenid=7pngq0rtqp6pjc55ifnjtim5t7

The result is that when it ends in index.php?main_page=checkout, the content after the header doesnt show, and i think that it happens because there is no tpl_checkout_default.php in mobiles template folder (\includes\templates\default_mobile\templates)

Thanks for your help and time, i really appreciate it.

What version of ZC?

I think the key here is to determine if it's loading a separate set of files for the mobile version or if it's a plugin/overlay on the regular ZC installation.

Is the zip file named zencart-mobile.zip?
(unzip that file in a temp directory and check that all the folders and files are in your production installation. i.e. are all the files there, As Kobra stated "If not overridden by the template then zencart uses the template_default copy" and that would default to the non-mobile version.

Can you tell if FEC was downloaded from Zen Cart or from numinix? If it's a numinix product they may be able to help.

Sorry for all the questions but with a few questions either you or one of us may be able to help figure this out.
Beside that I've been looking for a simple mobile solution myself.

4 Aug 2015, 1:43 AM
#2014
mikeyfm avatar

mikeyfm

New Zenner

Join Date:
Aug 2015
Location:
UK
Posts:
15
Plugin Contributions:
0

Re: Fast and Easy Checkout

I have just installed FEC with tableau template. if I have the split layout turned on how can I get it to adjust if the screen is narrow for example on a mobile devise so it responds in the same way as the rest of the tableau template does?

And my second issue is that if the the one page check out is false then the second page(the confirmation page) does not have any styling or layout to it. it is as if the css file is not being read. I have gone back through the install and cannot see any css missing in my install.

Can anyone help.

Thank you.

4 Aug 2015, 1:46 AM
#2015
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Fast and Easy Checkout

linuxguy2:

What version of ZC?

I think the key here is to determine if it's loading a separate set of files for the mobile version or if it's a plugin/overlay on the regular ZC installation.

Is the zip file named zencart-mobile.zip?
(unzip that file in a temp directory and check that all the folders and files are in your production installation. i.e. are all the files there, As Kobra stated "If not overridden by the template then zencart uses the template_default copy" and that would default to the non-mobile version.

Can you tell if FEC was downloaded from Zen Cart or from numinix? If it's a numinix product they may be able to help.

Sorry for all the questions but with a few questions either you or one of us may be able to help figure this out.
Beside that I've been looking for a simple mobile solution myself.

norber

I carefully read your original post and see the ZC & FEC version info.
Assuming the mobile version is a plugin. Because the URLS have shopping_cart and checkout_shipping in them those two files must be modified or have override files.
Check you mobile zip file and see if they exist or the instructions say to modify them.

4 Aug 2015, 3:11 AM
#2016
norber avatar

norber

New Zenner

Join Date:
Aug 2015
Posts:
12
Plugin Contributions:
0

Re: Fast and Easy Checkout

linuxguy2:

norber

I carefully read your original post and see the ZC & FEC version info.
Assuming the mobile version is a plugin. Because the URLS have shopping_cart and checkout_shipping in them those two files must be modified or have override files.
Check you mobile zip file and see if they exist or the instructions say to modify them.

LinuxGuy2, Kobra, SouthShorePizza; first of all, thanks for taking the time to read and help me, guys.
Well, what i did the last hours was to check the files looking for all the requires from the beggining.
That is, from the index.php in the root of the site. May be its an excercise on futility but im running out of options.

I put some echoes in the page to see what its loading each time:
To not confuse you, i will name the template folders as "web_template" and mobile_template". Heres what ive found:

require($code_page_directory . '/' . $value);
includes/modules/pages/index/

require($template->get_template_dir('html_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/html_header.php');
includes/templates/mobile_template/common/html_header.php

require($template->get_template_dir('main_template_vars.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/main_template_vars.php');
includes/templates/mobile_template/common/main_template_vars.php (*)

The funny thing, is that after the line above, if i put:
echo DIR_WS_TEMPLATE;
i got "includes/templates/web_template", INSTEAD OF "includes/templates/mobile_template"

and, after that, if i put
echo $current_page_base;
i got "index";

(*) on includes/templates/mobile_template/common/main_template_vars.php i put another echo to get where it was pulled the body code:
includes/modules/pages/index/main_template_vars.php
That folders structure doesnt come in the zip, so i think that its not overwritten by the installer

Regarding the instructions on the zip of the mobile, i got:

  1. Extract the contents of the zip file you've just downloaded.
  2. Put the entire folder zencart-mobile-install in the root directory of your zencart installation.
  3. navigate to YOURSITE.com/YOUR_ZENCART_INSTALL_DIRECTORY(usually cart or store) /zencart-mobile-install/
  4. Choose a username and password for the mobile configuration tool.
  5. Select your mobile logo image and your colors and let the installer do the rest.
  6. Enjoy a fully functional mobile version of your website!

Seems that the installer copies and overwrites files, but the problem is to know which ones.
Inside the zip theres another zip (?) with the template files. Seems that the first "stage" of the zip is the installer itself that deflates and copies the contents of the one that is inside it.

Regarding if it is under the template or plugin category, the creators (http://www.mobilezencart.com/) define it as a "module".

Thanks again guys.

4 Aug 2015, 3:21 AM
#2017
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Fast and Easy Checkout

norber:

LinuxGuy2, Kobra, SouthShorePizza; first of all, thanks for taking the time to read and help me, guys.
Well, what i did the last hours was to check the files looking for all the requires from the beggining.
That is, from the index.php in the root of the site. May be its an excercise on futility but im running out of options.

I put some echoes in the page to see what its loading each time:
To not confuse you, i will name the template folders as "web_template" and mobile_template". Heres what ive found:

require($code_page_directory . '/' . $value);
includes/modules/pages/index/

require($template->get_template_dir('html_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/html_header.php');
includes/templates/mobile_template/common/html_header.php

require($template->get_template_dir('main_template_vars.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/main_template_vars.php');
includes/templates/mobile_template/common/main_template_vars.php (*)

The funny thing, is that after the line above, if i put:
echo DIR_WS_TEMPLATE;
i got "includes/templates/web_template", INSTEAD OF "includes/templates/mobile_template"

and, after that, if i put
echo $current_page_base;
i got "index";

(*) on includes/templates/mobile_template/common/main_template_vars.php i put another echo to get where it was pulled the body code:
includes/modules/pages/index/main_template_vars.php
That folders structure doesnt come in the zip, so i think that its not overwritten by the installer

Regarding the instructions on the zip of the mobile, i got:

  1. Extract the contents of the zip file you've just downloaded.
  2. Put the entire folder zencart-mobile-install in the root directory of your zencart installation.
  3. navigate to YOURSITE.com/YOUR_ZENCART_INSTALL_DIRECTORY(usually cart or store) /zencart-mobile-install/
  4. Choose a username and password for the mobile configuration tool.
  5. Select your mobile logo image and your colors and let the installer do the rest.
  6. Enjoy a fully functional mobile version of your website!

Seems that the installer copies and overwrites files, but the problem is to know which ones.
Inside the zip theres another zip (?) with the template files. Seems that the first "stage" of the zip is the installer itself that deflates and copies the contents of the one that is inside it.

Regarding if it is under the template or plugin category, the creators (http://www.mobilezencart.com/) define it as a "module".

Thanks again guys.

Norbert,

This new information will help a lot. I take it you're using the paid version but I/we may be able to extract enough information from the free version to help.
See if you can look at the files in the second zip file. That's probably where all the files you need to look at are.
It will be tomorrow before I have time to look at this again.

4 Aug 2015, 3:51 AM
#2018
norber avatar

norber

New Zenner

Join Date:
Aug 2015
Posts:
12
Plugin Contributions:
0

Re: Fast and Easy Checkout

linuxguy2:

Norbert,

This new information will help a lot. I take it you're using the paid version but I/we may be able to extract enough information from the free version to help.
See if you can look at the files in the second zip file. That's probably where all the files you need to look at are.
It will be tomorrow before I have time to look at this again.

I downloaded the zencart from zencart.com.
I unzipped the zen-cart contents in a folder. Its a newer version than the one i have (1.5.4 and i have the 1.5.3) but i think that theres not so much difference.

I took the contents in the mobile module 2nd zip (a folder named "include")and pasted it in the zencart folder i decompressed earlier.
The only file to be overwritten was includes/classes/template_func. the rest were new files.

I asked the developers of mobile zencart if they knew of some conflict between the module and FEC some time ago and they told me "that they were not aware of it, but that if i wanted the money back thats ok". The last part sounded weird.

The worst scenario for me is that theres no conflict in vanilla versions of both (zencart and mobile module), and the conflict is in some modification done in some file by the previous developer. I saw dozens of test files in there (ie: main_template_vars.php_v001, main_template_vars.php_v002 and so on). Finding the problem in that condictions will be like find a needle in a haystack, because i will lost any reference to the real, documented thing.

Thx!

4 Aug 2015, 2:57 PM
#2019
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Fast and Easy Checkout

norber:

I downloaded the zencart from zencart.com.
I unzipped the zen-cart contents in a folder. Its a newer version than the one i have (1.5.4 and i have the 1.5.3) but i think that theres not so much difference.

I took the contents in the mobile module 2nd zip (a folder named "include")and pasted it in the zencart folder i decompressed earlier.
The only file to be overwritten was includes/classes/template_func. the rest were new files.

I asked the developers of mobile zencart if they knew of some conflict between the module and FEC some time ago and they told me "that they were not aware of it, but that if i wanted the money back thats ok". The last part sounded weird.

The worst scenario for me is that theres no conflict in vanilla versions of both (zencart and mobile module), and the conflict is in some modification done in some file by the previous developer. I saw dozens of test files in there (ie: main_template_vars.php_v001, main_template_vars.php_v002 and so on). Finding the problem in that condictions will be like find a needle in a haystack, because i will lost any reference to the real, documented thing.

Thx!

norber

I know you said it was the paid version but be sure it's the zencart-mobile premium install as I don't think the free install includes the mobile check out module.
Also it sound like there's an admin section to this module.
Check all the Mobile and the ZC admin sections for settings. Maybe it's just not enabled....

You said it works with the vanilla versions. Is that without FEC installed?
Or did you do a out of the box ZC test installation with FEC to see if it works?

Some trouble shooting methods I use.
1:
In the ZC folder online view details > sort on date modified and check to see which dates are different.
These are most likely the files that have been messed with.
OR
2:
With a FTP program like Winscp download entire ZC folder to your local machine so you have the working production install.
3:
In the folder you download to, view details > sort on date modified and check to see which dates are different.
These are most likely the files that have been messed with.
4:
To see what has been changed in the files, download a program that compares files like
NotePad++ you can get here. https://notepad-plus-plus.org/download/v6.8.1.html
(There are others but this one is simple to use and gets the job done)
Be sure you select the plugins option or just take the default installation settings.
5:IMPORTANT!
After you install and start the program in the menu bar go to Plugins > Plugin Manager and install the "Compare" plugin.
6:
Close and restart the program. Drag and drop the two files you want to check into it and go to Plugins > Compare > Compare.
7:
Be sure the file extensions are php or it won't give you a clear display of the differences.
Personally I don't use the nav bar on the right as it takes up space.

Hope that helps,

Meanwhile I'll try to download and install zencart-mobile.

4 Aug 2015, 3:20 PM
#2020
linuxguy2 avatar

linuxguy2

Zen Follower

Join Date:
Sep 2013
Location:
Texas
Posts:
315
Plugin Contributions:
0

Re: Fast and Easy Checkout

linuxguy2:

norber

I know you said it was the paid version but be sure it's the zencart-mobile premium install as I don't think the free install includes the mobile check out module.
Also it sound like there's an admin section to this module.
Check all the Mobile and the ZC admin sections for settings. Maybe it's just not enabled....

You said it works with the vanilla versions. Is that without FEC installed?
Or did you do a out of the box ZC test installation with FEC to see if it works?

Some trouble shooting methods I use.
1:
In the ZC folder online view details > sort on date modified and check to see which dates are different.
These are most likely the files that have been messed with.
OR
2:
With a FTP program like Winscp download entire ZC folder to your local machine so you have the working production install.
3:
In the folder you download to, view details > sort on date modified and check to see which dates are different.
These are most likely the files that have been messed with.
4:
To see what has been changed in the files, download a program that compares files like
NotePad++ you can get here. https://notepad-plus-plus.org/download/v6.8.1.html
(There are others but this one is simple to use and gets the job done)
Be sure you select the plugins option or just take the default installation settings.
5:IMPORTANT!
After you install and start the program in the menu bar go to Plugins > Plugin Manager and install the "Compare" plugin.
6:
Close and restart the program. Drag and drop the two files you want to check into it and go to Plugins > Compare > Compare.
7:
Be sure the file extensions are php or it won't give you a clear display of the differences.
Personally I don't use the nav bar on the right as it takes up space.

Hope that helps,

Meanwhile I'll try to download and install zencart-mobile.

Maybe you already saw this but one of the core files they add to is in:
/your catalog folder/include/class/template_func.php
Around lines 45 they add: (Be sure it's in there)
global $deviceType;
if($deviceType != FULL_SITE_DISPLAY_DEVICE)
$current_template = DIR_WS_TEMPLATES.DIR_MOBILE_TEMPLATE;