Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  Options as Images

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
Sometimes is better to keep everything as simple as possible, and avoid lots of bells and wishles. This is the working version for v2.2 Release Candidate 2a vanilla install, and is supposed to work on earlier versions due to de catalog/product-info.php is almost the same from oscommerce-2.2ms2-060817.

The operational module and framework was made by andes1 and the compilation of working fixes used here were made by rusNN, some of this working fixes were made for a lot o people among them lildog.

Here you can find the instructions (I did not correct those), but always, and for your good sake, is better use Wincompare or another software in order to compare and modify files.

Note:
I did not make any change in order to get the first option selected or something like that, this let us some space to maneuver in order to install sort attributes or a similar module.
Options as images v1.7.2

Fixed: only ONE group of attibutes was checked, the rest (if exists) had not any option checked, and one (and only one of them) must be checked. See screenshot "error.jpg" for a better understanding.

Several spanish language files fixed or included in package, there were not included or were incomplete in v1.7.1.

* Suggestion: options_images.php should be in catalog/includes/modules like product_listing.php and the rest of the typical modules.

FULL PACKAGE.

-----------------------------------------------------------------------------------------
Soon I will upload a new version: Options as HYPERLINKED images v2.0 - Now image has link when clicking
-----------------------------------------------------------------------------------------
I've noticed that when you go to product page from the shopping cart clicking on the product, options as images doesn't selects properly. To fix this find code in catalogoptions_images.php

if ($iec=='1') { $checkedd=''; } else { $checkedd='checked'; }

and replace it with the code

if ($selected_attribute != $opti_array['id']) {
if ($iec=='1') { $checkedd=''; } else { $checkedd='checked'; }
} else {
$checkedd='checked';
}

Seems to me that's correct.

FULL PACKAGE, including fix for 1.7 by me + Update Guides
+ replace some code with more osc friendly/familiar code
- deleted useless code


Full Package + Update Guides
There was a bug when trying to edit options images. If you had only one option with images you could not edit the option as the form was submitted when you selected a different option than the default. I added a button instead.


FULL PACKAGE + update guides
Included RusNN's fix into a complete package to try to keep it neat.

Full Package + update guide
Great contrib! That's all I need for my shop. Thanks!

But I've discovered, that text "Available Options:" is appered for every products even if a product has no options. It happens only when setting OPTIONS_AS_IMAGES_ENABLED is enabled.
To correct this goto options_images.php, find around line 15

echo '<b><span class="optionsAvailable">' . TEXT_PRODUCT_OPTIONS. '</span></b>';

and move it a bit lower under the line

if ($products_attributes['total'] > 0) {

So you should have
if ($products_attributes['total'] > 0) {
echo '<b><span class="optionsAvailable">' . TEXT_PRODUCT_OPTIONS. '</span></b>';

That's all. No files attached.

Sorry my bad english :)
+ added spacing between options to keep them separate and unjumbled, this is most noticable with options with names longer than the width of the picture.
- I accidentally left some custom debug code in admin/options_images.php


Full Package + update guide
+ deleted extra files in directory structure
+ there was a line commented in catalog/options_images.php that is necessary to make the correct table structure.
+ works with osc RC2a

EASY update.


Complete Package + update instructions in install doc
   Posted on: 09/24/2008     See contribution details Request Installation with Paid service