Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
    Peter B

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you, I have tried that but the problem for automatically adding products for logged in users is still there :( Also with with those options switched on - the oscd session parameter is still added to every product and doesn't want to disappear (it should after few clicks).
  2. It's code which doesn't let to add a product to cart when the product has a special flag (gift). User can only add it in the shopping cart - depending on the cart value. I've tried to use a original product_info.php but then I get 404 error for product pages and the standard redirection to the mainpage :(
  3. I still have this problem :( In the product_info.php add to cart buttons looks like this: <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('kupuje.gif', IMAGE_BUTTON_IN_CART); ?> <div style="margin-top: 15px; margin-left: 0px;"> <?php $isGratis = false; if (in_array($product_info['products_type_id'], array(6, 7))) { $isGratis = true; } if (!$isGratis) { echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('kupuje.gif', IMAGE_BUTTON_IN_CART); echo '</a>'; } ?> </div>
  4. Do you have any suggestions?
  5. Thank you, here is my config: addDefine('HTTP_SERVER', 'https://sklep.roslinyakwariowe.local'); // eg, http://localhost - should not be empty for productive servers addDefine('HTTP_CATALOG_SERVER', 'https://sklep.roslinyakwariowe.local'); // eg, http://localhost - should not be empty for productive servers addDefine('HTTPS_SERVER', 'https://sklep.roslinyakwariowe.local'); // eg, https://localhost - should not be empty for productive servers addDefine('ENABLE_SSL', true); // secure webserver for checkout procedure? addDefine('HTTP_COOKIE_DOMAIN', 'roslinyakwariowe.pl'); addDefine('HTTPS_COOKIE_DOMAIN', 'roslinyakwariowe.pl'); addDefine('HTTP_COOKIE_PATH', '/'); addDefine('HTTPS_COOKIE_PATH', ''); addDefine('DIR_WS_CATALOG', '/'); // absolute path required addDefine('DIR_WS_HTTP_CATALOG', '/'); addDefine('DIR_WS_HTTPS_CATALOG', ''); addDefine('DIR_WS_IMAGES', 'images/'); addDefine('DIR_WS_MANUALS', 'instrukcja/'); addDefine('DIR_WS_CATALOG_MANUALS', DIR_WS_CATALOG . 'instrukcja/'); addDefine('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); addDefine('DIR_WS_INCLUDES', 'includes/'); addDefine('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); addDefine('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); addDefine('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); addDefine('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); addDefine('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); addDefine('DIR_FS_CACHE_XSELL', 'cache/'); addDefine('DIR_WS_CACHE_XSELL', 'cache/'); addDefine('DIR_FS_IMAGES', realpath(dirname(__FILE__). '/../' . DIR_WS_IMAGES) . DIRECTORY_SEPARATOR); addDefine('DIR_FS_NG_CACHE', realpath(dirname(__FILE__). '/../ng_cache') . DIRECTORY_SEPARATOR); addDefine('DIR_FS_NG_CACHE_SQL', DIR_FS_NG_CACHE . 'sql/'); addDefine('DIR_FS_NG_CACHE_IMAGE', DIR_FS_NG_CACHE . 'image/'); addDefine('DIR_FS_NG_CACHE_VARS', DIR_FS_NG_CACHE . 'vars/'); addDefine('DIR_FS_NG_CACHE_TPL', DIR_FS_NG_CACHE . 'tpl/'); addDefine('DIR_FS_NG_CACHE_TPL_C', DIR_FS_NG_CACHE . 'tpl_c/'); addDefine('DIR_FS_NG_CACHE_SMRT_C', DIR_FS_NG_CACHE . 'smrt_c/'); addDefine('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); addDefine('DIR_FS_CATALOG', 'C:/htdocs/roslinyakwariowe.local/'); addDefine('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); addDefine('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // addDefine our database connection addDefine('DB_SERVER', 'xxx'); // eg, localhost - should not be empty for productive servers addDefine('DB_SERVER_USERNAME', 'xxx'); addDefine('DB_SERVER_PASSWORD', 'xxx'); addDefine('DB_DATABASE', 'xxx'); addDefine('USE_PCONNECT', 'false'); // use persistent connections? addDefine('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' // ship2pay addDefine('DIR_RP_LANGUAGES', DIR_WS_LANGUAGES); addDefine('DIR_RP_MODULES', DIR_WS_MODULES); define('SMARTY_DIR', 'new15/lib/Smarty-3.1.14/libs' . DIRECTORY_SEPARATOR); define('SMARTY_DATA_DIR', 'new15' . DIRECTORY_SEPARATOR); ----------- p.s. 5.PHP 2.17 (Zend: 2.2.0)
  6. Thank you. https://sklep.roslinyakwariowe.pl I have created a test login: login: sklep@roslinyakwariowe.pl pass: rzN7d
  7. I have problem with my store. I'm using SSL and in the "sessions" configuration 2 options enabled: force cookie usage and prevent sessions start by bots. I noticed a strange behavior: When a logged in user watch products and logs out - next time he logs in the previously watched products are in his shopping cart :( Could you please suggest me where I can have a bug? Thank you.