Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

blr044

Pioneers
  • Posts

    999
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by blr044

  1. I hope I'm at the correct location for exclude products for free shipping. By searching Google, I was not able to find a solution to my issue. Because few of my vendors, some products is shipped free. So to pass this onto my customers, I looked for an contribution that would do such an task. But when at checkout_shipping.php I receive the following error message. The code that I added to catalog/includes/classes/order.php is below to which this error refers to: Lines 323 thru 335: ///////// BOF exclude products from free shipping total V 1.0 ///////// $excluded_products_query = tep_db_query("select products_id from " . TABLE_PRODUCTS . " where exclude_free_shipping = 1 "); while ($excluded_products = tep_db_fetch_array($excluded_products_query)) { $string_id = $products[$i]['id'] ; //something ugly like 71{1}14, we need 71 $string_idArray = split('{',$string_id); //the first in our array will be the products_id even if it has attributes if($string_idArray[0] == $excluded_products['products_id']) { $shown_price = tep_add_tax($this->products[$index]['final_price'], $this->products[$index]['tax']) * $this->products[$index]['qty']; $this->info['subtotal_excluded'] += $shown_price; } } ///////// EOF exclude products from free shipping total V 1.0 ///////// Also I added three items to cart for testing purposes. Two products which should shipping/handling and the third is shipped free. But at checkout, all three is shipped free.
  2. So this is what is on line 19 of /xxxxx/sitemonitor_configure.php: So is this normal? Thanks.
  3. Been having some issues with site and am not sure where the fix is yet. But that's another issue. So I manually checked for any hacked files. Found 43, but when looking at them I did not see anything our of the ordinary(sp). This one, the date match column is not checked: This is what is on line 19: 0019 $hackIgnoreList = array('jpg', 'jpeg','gif','png','txt','zip'); //don't check these types of files - change to your liking Also found a php file in images directory, but after checking, I have no such file there.
  4. Hope I am posting this in the correct thread. Whenever I open my site the first time after the I reopen the browser FF or IE8, all is fine. After I click any link, does not mater regardless categories or internal links, the URL displays the osCid. But then click the home page, all is fine again and now what ever I go from there, no osCid. So it's the first link or categories only. So if I see it, does search engines and customers see it also? If one keeps clicking other links without clicking the home link, the osCid will not go away. This started happening after I switched host. https://www.greatdiscounts4u.com Any thoughts on this? Thank you. Bennett
  5. Am noticing a small error whenever another contribution is inserted. Did look through admin/contrib_tracker.php, but seen nothing wrong. Upon entering a new contribution, I tick the check box next to both ( todays ) and tick update. The hour is always correct but it fails to show minutes and seconds as shown below: Last integrated into store: 2010-06-22 11:00:00 Date Added to Store: 2010-06-22 11:00:00 The date and hour is always correct. Have checked other modules through out admin and store and time and date is correct. So am asking if others are having same issue and if there is a fix. Thanks.
  6. Always used price as figuring cost of shipping. Now one vendor is using weight as a calculation. Have entered the weights in admin. But there are a few items, when I increase the number more then one, of the same item, the cost is zero. Then others, the more I increase number (like 5) the cost for shipping starts to increase. For example: This is the correct method: 1 item for total of 5.00 lbs is 22.22 2 items for total of 10.00 lbs is 22.22 3 items for total of 15.00 lbs is 25.50 This what web site shows at checkout_shipping: 1 item for total of 5.00 lbs is 22.22 2 items for total of 10.00 lbs is 22.22 3 items for total of 15.00 lbs is 28.50 So am asking for ones thought on why such behavior. This not make any sense.
  7. Due to the fact, few of my vendors offer free shipping on some of the products, so I would like to incorporate this into my site. So besides Richard, i also would like to know which I need to modify. Thanks. Bennett
  8. Thanks for checking. Do not know what went wrong the first two tries, but on third try, it worked for me also. Thanks a bunch. Bennett
  9. My URL is http://brs-giftshop.com I removed the // in front of require(DIR_WS_INCLUDES . 'secret.php'); and renamed the files to their original names again. I put my IP address in banned.txt and tried it. I was blocked. Then removed my IP from the banned.txt and inserted it into the whitelist.txt file and then was able to see my site. So now am not getting any error messages at home page. So I am assuming it is fine. But feel to try the URL address.
  10. with google search, I found this. Should a line be included in catalog/includes/configure.php Because I do not.
  11. Sorry, but maybe I should include website which is located at brs-giftshop.dot.com This refers to above post.
  12. After installation, I put my ip in the banned txt file. Did receive the banned page. So then deleted my ip from the banned and inserted in the whitelist file. Now I receive an error message when accessing my site. The message is: The page isn't redirecting properly Did edit the personal/index.php and includes/secret.php to the above tip. So this is what it looks like now. Permissions is set at 755. NOTE: I received same error as the second time. What I mean, I put store back to where it was before installing IP Trap. Worked fine. Then reinstalled, same problem.
  13. Sorry, I found the reason. The issue had to do with KISS Meta Tags, so after looking through the files, and once I changed @define( 'KISSMT_PERFORMANCE_OUTPUT', 'true' ); to false, it was solved.
  14. Because of some conflicts between three of my contributions I've installed, so for now I put store back to where it was before I installed them. But the the report still is visible at bottom of my site. All files is removed. Even looked in DB to check if something was left behind. So I need to know where I need to look as to correct this. I did double check, the files for this mod are gone and ant the changes in the few files is not there. Thanks.
  15. A member at post 797 asked the same thing. But did not see a solution, or I hope I haven't overlooked it. This contribution has been running without any problems. In process of installing best_product_and_listing. Am having issues trying to incorporate into includes/modules/product_listing.php. The instruction # 59 - catalog/includes/modules/product_listing.php reads to find this: $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> '; and replace with this: $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'products_id')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> '; But the line in product_listing is as following: $lc_text['button_buy_now'] = '<a href="' . tep_href_link(basename($_SERVER['PHP_SELF']), tep_get_all_get_params(array('action','sort','products_id')) . 'action=buy_now&products_id=' . $listing[$x]['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW, 'style="padding-bottom: 5px;"') . '</a>'; I've tried to insert the code as your instructions and compared the two lines. But it puts the table out of whack. I have included an image of what it should like before the changes. And you may go here to see the after. [ img ]http://brs-giftshop.com/images/best_product.jpg[ /img ] So if a possible fix, would be appreciated. Thanks.
  16. Have another issue. After doing the the optional_extras, I get a blank page whenever I click admin -> catalog. But once I remove the three changes, then I can access the catalog module. It's an easy install, did try it three times, and all with the same results.
  17. in the instructions for optional_extras, it states to to change <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> TO: <td class="pageHeading"> <h1> <?php // KissMT start echo KissMT::init()->page_title . PHP_EOL; // KissMT end ?> </h1> </td> This is what I have for the three of them: First: <td class="pageHeading"><?php echo $breadcrumb->last(' » '); ?></td> Second: <td class="pageHeading"><?php echo $breadcrumb->last(' » '); ?></td> Third: <td class="pageHeading" align="right"><?php // echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> So what the <?php echo $breadcrumb->last(' » '); ?> Thanks.
  18. That was my first step. He could help if module ran with any problems. But as far as issues other than module, the need to ask in general support. Because of sitemap, I thought I try here next. So I guess, I will go general support. Thanks anyways.
  19. After installing KISS Error Handling by FWR, I have the following errors when I open sitemap.php. Error: file(/home/XXXXXX/public_html//become_member.php) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory File: includes/functions/sitemap.php Line: 177 Error: file(/home/XXXXXX/public_html//contact_us_bak.php) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory File: includes/functions/sitemap.php Line: 177 Error: file(/home/XXXXXX/public_html//faq.php) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory File: includes/functions/sitemap.php Line: 177 Error: file(/home/XXXXXX/public_html//print_my_invoice.php) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory File: includes/functions/sitemap.php Line: 177 Error: file(/home/XXXXX/public_html//product_material.php) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory File: includes/functions/sitemap.php Line: 177 Error: file(/home/XXXXX/public_html//wholesale.php) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory File: includes/functions/sitemap.php Line: 177 Error: file(/home/XXXXXX/public_html//wholeseller.php) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory File: includes/functions/sitemap.php Line: 177 Not sure why these arrors is even showing up. These files have been removed some time back. Even checked filenames.php, information.php and language english.php to see if anything was left behind. Even checked the root dir along with phpMyAdmin. Also nothing was spotted in admin -> sitemap SEO If there is a reason why they appear on that page, I would be thankful if you maybe give me an idea on the how to remove them. Thanks. Bennett
  20. Customer is not able to place order using paypal. After clicking the Confirm Order, the customer is taken to https://www.paypal.com/cgi-bin/webscr. But the page displays an error message. So is something the way paypal is set up in admin or is it an issue with paypal? I need to have an answer ASP please. Thank you. Bennett
  21. Thanks for your reply. It's fine. My question now is - where does find out what these errors mean and the fixes for them? Doing a google search, but so far, coming up against a wall. Bennett
  22. Great contribution. After installing, I changed suppresses to screen - line 21 - and did a test run and there are some errors which is visible on screen below the footer. Then went into kiss_error_handler.php and edit line 30 to the following: define( 'KISS_ERROR_REPORTING_GET_SWITCH', 'brs-giftshop.com/index.php?fwroutput' ); // string - false - user setting - see above comments The errors isn't visible, not even to me. Even tried changing to screen back to suppresses, making no difference. So setting is at screen plus KISS_ERROR_REPORTING_GET_SWITCH is set as above. So am I missing something? Thanks. Bennett
×
×
  • Create New...