Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

lordofcb

Archived
  • Posts

    68
  • Joined

  • Last visited

Everything posted by lordofcb

  1. Well, stranger things have happened.. Just for kicks, I figured the problem was in that section near the bottom of \classes\order.php where you add these lines //kgt - discount coupon if( is_object( $this->coupon ) ) { $this->info['total'] = $this->coupon->finalize_discount( $this->info ); } //end kgt - discount coupon I commented out those lines and by some miracle, the calculations and total are all correct now. Go figure
  2. I thought I would add, that if I disable the coupon discount, or if I just don't enter a coupon code.. there are no problems with the total, it shows correctly. Here are the order confirmation screens with and without a coupon for same item. With Coupon: Products (Edit) 1 x Dollar Bling Cap $9.00 Discount Coupon BQ9Z4L applied: -$0.90 Sub-Total: $8.10 AusPOST Parcel Post (Delivery to 6030 - 1 days Estimated Delivery Time*NO INSURANCE COVERAGE AGAINST LOSS OR DAMAGE 1 boxes 0.2kg(s)): $3.95 Total: $0.00 Without Coupon: Products (Edit) 1 x Dollar Bling Cap $9.00 Sub-Total: $9.00 AusPOST Parcel Post (Delivery to 6030 - 1 days Estimated Delivery Time*NO INSURANCE COVERAGE AGAINST LOSS OR DAMAGE 1 boxes 0.2kg(s)): $3.95 Total: $12.95
  3. I have a rather strange problem with this contribution. I installed it, it was working (kind of).. it would calculate the correct discount, but the total was never shown correctly. i.e, if the items cost $10 it would show Items $10.. Discount $1... Shipping $5, total $15 But, if the buyer checked out and went to paypal ipn (yes I added the paypal ipn fixes) they would pay the correct total which was $14, but nowhere does the saved order show any coupon discount.. so, I thought maybe it had something to do with the order total, so I went in and made sure the discount coupon had a sort order number, but as soon as I did that... now the order always shows $0.00 for the total. It will have correct amounts in there.. but no total. So, I figured if I just set the sort order back to the default of 0 it might fix it back to the way it was.. but no, now no matter what I do, when I coupon code is used the order total is shown as $0.00 I am not sure what has gone wrong, I didnt change anything else, no php files, or anything, only the sort order for discount coupon in admin which I have since changed back with no effect. I have no choice now but to disable coupons until I can figure out what has gone wrong. Any help would be appreciated.
  4. Well that finally worked, I think you could have saved yourself a few headaches by just pointing out the exact instructions earlier though. From the way I read that entry from your link, it sounded as though he was saying to add that tep_not_null function to your seo.class file, not to the googlefeeder file... "I had exactly the same error as this when updating my seo.class.php file and I add this to the end of that file which resolved the error." function tep_not_null($value) { if (is_array($value)) { if (sizeof($value) > 0) { return true; } else { return false; } } else { if (($value != '') && (strtolower($value) != 'null') && (strlen(trim($value)) > 0)) { return true; } else { return false; } } }
  5. I am using the versions written by you. GoogleBase v2.3, and Ultimate_SEO_URLSv22d_5, I had already mentioned that previously. As for your reference to an answer in that link, I can only assume you mean the one about adding a dummy tep_not_null function into the bottom of SEO.CLASS? I am not sure about that though, in the message that followed that you said you already included the needed changed in the latest version, which is the 22d_5 version being the latest correct? In any case, I tried adding in that extra tep_not_null funtion in, and it DID fix the googlefeeder issue, unfortunately though, the rest of my website crashed unable to run Ultimate SEO's anymore so I put my backup version od SEO.CLASS back on and all is working again (except Googlefeeder with SEO_ENABLED set to 'true', works ok with it set to FALSE though.
  6. I followed your suggestion and read through all the messages shown, but did not really see any clear cut answer to this problem other than suggested changes to the googlefeeder file which are already included in the version i installed.
  7. Yes, I upgraded per instructions by replacing the seo.class.php file, but you are right, I didn't exactly notice but the error is a different one now... Fatal error: Call to undefined function tep_not_null() in /hsphere/local/home/c148783/pureindollgence.com/oscommerce2/catalog/includes/classes/seo.class.php on line 1006
  8. Updated, I had 22d4 now 22d5, still getting same error though.
  9. Updated, I had 22d4 now 22d5, still getting same error though.
  10. Ok, thanks Jack, I will check which one that is, btw, I did check and the googlefeeder runs ok when I did set SEO_ENABLED to false
  11. Ok, I finally got them to turn on php error checking and here is the actual error coming from the program: Fatal error: Call to undefined function tep_get_parent_categories() in /hsphere/local/home/c148783/pureindollgence.com/oscommerce2/catalog/includes/classes/seo.class.php on line 1044
  12. Had em check, they could find no errors. This one really has me stumped, and like you said it is a simple application to. I have your others Ultimate SEO, Header Tags SEO and such installed and all are great and work fine.
  13. Took out the http://, no difference, still just get the http 500 error, page cant be found
  14. I have installed the Order Editor 5.06 for my MS2 shop, and it edits the orders fine, but now I have a big problem which I have been going nuts trying to figure out what happened and where. Since installing the order editor, nobody can enter new orders. I have a test id, and tested it several times myself and everything goes fine until I reach the order: First, I add an item, it goes to shopping cart ok, then I checkout.. It goes to checkout_shipping, next goes to checkout_payment, then finally to checkout_confirmation, all information appears fine, yet as soon as I hit confirm order it goes to an HP500 fail error page saying unable to open the checkout_process.php page, the browser address is all correct with correct Oscid and the page is there. Any idea why it would fail on this page? As I remember, during installation all that was changed was the single line added under 'payment_method' => $order->info['payment_method'], in that file. Any help on this would be greatly appreciated.
  15. I have installed the googlefeeder into catalog/admin and specified the domain as just my normal domain name http://pureindollgence.com however, whenever I browse to the googlefeeder.php address I get an internally generated http 500 error saying file does not exist or can not be found. i.e. when i browse to http://pureindollgence.com/oscommerce2/cat...ooglefeeder.php my domain is set by directory index to go to http:\\pureindollgence.com\oscommerce2\catalog\index.php for all calls to http://pureindollgence.com strange, i had the old version working fine on prior oscommerce store, and everything else works fine on the new store site. I should also note I tried setting domain name in googlefeeder to http:\\pureindollgence.com\oscommerce2\catalog and that didnt work either.
  16. Am I missing something with this new contribution v 2.3? I had old version worked ok, but I put this new one on my new shop and when I go to admin, the screen except for menu on left_column is blank and it is not showing the googlefeeder in the menu options anywhere. Are the installation instructions no longer relevant? I notice that most of the file settings they used to have in googlefeeder.php that they reference in the instructions are no longer in the file. If i comment out the load of feeder.php in the admin/includes/columnLeft.php everything loads ok.. except no googlefeeder of course.
  17. I found my own error, and it was due to the editor I was using to change the php files.. for this section from the instructions.. ###Find: tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), " . (empty($product['products_date_available']) ? "null" : "'" . tep_db_input($product['products_date_available']) . "'") . ", '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "')"); ###Replace with: tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id, products_to_rss) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), " . (empty($product['products_date_available']) ? "null" : "'" . tep_db_input($product['products_date_available']) . "'") . ", '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "', '" . (int)$product['products_to_rss'] . "')"); I was also accidentally deleting the line right under the original as I though it was the end of the line I was searching for and I even did the same thing twice, because my editor didn't show me the end of the line i was looking at. I accidentally deleted the following line which generated the errors since no product id was being set: $dup_products_id = tep_db_insert_id();
  18. I have found a bit more information, but am still unable to correct the problem. After browsing my database, I can see that since installing this contribution, creating a new product seems to add in correctly, but every attempt I made to duplicate an item, has created the duplicate product with a new product number, but none of them have been assigned to the category in the products_to_categories table. New products are being added in there ok, but not duplicates. It does seem odd to me though that no one else has reported this problem. So I went back and started with clean admin/categories.php and performed all the installation changes again, and still am getting the same result.
  19. Sorry about the duplicate messages, I was getting 500 errors when submitting the reply. I just thought of one other odd thing I could add to prior message that also has occured.. when I looked at my catalog products, all had the rss checked and checked in box on product details.. But, when I go to create a new product, instead of it starting as usual with the in stock unchecked.. now, in stock is checked, but the rss checkbox at lower right starts off as unchecked. I have been looking and wonder if it is related to the area of code around line 300 in admin/categories.php such as... elseif ($HTTP_POST_VARS['copy_as'] == 'duplicate') { $product_query = tep_db_query("select products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_tax_class_id, manufacturers_id, products_to_rss from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); $product = tep_db_fetch_array($product_query); tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id, products_to_rss) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), " . (empty($product['products_date_available']) ? "null" : "'" . tep_db_input($product['products_date_available']) . "'") . ", '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "', '" . (int)$product['products_to_rss'] . "')"); Mine was slight different during the install since I have Header Tags SEO installed, so I tried to fit in the changes from install as best I could.
  20. I thought I had everything working (version 2.2 march 23rd 2009), but am plagued with a few odd problems. First off, when I go into admin, to copy one item to create a new one from it, I get the following error.. 1062 - Duplicate entry '0-29' for key 1 insert into products_to_categories (products_id, categories_id) values ('0', '29') [TEP STOP] I already had the original duplicate key 80 error during setup and fixed it with the suggested patch. Using copy product is a very useful feature, sure is a lot easier than doing all products from scratch. I have no idea how to fix this one. Any ideas? I have been able to add new products and categories etc with no problem. It was only when I tried the product copy function that this occured.
  21. I thought I had everything working (version 2.2 march 23rd 2009), but am plagued with a few odd problems. First off, when I go into admin, to copy one item to create a new one from it, I get the following error.. 1062 - Duplicate entry '0-29' for key 1 insert into products_to_categories (products_id, categories_id) values ('0', '29') [TEP STOP] I already had the original duplicate key 80 error during setup and fixed it with the suggested patch. Using copy product is a very useful feature, sure is a lot easier than doing all products from scratch. I have no idea how to fix this one. Any ideas? I have been able to add new products and categories etc with no problem. It was only when I tried the product copy function that this occured.
  22. I thought I had everything working (version 2.2 march 23rd 2009), but am plagued with a few odd problems. First off, when I go into admin, to copy one item to create a new one from it, I get the following error.. 1062 - Duplicate entry '0-29' for key 1 insert into products_to_categories (products_id, categories_id) values ('0', '29') [TEP STOP] I already had the original duplicate key 80 error during setup and fixed it with the suggested patch. Using copy product is a very useful feature, sure is a lot easier than doing all products from scratch. I have no idea how to fix this one. Any ideas? I have been able to add new products and categories etc with no problem. It was only when I tried the product copy function that this occured.
  23. I just came on to ask that myself, I have been using the auspost module for quite some time and I just realized it doesn't seem to return rates for the satchels. It is must cheaper to ship heavier small items in the prepaid satchel packs than by standard australia post parcel post or express rates.
  24. Hi Jack, I am experiencing a problem which I can only assume has something to do with the header tags seo i installed, but I am not 100% sure.. I have header tags SEO and all seems to be going ok, but I recently had some trouble with some simple link boxes I was adding in from my old store. There are all single box files of the following form <!-- Extra Links Box v1.0 //--> <tr> <td> <?php $info_box_contents2 = array(); $info_box_contents2[] = array('align' => 'left', 'text' => BOX_HEADING_LINKSBOX ); new infoBoxHeading($info_box_contents2, false, false); $info_box_contents2 = array(); $info_box_contents2[] = array('align' => 'center', 'text' => '<a href="http:\\pureindollgence.com\reborn_dolls\bookstore.html" title="bookstorelink">Visit Our Bookstore</a>'); new infoBox($info_box_contents2); ?> </td></tr> <!-- Extra Links Box v1.0_eof //--> Now for the problem, I add them in and IF any of the links have http:\\pureindollgence.com (the store root domain) in them.. the resulting click goes to for example: http://pureindollgence.com/pureindollgence.../bookstore.html (or whatever other html page I reference.. BUT, if the link is to another domain other than pureindollgence.com they work fine. Could this be being replaced by header tags somehow before or during the call?
  25. Well, I got the order editor to work, edited some orders, seemed to work ok. But then, I went back to my catalog to add some new products in and I see that everything has changed on the product page. I can only see/edit about half the page. The same is true if I edit existing items. The item edit opens up and only shows half the page of information for the item. Of course I had to uninstall order editor then, cant go without products. Any idea what may cause such a problem? I do have the header tags seo installed, which does add some extra input fields for tags and such onto the product entry page.
×
×
  • Create New...