Jump to content

ruboo

Members
  • Content count

    48
  • Joined

  • Last visited

About ruboo

  • Birthday 03/03/1978

Profile Information

  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?
×