Jump to content

newtech

Members
  • Content count

    494
  • Joined

  • Last visited

Everything posted by newtech

  1. Note this is Contribution: http://www.oscommerce.com/community/contri...rch,stats+batch Here is an example from my credit card batch report It is actually more messed up than I thought. Order #47 was $10.99 with a discount of $2.20, so its subtotal should have been $8.79. The report says it is $-2.20. It obviously is taking the discount figure as the subtotal. (Note this order had a shipping charge which comes after the subtotal) Order #46 is accurate for the subtotal-no coupon code used for this order. (It had shipping which comes after the subtotal) Order #45 was $13.99 and had a discount of $2.80, so it should have been $11.19. But what it is showing is the SALES TAX amount. (Note this order had free shipping) So here is a recap from what I can tell. 1. Orders that have discounts are handled differently based upon if shipping fee is involved or not. If there is a shipping fee the report shows the discount fee. If no shipping is involved, the report shows sales tax. 2. If there is no coupon code the credit card batch report shows the correct figures. So, home how there is a problem when coupon code is used.
  2. newtech

    cDynamic Meta Tags

    There is something weird going on with the meta tags contrib. It is inserting text in serveral places. For example: bytmc <title>The Molding of a Champion by: Children-Youth - A Place of Hope Store -</title> <META NAME="Description" Content="The Molding of a Champion (bytmc) by Children-Youth - The Molding of a Champion Helping Your Child Shape a Winning Destiny Winning Strategies for nurturing future life champions Practical parenting advice from a leading..."> <META NAME="Keywords" Content="the molding of a champion, bytmc books, children-youth, books, videos, dvd, supplements for eating disorders, depression, abuse, store"> I also find the term in a few places on the page: href="http://www.aplaceofhopestore.com/molding-champion-p-69.html" class="headerNavigation">bytmc</a></td> <td class="pageHeading" valign="top">The Molding of a Champion<br><span class="smallText">[bytmc]</span></td> This is happening to every product page, but with different phrases. Anotehr page is doing the same thing with the phrase bahsea. Where in the world are these terms coming from? They are not in my original product pages. Is this something from the SEO contrib?
  3. newtech

    Shipping descriptions

    When a customer goes to the checkout_shipping.php page I have various shipping options based upon using tables. Each shipping option is a table. I made it show that each shipping option has a description of delivery time. I am talking about where there are radio buttons for the various shipping options. USPS Parcel Post-USA Delivery time is normally 5-10 days AK, HI, International Upon completion of order, you will receive an e-mail with shipping charges, and be asked to confirm shipping charges before you will be billed. Any other locations, choose an option above. The delivery time text is something I did with some editing. My problem now (after using tons of contribs and tons of edits) is I don't know where I made the edits. I have looked throughout various language files and any other file I thought could be related. It is like finding a needle in a haystack. Anyone have any idea what file I would have edited?
  4. Works great. Thank you so much. You are about the only contributor besides toyicebear that responds in a timely manner. I need help on one other item that is somewhat related to discount coupon codes. It is credit card totals report contrib. This contrib summarizes the subtotals of cash and various credit card orders. When I have orders that have a discount, the totals this contrib generates are totally off. It grabs the discount amount (10% figure) for the subtotal of an order, instead of the actual subtotal. I am hoping it is an easy fix that you can give me. I understand if you can't do it-I just cannot get any help on this and I have posted in three different forums. P.S. Also, I would like the credit card totals report to summarize the Grand Total instead of subtotals. Here is the code from the stats_bath_report.php that I believe that needs to be edited.
  5. I should mention that everything else seems to work. On the contact form it does have a place to enter digits. If nothing is entered it does come up with red error message. If I turn off validation the box does disappear.
  6. Ok, yes, it is very clear to me what I need to do: 1. Insert in html_ouput.php the original full function tep_image file. 2. Replace tep_image with tep_image_original in the original file 3. Go to contact_us.php file and replace $validation_images = tep_image with $validation_images = tep_image_original It still does give me an image. So for testing purposes, I uploaded the ENTIRE default html_output.php (with no edits) and I uploaded the contrib version of contact_us.php . I still do not get an image. Any other ideas?
  7. Realized that I edited the download.php file incorrectly.
  8. The solution given is: I am sorry for not totally understanding this. I go to the odefault html_output.php file. It looks like this. I look at me edited html_output.php and it is the same. But I do have other edits in my html_output.php since I am using Basic Design Pack. So, I thought I would still try the suggestion. But I am confused what I need to do according to: What file has the 'codes of this update'? Are you talking about any references to function tep_image or just to tep_image in the contact, create_account, etc. pages of this contrib? Because I can't find any funtion tep_image references in any of the files to this contrib Are you talking about where there is php echo tep_image or just to tep_image('validation_png.php?rsid=' . $new_guery_anti_robotreg or something different? What I am also confused about is if I change the function tep_image to function tep_image_original in html_output.php won't this affect my entire site where there are references to function tep_image? Please help me to understand this more clearly. Or hopefully, somebody is using this contrib and Basic Design Pack and will not what exactly to to.
  9. I have installed v5.3. I am not using any c/c processign contribs. Just default. I have everything working fine so far regarding being able to download a product, control download via status_order, etc. except for one item. I do not show any of the images that comes with this contrib and most importantly I cannot get the 'Downloads Controller Download on hold message' to appear no matter what I try. Is it not suppose to appear at some point in the order process. I would assume it would appear upon completeion of order next to the download info to explain why download link is not hypertext. Here is how I have my download configuration set up currently: Download Controller Update Status Value-5 (labeled Update) Downloads Controller Order Status Value-4 (labeled Can Download) (Order_status is 1=Pending 2=Processing 3=Shipped 4=Can Download 5=Update So when the status for the order is 1-3, I would assume that the hold message should appear. I have edited the appropriate files that change based upon this contrib. What file would be causing the hold message to not appear? I should mention that I do not have the freecharger or freeshipper modules installed since I am not using them.
  10. newtech

    Still no download

    Make sure you have the downloadable file in download folder. Make sure its name is exactly the same has the file name in attributes. Make sure you have permissions correct for pub and download.
  11. I am using the Credit Card Bath Report Contrib: http://www.oscommerce.com/community/contri...rd+batch+report Here is a problem I am having with this contrib when using with ot dicounts contrib http://www.oscommerce.com/community/contributions,4269 The credit card batch report is adding the subtotals of both credit cards and cash orders properly if there is no discount. However, if there is a discount, it is showing the discount amount (the 10% discount) instead of the subtoal of the order. All my other reports show the subtotals properly, so it is not an ot discount contrib problem. It has to be a problem with credit card batch report contrib. Any idea of how to fix this? I have added the code where I think it is gathering the subtotal data. ALSO: There is an inherent flaw with this contrib anyways. Why is it grabbing subtotals anyways? It should be gathering Grand Totals. If you are going to compare credit card totals (and cash totals) from oscommerce with actual credit card transactions and deposits made by store owner, then you would want grand totals. Anyone know how to change the code in credit card batch report contrib to grab grand totals instead of subtotals? QUOTE <?php if (isset($_GET['month']) or isset($_GET['status']) ) { $batch_query_raw = "select o.customers_id, ot.value, ot.title, ot.class, o.date_purchased, o.orders_id, o.cc_type, o.payment_method from ". TABLE_ORDERS . " o, " . TABLE_ORDERS_TOTAL . " ot where " . $os . " o.orders_id = ot.orders_id and o.date_purchased between '" . $date1 . "' and '" . $date2 . "' GROUP BY o.orders_id ORDER BY o.date_purchased DESC "; } else { $batch_query_raw = "select o.customers_id, ot.value, ot.title, ot.class, o.date_purchased, o.orders_id, o.cc_type, o.payment_method from ". TABLE_ORDERS . " o, " . TABLE_ORDERS_TOTAL . " ot where " . $os . " o.orders_id = ot.orders_id GROUP BY o.orders_id ORDER BY o.date_purchased DESC "; }
  12. newtech

    Credit Card Batch Report

    Forgot to add the code that I believe needs to be changed.
  13. newtech

    Credit Card Batch Report

    This appears to be working properly now. With more testing here is what is happening: The credit card batch report is adding the subtotals of both credit cards and cash orders properly if there is no discount. However, if there is a discount, it is showing the discount amount (the 10% discount) instead of the subtoal of the order. All my other reports show the subtotals properly, so it is not an ot discount contrib problem. It has to be a problem with credit card batch report contrib. Somehow how it is pulling subtotals must not be by subtotal code, but location of totals on the page or something like that. Any idea of how to fix this? I have added the code where I think it is gathering the subtotal data. ALSO: There is an inherent flaw with this contrib anyways. Why is it grabbing subtotals anyways? It shoudl be gathering Grand Totals. If you are going to compare credit card totals (and cash totals) from oscommerce with actual credit card transactions and deposits, then you would want grand totals. Anyone know how to change the code in credit card batch report contrib to grab grand totals instead of subtotals?
  14. Here is what I wanted: So I wanted the subtotal to be entered in the customers total report. When I do the following: the customers total report is showing the grand total including shipping and taxes, minus the discount. Again what we want in the customers total report is the subtotal sales (sales minus taxes, shipping, and the discount).
  15. newtech

    Basic Design Pack Support

    I am trying to use the anti-robot contrib: http://www.oscommerce.com/community/contributions,1237 After the install there is a way to test to make sure an image is generated. The test works properly. Bit the image will not show up on any of the pages that have anti-robot feature. According to the support page, the problem is most likely because of edits of the html_output.php page. This of course has been edited by Basic Design Pack. They also state it most likely is the issue of the tep_image() function in html_output.php By chance is there anyone that is using the anti-robot contrib with basic design pack that has been able to get anti-robot contrib to work properly? If so, how? Here is what I did as a test based upon a post by someone else. Here is the original modified file they had: They changed it to: I looked on my file where I had the CONFIG-CALCULATE-IMAGE-SIZE and ere is the modified file I have: I changed it to: This did not break anything, but it also did not make the anti-robot image come up either. Any other suggestions? It was also mentioned to try the following: From what I can tell the tep_image() was not changed by basic design pack. Is there any problem for me to do the above? Will it affect basign design pack functioning properly?
  16. Here is what I did as a test based upon a post by someone else. Here is the original modified file they had: They changed it to: I looked on my file where I had the CONFIG-CALCULATE-IMAGE-SIZE and ere is the modified file I have: I changed it to: This did not break anything, but it also did not make the anti-robot image come up either. Any suggestions?
  17. I have done the post install testing and I do get an image with the test. However, the image does not appear on any of the appropriate pages. Most likely it is the issue of the tep_image() function in html_output.php. The html_output.php file has been edited for the following contribs: Basic design pack How Did You Hear By change is there anyone that is using 1 or both of these contribs that has been able to get anti-robot contrib to work properly? If so, how?
  18. newtech

    Article Manager v1.0

    Any answer on this?
  19. I have not been able to find anybody on other forums to come up with the script to do the fix. Anybody here?
  20. Currently the customers order report calculates the totals by looking through all the customer's orders and adding up the prices of each item in the order, multiplied by the number of items. The problem with this is if any coupon, gift voucher, discount contrib is used, the total sales are not accurate. What the Customers Order report should use is the subtotal of the products minus any discounts. There must be some kind of formula that will calculate the totals based off of the subtotals in the orders_total. Any contrib on this or anyoen want to make a contrib to do this?
  21. newtech

    Customer Order Report Totals

    Bumping this again
  22. newtech

    FAQDesk v1.01.0 Support

    Any answer on this?
  23. newtech

    Article Manager v1.0

    Any answer on this?
  24. newtech

    Article Manager v1.0

    Any answer on this?
×