ontech/PayPal-Mobile-Plugin-Zen-Cart — pull request #35 by mc12345678 (2012-09-04 07:33:26+00:00)
Title: Version allows for collecting shipping fees

Haven't made changes to prevent adding items to the cart if not collecting shipping fees by hard coding that option out of the process. Also, note that there may be some merge errors in the index.php, category.php, and product.php files because of the differences in implementation. The biggest difference is that the version posted will not show a version of 'More info...' if the product has attributes assigned, though other portions of the "entry" are clickable to show more information. Notice how in at least the first two files if attributes then echo ' ' else, show the button.

mobile.php has been updated to handle more functions needed to handle checkout (and potentially other functions) by simplifying some code, although now there is not strict control on which globals are accessible from the sub files. Would like to be able to test if the various current pages exist in the mobile folder, if they do not then to provide one of the error messages that could mean something to the programmer but nothing to the user. Ie. a single designated code for all errors that match the known condition(s).

The various checkout pages do not yet have great text at the top of them to provide to the customer, perhaps something better can be developed by others and provided back?

In essence this should contain all modifications that I have made, I believe it also includes the newer requested version of the ZenCart include of files such that this can be easily installed by anyone versus having to explain or get frustrated about trying to install as a new user. The instructions included describe where to move the provided files from and to to bring the installation in line with the expectations of ZCs authors.

Made a number of editorial changes to remove extra spaces and ending lines.

So far the modifications appear to work. Also added a few attributes to the product information page; however, have also set these to blank as requested by our own settings, though ultimately should pull this information from the appropriate ZC template area. All that can be thought of at the moment.