Jump to content


  • Content count

  • Joined

  • Last visited

Posts posted by ecco

  1. problem fixed. was missing the following line that was omitted because of contribution overlap


    $this->contents[$_products['products_id']] = array('qty' => $_products['customers_basket_quantity'], 'discount_categories_id' => $_products['discount_categories_id']);

  2. i have this installed on osc 2.3 with SPPC. everything seems to working after making multitudes of fixes (since this is NOT 2.3 ready by far) , but when a product is added to the permanent cart and then they log out and back in it removes the item from the cart. i have narrowed the issue to the contribution. seems that when logging back in it is passing a empty quantity in which the cleanup function of shopping_cart.php then removes it becasue it has no quantity. i can see in the database as have quantity, so it has to be a conversion error somewhere. any ideas?

  3. this has got to be one of the worst written plugins i have tried to use. almost every file path it spits out is incorrect if the cart files are not on the root of the server. what is the best way to set up the configuration file if the cart is in a sub directory of the site? for instance... www.yoursite.com/cart/


    define('HTTP_SERVER', 'http://www.yoursite.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

    define('HTTP_CATALOG_SERVER', 'http://www.yoursite.com/');

    define('HTTPS_CATALOG_SERVER', 'http://www.yoursite.com/');

    define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

    define('DIR_FS_DOCUMENT_ROOT', '/usr/local/apache/htdocs/cart/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

    define('DIR_WS_S_ADMIN', '/supplier/');

    define('DIR_WS_ADMIN', '/admin/');



    // define our Catalog path / or /catalog/

    define('DIR_WS_CATALOG', '/cart/');


    define('DIR_WS_IMAGES', DIR_WS_ADMIN . 'images/');

    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

    define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . '/images/');

    define('DIR_WS_INCLUDES', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN . '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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

  4. It's referring to the username of your hosting account. Go to admin->Modules and you will see the path to your shop there. That contains the username you need. If you can't figure out what the username is from it, you should contact your host and ask them.

    thanks, that worked.

  5. If someone is able to hack into your site, they can alter your files to send them your customers information. I've seen this happen several times, thus the genesis of this contribution. This contribution will create a record of your files so that they can be checked at a later date. If any files have been added or deleted, or the size, timestamp or permissions were changed, you are notified via email. The script can be ran manually, but the best way is to set up a cron job so that the files are checked automatically.


    The contribution can be found here.



    so when i see the following Your username is invalid. Please change it and try again. is it refering to the start directory "username" or the username for an administrator. there are so many posts, but no good answers that can be found without reading every single one with the new forum layout.