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
Contributions
The following osCommerce contributions are 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.
Filter: Search:
Displaying 856 to 864 (of 1445 contributions) Result Pages: [<< Prev]  ... 91  92  93  94  95  96  97  98  99  100 ...  [Next >>] 
951. Multiple dropdown configuration Request Installation with Paid service
Contribution:
================================================
Multiple dropdown configuration


Description:
================================================
This contribution allows you to define a configuration item to select multiple order statuses. It's pretty easy to create functions for other types, this contribution adds the basic implementation to configuration.php and provides a sample on how to use it.


Sample sql:
================================================
INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` )
VALUES ('', "Pending sales statuses", 'RCS_PENDING_SALE_STATUS', 'a:5:{i:0;s:1:"7";i:1;s:1:"8";i:2;s:1:"6";i:3;s:1:"4";i:4;s:1:"2";}',
"Select the order statuses that can be considered as pending. This information is used to find a succesfull order from the same customer with the same products", 6501, 85, NULL, NOW(), 'tep_get_multiple_order_status_names', 'tep_cfg_pull_down_multiple_order_statuses(');

This is just a sample (don't start importing it now...)


Sample how to use:
================================================
In any query use it like this:

...and o.orders_status NOT IN (' . implode(unserialize(RCS_PENDING_SALE_STATUS), ',') . ') and...


Limitations:
================================================
- Changing the configuration setting will not preselect the current selections
- The query (when used as the example) will fail if the list is empty


Changes/Additions:
================================================
admin/configuration.php (line 20):

Replace:

if (tep_not_null($action)) {
switch ($action) {
case 'save':
$configuration_value = tep_db_prepare_input($HTTP_POST_VARS['configuration_value']);
$cID = tep_db_prepare_input($HTTP_GET_VARS['cID']);

tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . tep_db_input($configuration_value) . "', last_modified = now() where configuration_id = '" . (int)$cID . "'");

tep_redirect(tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cID));
break;
}
}

With:

if (tep_not_null($action)) {
switch ($action) {
case 'save':
$configuration_value = tep_db_prepare_input($HTTP_POST_VARS['configuration_value']);

//BOF Multiple dropdown
if(is_array($configuration_value)) {
$configuration_value = serialize($configuration_value);
}
//EOF Multiple dropdown

$cID = tep_db_prepare_input($HTTP_GET_VARS['cID']);

tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . tep_db_input($configuration_value) . "', last_modified = now() where configuration_id = '" . (int)$cID . "'");

tep_redirect(tep_href_link(FILENAME_CONFIGURATION, 'gID=' . $HTTP_GET_VARS['gID'] . '&cID=' . $cID));
break;
}
}


admin/includes/functions/general.php

Add (somewhere):

//BOF Multiple dropdown
function tep_cfg_pull_down_multiple_order_statuses($order_status_id, $key = '') {
global $languages_id;

$name = 'configuration_value[]';

$statuses_array = array(array('id' => '0', 'text' => TEXT_DEFAULT));
$statuses_query = tep_db_query("select orders_status_id, orders_status_name from " . TABLE_ORDERS_STATUS . " where language_id = '" . (int)$languages_id . "' order by orders_status_name");
while ($statuses = tep_db_fetch_array($statuses_query)) {
$statuses_array[] = array('id' => $statuses['orders_status_id'],
'text' => $statuses['orders_status_name']);
}

return tep_draw_pull_down_menu($name, $statuses_array, $order_status_id, "multiple");
}

function tep_get_multiple_order_status_names($values, $language_id = '') {
global $languages_id;
$order_status_names = "";

$order_statuses = unserialize($values);
if(is_array($order_statuses) && 0 != count($order_statuses)) {
if (!is_numeric($language_id)) $language_id = $languages_id;

$status_query = tep_db_query("select orders_status_name from " . TABLE_ORDERS_STATUS . " where orders_status_id IN (" . implode($order_statuses, ',') . ") and language_id = '" . (int)$language_id . "'");
while($status = tep_db_fetch_array($status_query)) {
$order_status_names .= $status['orders_status_name'] . ', ';
}
}

return trim($order_status_names, ', ');
}
//EOF Multiple dropdown
   Posted on: 03/28/2009     See contribution details

952. Canned Order Comments Request Installation with Paid service
This mod allows you to preconfigure as many canned order update comments as you like, that are then available in a pulldown menu on the admin orders page.

All comments can be amended or deleted via the page linked in under 'localization' options.

   Posted on: 03/28/2009     See contribution details

953. Pack Français v3.0A5 fr_CA Request Installation with Paid service
La traduction a été faite sur une base volontaire. Je ne donne aucune garantie quant au résultat de la traduction.

Ce pack contient la traduction complète incluant l'ADMIN et les images.
   Posted on: 03/27/2009     See contribution details

954. Search products id Request Installation with Paid service
catalog/advanced_search_result.php

search:
$keyword = tep_db_prepare_input($search_keywords[$i]);
$where_str .= "(pd.products_name like '%" . tep_db_input($keyword) . "%' or p.products_model like '%" . tep_db_input($keyword) . "%' or m.manufacturers_name like '%" . tep_db_input($keyword) . "%'or p.products_model like '%" . tep_db_input($keyword) . "%'";


replace:
$where_str .= "(pd.products_name like '%" . tep_db_input($keyword) . "%' or p.products_model like '%" . tep_db_input($keyword) . "%' or m.manufacturers_name like '%" . tep_db_input($keyword) . "%' or p.products_id like '%" . tep_db_input($keyword) . "%'";


i feel like expanding the search incase if customer wants to quick search by product id.
   Posted on: 03/27/2009     See contribution details

955. Product Units Request Installation with Paid service
As below, but in a .zip archive rather than a .tar.gz.
   Posted on: 03/29/2009     See contribution details

956. slovenian Request Installation with Paid service
Slovenian language only the site part is translated not admin.
   Posted on: 03/26/2009     See contribution details

957. Grab_Order_Details Request Installation with Paid service
HEADING_SHIPPING_METHOD etc were being shown when client checks order status.

Products Ordered, Billing Information, Payment Method, and Shipping Methods were not defined so added the new lines in catalog/includes/language/english/grab_order.php. Great contribution. Thanks to the author.

Full package!
   Posted on: 03/26/2009     See contribution details

958. English and Arabic 2 in 1 Buttons for Oscommerce Request Installation with Paid service
These are English and Arabic buttons, 2 languages at one button. You can use these images into your oscommerce shop if you have customers from arabic countries as well as english. Please note that these buttons are not the same size as the default OsCommerce buttons, however if you use them you don't need any code changes, just copy them into your web root and Oscommerce will keep using them normally.

For preview, visit...
http://www.nasa4ppc.com


Feel free to contact me with any suggested enhancements . These buttons could be used in any OsCommerce version, If you feel dificulty in implementing this or you need source psd files for these buttons, please contact me, just make a comment on my blog & I will be connected.


Best Regards
Yasir Imran Mirza
http://yasirimran.wordpress.com
   Posted on: 03/25/2009     See contribution details

959. Flat Attribute Request Installation with Paid service
This module add a new prefix '=' on attribute product

actually we have '+' and '-'
(price+/-option)*qty

now a flat price with this calcul
(price *qty) + option

Very simple to install

see the forum for discussion and upgrade : http://forums.oscommerce.com/index.php?showtopic=332246

That's all
   Posted on: 03/25/2009     See contribution details
Displaying 856 to 864 (of 1445 contributions) Result Pages: [<< Prev]  ... 91  92  93  94  95  96  97  98  99  100 ...  [Next >>]