Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

candlesofeden

Archived
  • Posts

    20
  • Joined

  • Last visited

Profile Information

  • Real Name
    Rosalynn

candlesofeden's Achievements

  1. I've searched through the contributions and didn't find a contribution that would deactivate a customer so that they could no longer log in, but keep their past order information there for the admins records. Is there such a contribution and I'm just missing it?
  2. Question... does this contribution have a feature to allow only those logged in to view articles? For example, like a member's only type of thing? Thank you.
  3. It would be great if this contribution would allow you to view customers by type. For instance you can view all business customers or view all home customers on different screens. It would also be awesome if it had seperate reporting for each. Is this possible to do?
  4. By the way here is the code for the language files [/code]<?php /* $Id$ The Exchange Project - Community Made Shopping! http://www.theexchangeproject.org Copyright © 2000,2001 The Exchange Project Released under the GNU General Public License ---------------------------------------------------------- xaglo 08/01/2003 - created to support freecount shipping */ define('MODULE_SHIPPING_FREECOUNT_TEXT_TITLE', 'Free Shipping'); define('MODULE_SHIPPING_FREECOUNT_TEXT_DESCRIPTION', 'Free Shipping w/ Minimum Order Amount'); define('MODULE_SHIPPING_FREECOUNT_TEXT_WAY', 'w/ $' . MODULE_SHIPPING_FREECOUNT_AMOUNT . 'USD minimum order'); define('MODULE_SHIPPING_FREEAMOUNT_TEXT_ERROR', 'Only for a order ' . MODULE_SHIPPING_FREEAMOUNT_AMOUNT . ' € minimum'); define('MODULE_SHIPPING_FREEAMOUNT_TEXT_TO_HEIGHT', 'To height'); define('MODULE_SHIPPING_FREEAMOUNT_TEXT_UNIT', 'kgs'); ?>[/code] Here is the code for the module file: <?php /* $Id$ freeamount.php 2 The Exchange Project - Community Made Shopping! http://www.theexchangeproject.org Copyright (c) 2003 Released under the GNU General Public License ---------------------------------------------- ane - 06/02/02 - modified freecount.php to allow for freeshipping on minimum order amount originally written by dwatkins 1/24/02 modify xaglo nov 03 ---------------------------------------------- */ class freeamount { var $code, $title, $description, $icon, $enabled; // class constructor function freeamount() { global $order; $this->code = 'freeamount'; $this->title = MODULE_SHIPPING_FREEAMOUNT_TEXT_TITLE; $this->description = MODULE_SHIPPING_FREEAMOUNT_TEXT_DESCRIPTION; $this->sort_order = MODULE_SHIPPING_FREEAMOUNT_SORT_ORDER; $this->icon =''; $this->enabled = ((MODULE_SHIPPING_FREEAMOUNT_STATUS == 'True') ? true : false); if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_FREEAMOUNT_ZONE > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_SHIPPING_FREEAMOUNT_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id"); while ($check = tep_db_fetch_array($check_query)) { if ($check['zone_id'] < 1) { $check_flag = true; break; } elseif ($check['zone_id'] == $order->delivery['zone_id']) { $check_flag = true; break; } } if ($check_flag == false) { $this->enabled = false; } } } // class methods function quote($method = '') { global $order, $cart, $shipping_weight; $dest_country = $order->delivery['country']['iso_code_2']; $currency = $order->info['currency']; $this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_FREEAMOUNT_TEXT_TITLE); if ($shipping_weight > MODULE_SHIPPING_FREEAMOUNT_WEIGHT_MAX) $this->quotes['error'] = MODULE_SHIPPING_FREEAMOUNT_TEXT_TO_HEIGHT . ' (' . $shipping_weight . ') ' . MODULE_SHIPPING_FREEAMOUNT_TEXT_UNIT; if ($cart->show_total() < MODULE_SHIPPING_FREEAMOUNT_AMOUNT) { if (MODULE_SHIPPING_FREEAMOUNT_DISPLAY == 'False') return; else $this->quotes['error'] = MODULE_SHIPPING_FREEAMOUNT_TEXT_ERROR; } else $this->quotes['methods'] = array(array('id' => $this->code, 'title' => MODULE_SHIPPING_FREEAMOUNT_TEXT_WAY, 'cost' => 0)); if (tep_not_null($this->icon)) $this->quotes['icon'] = tep_image($this->icon, $this->title); return $this->quotes; } function check() { $check = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_SHIPPING_FREEAMOUNT_STATUS'"); $check = tep_db_num_rows($check); return $check; } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Activation', 'MODULE_SHIPPING_FREEAMOUNT_STATUS', 'True', 'Activer la possibilité de franco de port', '6', '7', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Poids maxi', 'MODULE_SHIPPING_FREEAMOUNT_WEIGHT_MAX', '10', 'Poids maximum de la commande pour le franco de port', '6', '8', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Affichage permanent', 'MODULE_SHIPPING_FREEAMOUNT_DISPLAY', 'True', 'Permettre l\'affichage du texte m?me si le montant minimum n\'est pas atteint', '6', '7', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Montant minimum', 'MODULE_SHIPPING_FREEAMOUNT_AMOUNT', '50.00', 'Montant minimum de la commande pour avoir le franco de port', '6', '8', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Ordre', 'MODULE_SHIPPING_FREEAMOUNT_SORT_ORDER', '0', 'Ordre d\'affichage.', '6', '0', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Zone autorisée', 'MODULE_SHIPPING_FREEAMOUNT_ZONE', '0', 'Si une zone est choisie, le Franco de port ne sera proposé QUE pour cette zone.', '6', '0', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes(', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { $keys = array( 'MODULE_SHIPPING_FREEAMOUNT_STATUS', 'MODULE_SHIPPING_FREEAMOUNT_WEIGHT_MAX', 'MODULE_SHIPPING_FREEAMOUNT_SORT_ORDER', 'MODULE_SHIPPING_FREEAMOUNT_DISPLAY', 'MODULE_SHIPPING_FREEAMOUNT_AMOUNT', 'MODULE_SHIPPING_FREEAMOUNT_ZONE' ); return $keys; } } ?>
  5. I have this contribution set to free shipping over $20 dollars and when I did a test order with over $20 in the cart it gives me the shipping option: MODULE_SHIPPING_FREEAMOUNT_TEXT_TITLE MODULE_SHIPPING_FREEAMOUNT_TEXT_WAY $0.00 I don't know much about PHP but it is obvious I need to change something in the file. This contrib did not have a read me file so any help would be appreciated. My site is located at http://www.candlesofeden.com Thank you, Rosalynn
  6. Hello, My site is located at http://www.candlesofeden.com I purchased this shopping cart system back in Feb. as a custom solution to my customers needs. There have been a lot of modifications done to it and the webdeveloper told me that it is not OsCommerce. Now, I stumbled upon this site and it looks very much like OsCommerce to me. I brought that to their attention and they told me that it is based off of OsCommerce but is NOT OsCommerce. I was told that the Contributions you have on this site will not work on my cart unless it is seriously modified. Could someone please look at it and let me know if that is the case? I would very much like to use that Unsold Cart contribution and would even compensate the person who could install it for me. I am not very technically inclined when it comes to PHP. Thank you, Rosalynn
×
×
  • Create New...