Jump to content

lth98105

Members
  • Content count

    26
  • Joined

  • Last visited

Profile Information

  • Real Name
    Laurent
  1. lth98105

    Multi-Stores Multiple Shops Support

    Hi all: I need your help: what would be the php/mysql command to allow query category and/ or products for a specific store? I plan to add the following contributions: "Separate Pricing Per Customer" : http://addons.oscommerce.com/info/716 and "Quick Price Updates for SPPC" http://addons.oscommerce.com/info/3798, and "Main categories in front page" http://addons.oscommerce.com/info/2125. I installed the Main categories in front page but it showed up all categories not the specifics categories for the specific store. thank you for any hints on where to find. :rolleyes: :lol: regards, L
  2. lth98105

    Multi-Stores Multiple Shops Support

    I figured out how to setup the config files. However, I still have an issue with category not showing up: store 1: category 1, 2 store 2: category 1, 2 and 3 the category 3 did not appear for the store 2. I have to enable for both stores in order to appeared on store2 . What do i miss? your help is appreciated. <_< <_< thanks
  3. lth98105

    Multi-Stores Multiple Shops Support

    Hi All: I want to have one database and having several domains (websites) with different products to be displayed for different stores. I used the contrib Multi-Stores v2.0: http://www.oscommerce.com/community/contributions,1730 the installation took some work but things somehow are installed correctly: I have my default and second store up. what I dont understand was the configuration file? how do i make the second store read the second config file? Do i need to modify something in the database? here what i have: after installing the multistore v2.0, i copy the full folder multistore to multistore2 and changed the path for in the config file for the store#2; same for picture and languages. default store folder: /multistore/includes/config.php second store folder: /multistore2/includes/config.php store 1: define('HTTP_SERVER', 'http://www.mydomain.com'); define('HTTPS_SERVER', 'http://www.mydomain.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTP_COOKIE_PATH', '/multistore/'); define('HTTPS_COOKIE_PATH', '/multistore/'); define('DIR_WS_HTTP_CATALOG', '/multistore/'); define('DIR_WS_HTTPS_CATALOG', '/multistore/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/users/public_html/multistore/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Store 2: define('HTTP_SERVER', 'http://www.mydomain.com'); define('HTTPS_SERVER', 'http://www.mydomain.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTP_COOKIE_PATH', '/multistore2/'); define('HTTPS_COOKIE_PATH', '/multistore2/'); define('DIR_WS_HTTP_CATALOG', '/multistore2/'); define('DIR_WS_HTTPS_CATALOG', '/multistore2/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/users/public_html/multistore2/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Please help.
  4. lth98105

    [Contribution] - USPS Methods

    Greg you are the master! :rolleyes: :rolleyes: Thanks it is working. I just removed and reinstalled and it showed up. thanks again. it is possible to get a manual pricing for media mail: for example a regular media mail shipping is $3.08 but i want to set at $3.99 for regular weight and $4.95 for 5lbs or more? thank you for your great contribution. regards, Laurent
  5. lth98105

    [Contribution] - USPS Methods

    Hi Greg: i just installed the version 4.2.0 ALPHA. Everything sounds ok but when i do check out on my store, i have only flat rate that shows up not the media mail or others options? any help will be really appreciated. regards, Laurent
  6. lth98105

    STS is place of shit.

    BIG THANKS TO BILL AND ALL CODERS OF FREE CONTRIBUTIONS. STS is my next TO DO LIST. Cojack, regardless on what happened on your STS installation or your understanding of STS contribution, if you have questions, just post on the forum constructive questions. Laurent
  7. i used Easy Populate 2.76g-MS2 (with attributes) from surfalot and using the new_field_everywhere contrib to add 3 extra fields author, isbn, and binding/publisher. everthing working fine except one important function: the search function: I CANNOT SEARCH ON ANY OF THE 3 EXTRA FIELDS ADDED. What is the issue? :( Laurent
  8. lth98105

    [Contribution] Auction Module

    hi Dan: I had a problem when clicking on add to cart whether or not you are log in: Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\auction\includes\classes\shopping_cart.php on line 345 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 90 in C:\wamp\www\auction\includes\classes\shopping_cart.php on line 352 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 90 in C:\wamp\www\auction\includes\classes\shopping_cart.php on line 353 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 90 in C:\wamp\www\auction\includes\classes\shopping_cart.php on line 354 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 93 in C:\wamp\www\auction\shopping_cart.php on line 195 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 93 in C:\wamp\www\auction\shopping_cart.php on line 196 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 93 in C:\wamp\www\auction\shopping_cart.php on line 197 thanks for your help.
  9. lth98105

    Auctions V2.1 Support Thread

    Hello Dan: thank you for your GREAT contribution. I installed a fresh v2.2 RC2a, SQL 5.x and PHP 5.x and copy over your Auction v2.1 using the Catalog_NEW_AND_MODIFIED FILES and adding the update my database. I have and error when clicking on the auction product: on the bidding list, the customer ID did not appear but just " your bid: " I still have the currencies error twice: Warning: Missing argument 2 for currencies::display_price(), called in C:\wamp\www\abk\auctions.php on line 302 and defined in C:\wamp\www\abk\includes\classes\currencies.php on line 72 $10.00 Also, I fixed one of the overbid amount that cannot be updated in the administration page: here is the fix: "admin\auction.php": around line 50 $overbid_amount = tep_db_prepare_input($HTTP_POST_VARS['overbid_amount']); case 'update': $auctions_id = tep_db_prepare_input($HTTP_POST_VARS['auctions_id']); $products_price = tep_db_prepare_input($HTTP_POST_VARS['products_price']); $auctions_price = tep_db_prepare_input($HTTP_POST_VARS['auctions_price']); -->$overbid_amount = tep_db_prepare_input($HTTP_POST_VARS['overbid_amount']); $day = tep_db_prepare_input($HTTP_POST_VARS['day']); $month = tep_db_prepare_input($HTTP_POST_VARS['month']); $year = tep_db_prepare_input($HTTP_POST_VARS['year']); FIND around line 68 : tep_db_query("update " . TABLE_AUCTIONS_PRODUCTS . " set auctions_starting_price = '" . tep_db_input($auctions_price) . "', auctions_last_modified = now(), expires_date = '" . $day . "' where auctions_id = '" . (int)$auctions_id . "'"); REPLACE: tep_db_query("update " . TABLE_AUCTIONS_PRODUCTS . " set auctions_starting_price = '" . tep_db_input($auctions_price) ."', overbid_amount = '" . tep_db_input($overbid_amount) ."', auctions_last_modified = now(), expires_date = '" . $day . "' where auctions_id = '" . (int)$auctions_id . "'"); Hope that helps to improve your great contribution. Thanks Laurent
×