Community Add-Ons
| Maintainers: | loran86 |
iOSC3
for osCommerce Online Merchant v2.2
This is Release v3.0 of iOSC - mobile version or OSCommerce for iPhone.
Thanx to Bumbarash at Zaramir for his initial contribution and his great job.
This new version has been fully rewrote in order to have a (almost) full CSS architecture and functional program.
This new version includes MATC contribution, pls install it or remove MATC module in mobile_create_account.php.
See example at http://www.hydrozone.fr.
Changes in v3.0
- full CSS support (CSS2 + CSS3)
- new page added : mobile_catalogue.php (contains categories)
- mobile_index.php has been modified to have a homepage i/o categories page directly
- all paths bugs fixed (i think so lol)
- some adds or modifications in configuration file (includes/configure.php)
This is a full package with installation and description files inside.
Legend:
Download
Report
Changelog v5.4rev2:
* RedirectCancelled html variable removed from mobile footer and mobile header and added to mobile application top and changed to registered session variable.
This will not show any more redirectCancelled=true in the urls and keep them clean for indexing and avoid duplicate urls.
* Session unregister for redirectCancelled added to mobile_checkout_confirmation.php to ensure that the automatic redirect will work again when returning from external payment sites.
* Fix in mobile footer one closing </div> tag removed, if the show page parse time feature is used it will now show correct (thanks to mrossi)
* Fix for an error in the update instructions iOSC 5.4 to iOSC5.4rev1 included in the package iOSC 5.4rev1. (Thanks to Roaddoctor)
* Support for images not showing, added to the troubleshooting section in install. instructions.
Full Package
Update instr. included
* Missing redirect for the new manufacturers listing added in includes/application_top.php (thanks to Bernhard Bauer)
* Fix for language parameter to show only when needed in includes/footer.php and includes/boxes/mobile_version.php
* Fix to redirect reviews.php to mobile_reviews.php in catalog/includes/application_top.php
Full Package
Update instr. included
Fix for the new mobile_reviews.php page:
This code should be removed in the mobile redirect function at the end:
In: catalog/includes/application_top.php
if ($url_basename == 'reviews.php') {
$mobile_site = str_replace('reviews.php', 'mobile_catalogue.php', $_SERVER['REQUEST_URI']); // mobile_product_reviews.php would not work
}
Fix for the new mobile_reviews.php page:
This code should be removed in the mobile redirect function at the end:
In: catalog/includes/application_top.php
if ($url_basename == 'reviews.php') {
$mobile_site = str_replace('reviews.php', 'mobile_catalogue.php', $_SERVER['REQUEST_URI']); // mobile_product_reviews.php would not work
}
NOT a full package.
Only these instructions includedFix for the new mobile_reviews.php page:
This code should be removed in the mobile redirect function at the end:
In: catalog/includes/application_top.php
if ($url_basename == 'reviews.php') {
$mobile_site = str_replace('reviews.php', 'mobile_catalogue.php', $_SERVER['REQUEST_URI']); // mobile_product_reviews.php would not work
}
Fix for the new mobile_reviews.php page:
This code should be removed in the mobile redirect function at the end:
In: catalog/includes/application_top.php
if ($url_basename == 'reviews.php') {
$mobile_site = str_replace('reviews.php', 'mobile_catalogue.php', $_SERVER['REQUEST_URI']); // mobile_product_reviews.php would not work
}
NOT a full package.
Only these instructions included
Changelog v5.4:
* Manufacturer selection menu added in mobile_catalogue.php
* "delete address" button added for additional adresses in mobile_address_book.php
* Layout clean up and "Back" buttons added in mobile account files and, mobile_product_reviews.php and mobile_product_reviews_write.php
* box width adjusted and boxes centered on all mobile pages
* Bugfix in /includes/product-header.php:
SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT changed to MOBILE_IMAGE_WIDTH, MOBILE_IMAGE_HEIGHT
* "Continue Shopping" button code change in mobile_shopping_cart.php for more modification stability. (thanks to Bernhard Bauer)
* New files mobile_product_reviews_info.php and mobile_reviews.php added
Link to mobile_reviews.php added in Mobile_about.php
* "Back" buttons added to mobile_product_reviews.php and mobile_product_reviews_write.php
Full Package
Update instructions included
Changelog v5.3rev4:
* fix in mobile_shopping_cart.php (Thanks to Bernhard Bauer)
- options were lost when product quantity was updated
- remove button didn't work in all cases
* last <div> tag moved from the end of all mobile files to mobile_footer.php before closing </html> tag (thanks to Roaddoctor)
* fix in mobile/includes/modules/mobile_address_book_details.php
- gender selection menu showed "female" by default when a new address was created.
changed to show "please select" by default.
* "<h1>" tag added to the page title, which is important for SEO and indexation. (thanks to Roaddoctor)
* fix in mobile-address_book_process.php
- "include('includes/form_check.js.php')" was missing at the end of the file
Full Package
update instructions included
Changelog v5.3rev3:
* minor layout fix in mobile_checkout_payment.php (Thanks to Bernhard Bauer)
* fix in iphone.css to remove image frames in IE (Thanks to Bernhard Bauer)
Full Package
Changelog v5.3rev2:
* bugfix in mobile_password_forgotten.php (Thanks to urlucky)
- "Back" button didn't work
* fix in mobile_create_account-success.php (fix in contact_us.php language files) (Thanks to urlucky)
- "contact" linked to "desktop" contact_us
* layout fix in mobile_checkout_payment.php (Thanks to rudolfl)
- <div id="messageStack"> changed to <div id="messageStackError">
* fix in mobile/includes/header.php
- "noindex, nofollow" removed
* layout fix in mobile_shopping_cart.php (thanks to Roaddoctor)
- unbalanced <div> commands
* fix in update file (thanks to Roaddoctor)
- "catalog/mobile_shopping_cart.php"
instead of:
"catalog/mobile_checkout_shopping_cart.php"
Full Package
See iOSC 5.3.rev1 for OSC 2.2rc2a here: www.sarplataygemas.com/mobile_index.php (live shop)
Changelog v5.3rev1:
* bugfix in mobile_contact_us.php
* new coding in mobile_checkout_shipping.php
and mobile_checkout_payment.php
- same code base as in the desktop pages now.
- only css and layout tag changes to match the mobile layout.
- Should work now with all shipping and payment modules which work correct in the desktop pages.
* bots noindex-nofollow removed in checkout files
* missing button definitions in language files added to install and update instructions
* mobile device list updated
Full Package
See iOSC 5.3. for OSC 2.2rc2a here: www.sarplataygemas.com/mobile_index.php (live shop)
Changelog v5.3:
* Radio buttons for gender selection changed to more touchscreen friendly drop down menu in the mobile account files.
* "create account" and "enter account" text links in mobile index changed to more touchscreen friendly buttons.
* Layout changes in mobile shopping cart: quantity "update" button moved to each product, "remove" button added to each product.
* mobile checkout shipping and payment:
a. shipping and payment method radio buttons changed to more touchscreen friendly big selection areas like the category selector in mobile catalogue.
b. text link "change address" replaced by more touch screen friendly big selection area.
c. fix for non registering comments.
d. "back" and "continue" buttons placed at the bottom of the page.
* mobile checkout shipping and payment address:
a. radio buttons for address selection replaced by more touchscreen friendly auto-update drop down menus.
b. radio buttons for gender selection changed to more touchscreen friendly drop down menu in the new address section.
c. new mobile_checkout_new_address.php file added to match the mobile layout.
* in mobile checkout confirmation:
a. Additional payment description moved from the top of the page below the payment method.
b. Fix for missing comments.
c. Text links "change" replaced by more touch screen friendly buttons.
d. "back" and "continue" buttons placed at the bottom of the page.
* Fix in mobile checkout payment: missing javascript_validation. (thanks to Bernhard Bauer)
* Fix for missing image alt text in mobile product info. (thanks to Bernhard Bauer)
* Fix for sql query: "null" replaced with '' in the set function entry for some configuration settings. (thanks to Davelaar)
* php 5.3 compatibility fix in mobile/includes/classes/mobile_redirect.php (thanks to Davelaar)
function "split" changed to "explode".
* fix to avoid Chrome or IE's "Confirm Form Resubmission" message when jumping back from mobile_checkout_payment.php to mobile_checkout_shipping.php
* html tags rewritten in mobile header for better validation (thanks to roaddoctor)
<"noindex, nofollow"> tags removed and added only to checkout pages
* fix in mobile_catalogue.php: no products message added when empty category (thanks to roaddoctor)
* fix in mobile footer and header to prevent repetition of the "redirectCancelled=true" parameter when toggling more then once between "classic" and "mobile" site.
Full Package
Changelog v5.1(rev3):
* bug fix in the mobile redirect script in includes/application_top.php
The bug caused incorrect mobile urls for subcategories.
Full Packege
Changelog v5.1(rev2):
* Import iphone.css script moved from mobile/includes/application_top.php to mobile/includes/header.php
to avoid "Cannot modify header information - headers already sent by ....." errors.
* alternative layout for mobile_checkout_shipping.php added (All credits and thanks to oscommerce forum member pixclinic)
* bug fix in the mobile redirect script in includes/application_top.php
The bug caused incorrect mobile urls when the shop url included dash.
* layout changes in mobile_address_book.php:
primary address moved before address
* layout changes in mobile_create_account.php:
- "Note: If you have already an account...." added to top of the page
- Titles: "Company Details" and " Your Address" added
* Missing language definition for "Advanced search" button added
* Layout corrections in: mobile_account_history_info.php
- Added: mobile/includes/modules/download.php with layout adapted to mobile site.
* Code in mobile/includes/classes/payment.php cleaned and updated to oscommerce-2.2rc2a
* fix in mobile_products_reviews.php added review status to query
Full Package
Changelog v5.1:
* most configuration settings have been moved from mobile/includes/configure.php
to sql entries in Admin/Configuration/Mobile Site.
* a mobile advanced search page has been added, which includes the same advanced search options like in the classic advanced search page.
(each advanced search option can be switched on/off in Admin/Configuration/Mobile Site.
* Bugfix in mobile_advanced_search.php: manufacturers search option didn't work correct.
* The function: 'mobile_session' has been changed to a more generic approach:
It is not necessary to include the filename of the file where the function is used.
* Added troubleshooting for the error: Cannot modify header information - headers already sent by .....
Removed all white spaces and blank lines from the end of all files.
* Update instructions included for iOSC3 v4.x
* Additional Add-On's have been separated from the main contribution iOSC 3.0(5.1) to make updates and maintenance easier.
Anyone who integrated other contributions to the mobile version iOSC is invited to add his solutions to this package.
Contribution support 1.0 for iOSC 5.x
http://addons.oscommerce.com/info/8578
* Aditional support for the following have been added to the separate package:
- Ask a Product Question 2.4.1
http://addons.oscommerce.com/info/1779
- More Pics 2.0.7 Combined
http://addons.oscommerce.com/info/1611
- osCommerce Google Analytics module GA2.21
http://addons.oscommerce.com/info/3756
- Discount Code
http://addons.oscommerce.com/info/7397
- osCommerce Google Analytics module GA2.21
http://addons.oscommerce.com/info/3756
- Ship In Cart v2.2.2a
http://addons.oscommerce.com/info/1781
Full Package
Changelog v5.1:
* most configuration settings have been moved from mobile/includes/configure.php
to sql entries in Admin/Configuration/Mobile Site.
* a mobile advanced search page has been added, which includes the same advanced search options like in the classic advanced search page.
(each advanced search option can be switched on/off in Admin/Configuration/Mobile Site.
* The function: 'mobile_session' has been changed to a more generic approach:
It is not necessary to include the filename of the file where the function is used.
* Update instructions included for iOSC3 v4.x
* Installation instructions for Additional Add-On's added
- Ask a Product Question 2.4.1
http://addons.oscommerce.com/info/1779
- More Pics 2.0.7 Combined
http://addons.oscommerce.com/info/1611
Update instructions included for iOSC3 v5.0
Have a look at http://www.sarplataygemas.com/mobile_index.php
This is a live shop.....
Thanks to the original writers of this contribution.
Changelog v5.0(rev2):
* some compatibility issues with Internet Explorer resolved.
- pop_up_window in mobile_product_info.php, mobile_product_reviews.php
- classic-link in mobile_footer.php centered
- write review link in mobile_product_reviews.php
* missing style for classic link added to iphone.css
* 3 bugs in mobile_create _account.php
- ('Removeshouting($state)' code snippet for sloppy words cleaner contribution removed)
- link to 'mobile_create_account_success.php' corrected
- link to language file corrected
* added 2 missing files:
- images/zoom.gif for the zoom function of the product image
- mobile_popup_image.php (it is just a renamed copy of the original popup_image.php file)
* compatibility code added back to mobile/includes/aplication_top.php
Update instructions included for iOSC3 v5.0
Have a look at http://www.sarplataygemas.com/mobile_index.php
This is a live shop.....
Thanks to the original writers of this contribution.
Changelog v5.0:
* Manual redirect and auto redirect rewritten.
* Full support for SEO URLs USU5 added
* Optional box with mobile link added to classic site
* Device list in mobile_redirect.php changed to the list which can be downloaded periodically from http://detectmobilebrowsers.com/
* Full language support for links between classic and mobile site
* Full category and product support for links between classic and mobile site
* PC Button changed to text-link with language support and moved to the left
* Main switcher for IOSC added to: Admin: Configuration: My Store
* Specials and new_products added, buttons moved to footer
* Filenames and definitions in configure.php changed to allow easier rediredt (mobile_search.php to mobile_advanced_search.php etc.)
* Code for Must Agree to Terms and Conditions addon removed and added in separate installation.
* In image, file and iphone.css paths 'DIR_WS_HTTP_CATALOG' added for compatibility with SEO URLs.
* Product_info module included in catalogue.php. This allows to list categories AND products if present in a categorie.
This makes 'mobile_products.php' not necessary anymore and allows easier links, autoredirect and SEO URLs support between categories and product listings.
* Layout changes in checkout_confirmation: cart content moved up before total modules.
* Minor layout changes to adapt o layout in checkout_payment.
* Zoom function (pop-up-image) for product image added in mobile_product_info.php, mobile_product_reviews.php and mobile_product_reviews_write.php.
* Continue-button added in mobile_shopping_cart.php when empty.
* 'Continue shopping button' which links to mobile_catalog added to mobile-shopping-cart.
* In mobile_header.php: hard coded 'charset=iso-8859-1' changed to:'charset=<?php echo CHARSET; ?>'
@import iphone.css moved to application_top.php
button links changed for compatibility with certain mobile devices and SEO URLs.
* Minor layout changes in some pages and iphone.css
* erased unused files: mobile_mobile.php
mobile_products.php
mobile_product_thumb.php
mobile/includes/iheader.php
mobile/includes/classes/html2text.php
mobile/includes/classes/index.html
mobile/includes/mobile.css
mobile/includes/modules/index.html
mobile/includes/modules/matc.php
mobile/includes/modules/payment_info.php
* Rewrote installation.txt
* Added separate installation instructions for:
- ULTIMATE Seo Urls 5 - by FWR Media
http://addons.oscommerce.com/info/6768
- based on: Add Back buttons to the checkout process
http://addons.oscommerce.com/info/3805
(independent installation on mobile site)
- customer Must Accept Terms and Conditions (MATC) addon
http://addons.oscommerce.com/info/5750
(this is the version which was before included in IOSC 4.x)
To do:
* I'm working on upgrade instructions for IOSC4.1 and separate installation instructions
for many other contributions which will be uploaded soon.
* (Rew)rite some other contribs for iOSC (like Purchase Without Account and Points and Rewards etc).
* (Rew)rite the SEO URLs USU5 to work with
Ultimate SEO 2-2.2 - series
http://addons.oscommerce.com/info/2823
and
SEO-G
http://addons.oscommerce.com/info/5080
Have a look at http://www.sarplataygemas.com/mobile_index.php
This is a live shop.....
Thanks to the original writers of this contribution.
When using de PC Site button i encoutered a problem. There was a loop, so will be redirected constantly to the mobile site.
That problem is now solved.
No update instructions, only full package.
NOTE: the zip appears to be corrupted at least for some people...
New Release (v4.0) of iOSC - mobile version of OSCommerce for iPhone and smartphone
Changelog v4.0:
Cosmetic changes:
* Dutch translation
* "Mobile" removed from title (mobile/includes/header.php)
* Greeting on mobile_index.php is now multilangual
* Buy NOW button is now multilangual (mobile_product_info.php + all languages)
* Buy NOW button is now multilangual (mobile_product_reviews.php + all languages)
* Added Language to header, Home button removed
* Non used images removed
* Store address added to mobile_contact_us.php (still need some editing)
* Confirm password is now multilangual
* Button PC Site again added
Bugfixes:
* BUGFIX: Auto redirect to mobiele home page didn't work (includes/functions/iosc.php)
- $targetPage = "mobile_index.php"; changed in $targetPage = "../mobile_index.php";
* BUGFIX: Checkout process goes trough classic site (mobile/includes/configure.php)
- define mobile_checkout_process.php added
* BUGFIX: After a succes order the customer wasn't redirected to the homepage (mobile_checkout_succes.php)
- MOBILE removed from FILENAME_MOBILE_CHECKOUT_SUCCESS
* BUGFIX: Link to reviews repaired (mobile/includes/configure.php)
- define mobile_product_reviews.php added
* BUGFIX: link to product_review_write repaired (mobile/includes/configure.php)
- define mobile_product_reviews_write.php added
*BUGFIX: PayPal, iDEAL, CC payments, etc didn't work (mobile_checkout_confirmation.php)(thnx to pixclinic)
- "echo $payment_modules->process_button();" added (without quotes!!) after "if (is_array($payment_modules->modules)) {"
- NOTE: This will save sensitive data on your server. It's up to you to decide wether or not you might want to save creditcard data on your server. There is a contribution
that you might want to add to your store that encrypts data via MD5 at: (http://www.oscommerce.com/community/contributions,4359)
It is strongly recommended if you use the cc module.
*BUGFIX: Auto redirect for smartphones etc edited (thnx to Escaping for the solution, reposted by wflynn)
-NOTE: the auto redirect works, but the switch from mobile to classic gives some problems. I'm still working on this one, a great part of ths contribution needs to be rewritten.
As a temperory solution you could install Custom HTTP Error Page (http://addons.oscommerce.com/info/933). This way you'll won't lose potential customers.
Other:
* Rewrote installation.txt
To do:
* Complete rewrite so the link to the classic site works as it should be
* Add a module (specials or whats new) to mobile_index.php
* Some editing on the store address in mobile_contact_us.php
* (Re)write some other contribs for iOSC (like Purchase Without Account, Points and Rewards and Discount Coupon, etc).
Have a look at http://www.cosmeanailart.nl/mobile/ for an example. This is a live shop.....
This package includes the update from lastfahrt1 (27 june 2012)
Thanks to the original writers of this contribution.
Show subcategories in iosc Product Listing
edit only
mobile_products.php
Detecta automaticamente navegadores (actualizado) y redirecciona a la version movil solo a los dispositivos moviles, la ultima version aca que yo instale levantaba siempre la version movil por defecto
New Release (v3.2b) of iOSC - mobile version of OSCommerce for smartphone
ChangeLog v3.2b :
- bugfix : switch mobile to classic is now OK.
- bug fix : site title and page title was not displayed correctly
- bug fix : shopping cart was not displayed since v3.2a.
New Release (v3.2a) of iOSC - mobile version or OSCommerce for iPhone and smartphones
ChangeLog v3.2
- In productlist view : Add function to shrink product names if to long (parameter is set in configure.php)
- Add translation in all languages for switch to mobile/ classic view.
- BugFix for MATC activation (or not) : add parameter MATC_AT_REGISTER in configure.php
- Code improvement on switch between classic and mobile view (not finished yet)
- Add Compatibility mode to prevent incompatibility with other contribs (ie. ultimate_SEO V5)
- Add parameters in configure.php to show/hide date and statistics in footer.
- Add mobile specific meta informations
- Bugfix on mobile_checkout_confirmation : price per product was not calculated
- Add custom.css file to let user put all his customizations in one file.
Known issues : switch mobile to classic view doesn't work but switch classic to mobile view is OK.
New version of iOSC3.1 with bug fixes and new feature which let user swithing between mobile and classic view
ChangeLog v3.1
- Bugfix while calling language file in some pages
- Bugfix on mobile_shopping_cart.php : price per product was not calculated
- UI improvement : replace static name "hydrozone" by <?=TITLE?>
- HTML Improvement on mobile_login.php : add some div to split Login and password zone instead of crappy "br" tag.
- UI Improvement : iphone.css - reduced product name from 12px to 10px in order to have best long product name management
- Footer / lang files : add MOBILE_FOOTER_TEXT_BODY to have mobile footer text
- New Function : Add switch view function for classic site and mobile site (see install manual)
This is Release v3.0 of iOSC - mobile version or OSCommerce for iPhone.
Thanx to Bumbarash at Zaramir for his initial contribution and his great job.
This new version has been fully rewrote in order to have a (almost) full CSS architecture and functional program.
This new version includes MATC contribution, pls install it or remove MATC module in mobile_create_account.php.
See example at http://www.hydrozone.fr.
Changes in v3.0
- full CSS support (CSS2 + CSS3)
- new page added : mobile_catalogue.php (contains categories)
- mobile_index.php has been modified to have a homepage i/o categories page directly
- all paths bugs fixed (i think so lol)
- some adds or modifications in configuration file (includes/configure.php)
This is a full package with installation and description files inside.
