Jump to content

ruboo

Members
  • Content count

    48
  • Joined

  • Last visited

Everything posted by ruboo

  1. ruboo

    One Page Checkout Support

    Dear People, Can you advice how to make "Different from billing address" box always ticked and expanded? it should be somewhere in this code in checkout.php? <?php if ($onepage['shippingEnabled'] === true) { $header = '<div class="ui-widget-header" style="padding-left:5px;">' . TABLE_HEADING_SHIPPING_ADDRESS . '</div>'; ob_start(); include(DIR_WS_MODULES . 'checkout/includes/modules/shipping_address.php'); $shippingAddress = ob_get_contents(); ob_end_clean(); $shippingAddress = '<div style="padding-left:15px;' . (isset($_SESSION[customer_id]) ? ' display:none;' : '' ) . '">' . TEXT_DIFFERENT_SHIPPING . ' <input type="checkbox" name="diffShipping" id="diffShipping" value="1"></div>' . $shippingAddress; $shippingAddress .= '<div style="float:right; padding:5px;' . (isset($_SESSION[customer_id]) ? '' : ' display:none;') . '"><a id="changeShippingAddress" href="' . tep_href_link('checkout_shipping_address.php', '', $request_type) . '">' . tep_draw_button('Change Address') . '</a></div>'; buildInfobox($header, $shippingAddress); } ?> Thank you!
  2. ruboo

    [contribution] Super Download Store

    Hi all, By default oscommerce is designed to use inside download folder. But I want to use external links for download. Is there any hint what changes are needed in download.php to do that?? I have tried in configure.php to use external server, but it gives error there is no downloads folder.
  3. ruboo

    [contribution] Super Download Store

    Hi all, By default oscommerce is designed to use inside download folder. But I want to use external links for download. Is there any hint what changes are needed in download.php to do that?? I have tried in configure.php to use external server, but it gives error there is no downloads folder.
  4. looks like this: 217.106.233.192 - - [26/Mar/2007:05:04:47 -0400] Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060824/1.7.12 (Mozilla; http://mozilla.org; anonymous@anonymous.org)
  5. Hi Stevel, There is one bot, which gets session ID on my site and added almost all products to shoping cart and is always there: 217.106.233.192 it is webmoney bot i guess Is it possible to add it to spiders list to prevent it from getting sessions? I added webmone or money to spider txt file, but without any luck
  6. Just wondering, why this piece of code is needed? ----------------------------------------------- Open all the php files within the catalog folder / root of your website (e.g. index.php, contact_us.php etc): ###Add before / above the </head> tag: <?php if (!isset($lng) || (isset($lng) && !is_object($lng))) { include(DIR_WS_CLASSES . 'language.php'); $lng = new language; } reset($lng->catalog_languages); while (list($key, $value) = each($lng->catalog_languages)) { ?> <link rel="alternate" type="application/rss+xml" title="<?php echo STORE_NAME . ' - ' . BOX_INFORMATION_RSS; ?>" href="<?php echo tep_href_link(FILENAME_RSS, 'language=' . $key, 'NONSSL', false); ?>"> <?php } ?> -------------------------------------------------- I installed all without the above and all seems to work correctly, and without any bug, Do I need to install the above? what is it for?
  7. ruboo

    ### POINTS AND REWARDS MODULE V1.00 ###

    No one wants to respond:) Actually cron is not needed, running script manually also does not work, if expiry date is set in next month here is the code of customer_points_expire.php, what might be wrong in logic of the script? ------------------------------------------------------ Released under the GNU General Public License */ include_once('includes/application_top.php'); if ((USE_POINTS_SYSTEM == 'true') && tep_not_null(POINTS_AUTO_EXPIRES)){ tep_db_query("UPDATE " . TABLE_CUSTOMERS . " SET customers_shopping_points = NULL, customers_points_expires = NULL WHERE customers_points_expires < CURDATE()"); if (tep_not_null(POINTS_EXPIRES_REMIND)){ include_once(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CUSTOMERS_POINTS_PENDING); $customer_query = tep_db_query("SELECT customers_gender, customers_lastname, customers_firstname, customers_email_address, customers_shopping_points, customers_points_expires FROM " . TABLE_CUSTOMERS . " WHERE (CURDATE() + '". (int)POINTS_EXPIRES_REMIND ."') = customers_points_expires"); while($customer = tep_db_fetch_array($customer_query)){ $customers_email_address = $customer['customers_email_address']; $gender = $customer['customers_gender']; $first_name = $customer['customers_firstname']; $last_name = $customer['customers_lastname']; $name = $first_name . ' ' . $last_name; if (ACCOUNT_GENDER == 'true') { if ($gender == 'm') { $greet = sprintf(EMAIL_GREET_MR, $last_name); } else { $greet = sprintf(EMAIL_GREET_MS, $last_name); } } else { $greet = sprintf(EMAIL_GREET_NONE, $first_name); } $can_use = "\n\n" . EMAIL_TEXT_SUCCESS_POINTS; $email_text = $greet . "\n" . EMAIL_EXPIRE_INTRO . "\n" . sprintf(EMAIL_EXPIRE_DET, number_format($customer['customers_shopping_points'],POINTS_DECIMAL_PLACES), tep_date_short($customer['customers_points_expires'])) . "\n" . EMAIL_EXPIRE_TEXT . "\n\n" . sprintf(EMAIL_TEXT_POINTS_URL, tep_catalog_href_link(FILENAME_CATALOG_MY_POINTS, '', 'SSL')) . "\n\n" . sprintf(EMAIL_TEXT_POINTS_URL_HELP, tep_catalog_href_link(FILENAME_CATALOG_MY_POINTS_HELP, '', 'NONSSL')) . $can_use . "\n" . EMAIL_CONTACT . "\n" . EMAIL_SEPARATOR . "\n" . '<b>' . STORE_NAME . '</b>.' . "\n"; tep_mail($name, $customer['customers_email_address'], EMAIL_EXPIRE_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } } }
  8. ruboo

    ### POINTS AND REWARDS MODULE V1.00 ###

    The problem is not 10 days gap. If expiry date is in same month, script works, if in next, it does not send emails. For example, autoremider gap is set to 15 days. If expiry date is on November 29, on November 14 customer will get email, but if on december 02, on november 17 customer will not get expiry notification
  9. ruboo

    ### POINTS AND REWARDS MODULE V1.00 ###

    Just wanted to check, if anyone had the same problem, as described above?
  10. ruboo

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hi, I have a problem with points expire auto email script, and think it is a common bug, as I tried it on clean OScommerce with same result The script does not send Points expire auto-email, if expire date is in next month. For example, on January 21 I run the script, Customer poits expire date is Janury 31, and Points Expires Auto Remainder is set to 10 days, I get the email, and all is ok (of course Auto Expires Points is enabled) on same January 21 I set Customer poits expire date is February 1, and Points Expires Auto Remainder is set to 11 days, run the script and no email is delivered. Can anyone check if they have same problem, as it may cause a lot of headache, if customer finds his points gone, and he was not notified
  11. I need some of my products be shipped for free starting on order total for example 20 US. I found a contribution, that does this: http://www.oscommerce.com/community/contributions,4331 But it gives free shipping to all products Another contribution gives free shipping only to some products, but it does not set minimum order total amount, after which it will give you free shipping. http://www.oscommerce.com/community/contributions,2517 Is it possible somehow to combine them?
  12. I need some of my products be shipped for free starting on order total for example 20 US. I found a contribution, that does this: http://www.oscommerce.com/community/contributions,4331 But it gives free shipping to all products Another contribution gives free shipping only to some products, but it does not set minimum order total amount, after which it will give you free shipping. http://www.oscommerce.com/community/contributions,2517 Is it possible somehow to combine them?
  13. ruboo

    NewsDesk v1.48 Support

    I have exactly the same problem. Has anyone fixed it????
  14. ruboo

    Feedmachine

    I installed http://www.oscommerce.com/community/contributions,4455 seems this is support for another feeds machine, sorry:)
  15. ruboo

    Feedmachine

    Hi I installed, but got this error: : SQL error Unknown column 'products.manufacturers_id' in 'on clause'| sql = SELECT concat( 'http://www.hayshop.net/product_info.php?products_id=' ,products.products_id) AS product_url, products_model AS prodModel, products_weight, products.products_id AS id, products_description.products_name AS name, products_description.products_description AS description, products.products_quantity AS quantity, products.products_status AS prodStatus, FORMAT( IFNULL(specials.specials_new_products_price, products.products_price) * 1,2) AS price, CONCAT( 'http://www.hayshop.nethttp://www.hayshop.net/images/' ,products.products_image) AS image_url, products_to_categories.categories_id AS prodCatID, categories.parent_id AS catParentID, categories_description.categories_name AS catName FROM categories, categories_description, products, products_description, products_to_categories left join specials on ( specials.products_id = products.products_id AND ( ( (specials.expires_date > CURRENT_DATE) OR (specials.expires_date = 0) ) AND ( specials.status = 1 ) ) ) WHERE products.products_id=products_description.products_id AND products.products_id=products_to_categories.products_id AND products_to_categories.categories_id=categories.categories_id AND categories.categories_id=categories_description.categories_id AND products.products_status != 0 AND products.products_price != 0 AND products.products_price != '' ORDER BY products.products_id ASC What I done wrong?
  16. Did anyone got Warning: set_time_limit(): Cannot set time limit in safe mode in /home//public_html/admin/database_admin.php on line 58 error? Can it be corrected?
  17. ruboo

    ### POINTS AND REWARDS MODULE V1.00 ###

    yes, I saw points in my_points.php Now I ended in downgrading to 1.6 again:((((((
  18. ruboo

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hi texmaxx, thanks a lot for your help, but unfortunaly I was not able to use it I do not know why, but I used installer.php to upgarde from 1.6 to 2.0 to preserve my database info, and now I do not see use points module on checkout_payment.php, however if use referal system is on, its box is visible, but still customer is not able to to use points. I am sure the code is correct(re-checked 3 times). I tried SQL clean install, it works, but I lose all data, and insert it manually is almost impossible. any ideas what to do with database or code to see it on payment page?
  19. ruboo

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hi texmaxx, thank you for that, but please can you give exact code, without any lines left out:), as I am 0 in php, also is it possible to instead of 20 USD make it to read from database, not to edit it every time, minimum order amount changes
  20. ruboo

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hello Deepsilver. This contribution is really great, I just wanted to make one suggestion, if it is possible to implement. I now use minimum order amount 20 USD, after which I allow customers to use points. I have already got some emails from customers with complains that cannot use their points, and the problem is that they never read FAQ, to see that they need 20 USD in cart to use points. Even after I explain and give the link to FAQ, some remain angry, and do not come and finish the order. Is it possible on checkout_payment.php page give some kind of "you need minimum 20 USD in your cart to use your points, please see FAQ for more info"" text in points section, instead of not displaying anything, if it is less than 20 USD. Thank you
  21. ruboo

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hi I upgraded from 1.60 to 2.00, and I grant my New signup customers Welcome Points amount 5 USD, but when I tried to create new customer, in create_account _success it gaves me message, that you are given 5 USD, but in my points php it shows you have no points yet. As I tested on live shop, I promply returned to 1.6, and now not sure, did I something wrong, or someone else faces the same issue
  22. ruboo

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hello, Is there is any way to set Restriction of Points Redemption For Minimum Purchase Amount for each customer separately. I give Welcome Points to new customers equalling 5 USD, and set up Minimum Purchase Amount 20 USD After customers use their welcome points and score award points, I want them to use it without any minimum limit Is there a setting to change? Any help will be appreciated!!!
  23. The problem is, when customer enters his card details on checkout.com, and confirms order, he gets message "order succesful", and there is a button on that page "press here to notify vendor of purchase", which not all customers do, thus although they pay for order, customers account is not updated, and he does not get confirmation form store You can change setting in checkout admin look&feel section so the customer skip that page on checkout and gets automatically redirected to your store, but make sure to enter correct url for return Otherwise install manual order entry contribution to finish the order for customer
×