Jump to content

allaboutwicker

Members
  • Content count

    455
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by allaboutwicker

  1. allaboutwicker

    One Page Checkout Support

    Hi Rob, I was just on your site and see what you mean about the wording. It is there, but is blending in. I am sorry, but I am not sure of how to adjust that. I am having the issue of the State not showing up on my end. Is it supposed to be like that? I have not tried to install the newest version yet, but am hoping to try soon as most of the bugs seem to be worked out now. I had tried an older version a while ago and it was a disaster for me. I also noticed that while I was filling in the info on your site I got that updating message quite a bit. Not sure if it is supposed to be that often. Best wishes that you get this up an running as you need. Leslie
  2. allaboutwicker

    [Contribution] Discount Coupon Codes

    I found this thread which may be helpful: http://forums.oscommerce.com/topic/314747-table-discount-coupons-does-not-exist/
  3. allaboutwicker

    [Contribution] Discount Coupon Codes

    Hi Cath, I am not 100% sure on this, but I did a google search for the error you are getting which is something I found can be quite helpful to find answers besides going through the forums here. Anyway, this came up and may be what you need. It has been such a long time ago now since I installed this one I can't remember if I had this issue or not: Here is the response first, then the issue that sounds like yours below that they responded to: -------------------------------------------------------------------------------------------------------------------------------- Posted 25 September 2007 - 08:26 AM If you go to the contribute site where you downloaded the Discount Coupon Module, you will see updates to the admin/includes/boxes/catalog.php page and the admin/includes/boxes/report.php page. It says: At the code was missing two (.) : 1) At admin/includes/boxes/catalog.php has to be //kgt - discount coupons '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a><br>'. '<a href="' . tep_href_link(FILENAME_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_DISCOUNT_COUPONS . '</a>' ); /*************** '<a href="' . tep_href_link(FILENAME_PRODUCTS_EXPECTED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>' ); ***************/ //end kgt - discount coupons and 2) At admin/includes/boxes/reports.php has to be //kgt - discount coupons report '<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL . '</a><br>'. '<a href="' . tep_href_link(FILENAME_STATS_DISCOUNT_COUPONS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_DISCOUNT_COUPONS . '</a>'); /************* '<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL . '</a>'); *************/ //end kgt - discount coupons report So, instead of changing these files the way it suggested in the Installation document, you would change them according to the instructions above. This may help. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- bargaingiftsstore, on Jul 29 2007, 08:36 PM, said: Warning: order::require_once(includes/classes/discount_coupon.php) [function.order-require-once]: failed to open stream: No such file or directory in /home/bargaing/public_html/includes/classes/order.php on line 304 Fatal error: order::require_once() [function.require]: Failed opening required 'includes/classes/discount_coupon.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bargaing/public_html/includes/classes/order.php on line 304 I thought my site was PERFECT then, I had an idea....I already have gift cards so why not use the code I have on them to use for the coupon code. Well I did that and went to try it out and the above bull crap is what I got. I have absolutely no idea and certainly have not found that ANYWHERE. How nice it is to be unique. I emplore someone to please help me. If someone wanted to install this for me I'm willing to pay. Long as you have paypal. Please this is a complete and utter disaster. This is what my code is in order.php Line 302 //kgt - discount coupon Line 303 if( is_object( $this->coupon ) ) { Line 304 $this->info['total'] = $this->coupon->finalize_discount( $this->info ); Line 305 } Line 306 //end kgt - discount coupon Line 307 } ----------------------------------------------------------------------------------------------------------------------------------------------------- Hope that is helpful to you
  4. allaboutwicker

    [Contribution] Discount Coupon Codes

    Have you run the sql file on your database?
  5. allaboutwicker

    [Contribution] Discount Coupon Codes

    Hi Kandy, I am not 100% sure if I am right as it has been quite a while since I installed this and I am not one of those oscommerce gurus, but it sounds to me like there may be an sql file which you did not run through your database. Look to see if you missed that. I don't know what it is named, but look for a file ending in .sql and run that. If you are not sure how to do that post back and I will try to explain it for you. Hope that helps.
  6. allaboutwicker

    One Page Checkout Support

    Hi Chris, Can you give me a link to your website? I would love to see this working. I had given up trying to get it working on mine a little while ago as I was having such trouble, probably because mine is heavy modified. Anyway, I am inspired to hear that you got it working and maybe will try again. Thanks
  7. allaboutwicker

    One Page Checkout Support

    Hi Steve, Thanks for your advice. I did try that, but it really throws some errors, so I changed it back. I got this when I had it set without the // in place: Warning: Invalid argument supplied for foreach() in /includes/classes/discount_coupon.php on line 413 Warning: array_sum() [function.array-sum]: The argument should be an array in /includes/modules/order_total/ot_discount_coupon.php on line 29 Plus I got the error setting payment contact us message as well. I will keep messing with it when I have time or maybe someone else has ideas. Thanks again, Leslie
  8. allaboutwicker

    One Page Checkout Support

    Hi, I hope there is someone who has more of a grasp on this php coding then I, as I can get this to work with the discount coupon module if I do some manuvering of files, so I think I am on to something. First I do not have the Gift Voucher Addon installed, so I removed that code at the bottom of includes/checkout/payment_method. Not 100% sure if that is revelant to this issue or not in general, but it was for me as I get errors. O.K. regarding includes/classes/onepage_checkout I made the following changes: Find: //$order->info['applied_discount'] = $onepage['info']['applied_discount']; //$order->info['subtotal'] = $onepage['info']['subtotal']; and uncomment as follows: $order->info['applied_discount'] = $onepage['info']['applied_discount']; $order->info['subtotal'] = $onepage['info']['subtotal']; Find: //kgt - discount coupon if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' && is_object( $order->coupon ) ) { //$order->coupon->applied_discount = $applied_discount; $order->info['total'] = $order->coupon->finalize_discount( $order->info ); $onepage['coupon'] = $order->coupon; } //end kgt - discount coupon and uncomment the one line as follows: //kgt - discount coupon if( MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' && is_object( $order->coupon ) ) { //$order->coupon->applied_discount = $applied_discount; //$order->info['total'] = $order->coupon->finalize_discount( $order->info ); $onepage['coupon'] = $order->coupon; } //end kgt - discount coupon Then find: /* Comment line below for oscommerce versions before MS2.2 RC2a */ $confirmation = $GLOBALS[$payment]->confirmation(); /* Uncomment line below for oscommerce versions before MS2.2 RC2a */ //$confirmation = $GLOBALS[$payment]->selection(); and change to: //$confirmation = $GLOBALS[$payment]->confirmation(); /* Uncomment line below for oscommerce versions before MS2.2 RC2a */ $confirmation = $GLOBALS[$payment]->selection(); Now for the tricky part. If I change this part of the code in includes/classes/onepage_checkout //BOF KGT if (MODULE_ORDER_TOTAL_DISCOUNT_COUPON_STATUS == 'true' && is_object( $order->coupon )){ //kgt - discount coupons $applied_discount = 0; $discount = $order->coupon->calculate_discount( $order->products[$i], $valid_products_count ); if( $discount['applied_discount'] > 0 ) $valid_products_count++; $shown_price = $order->coupon->calculate_shown_price( $discount, $order->products[$i] ); //var_dump($shown_price); $shown_price = $shown_price['actual_shown_price']; } else { $shown_price = tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty']; } $order->info['subtotal'] += $shown_price; /************** $shown_price = tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty']; $order->info['subtotal'] += $shown_price; **************/ //end kgt - discount coupons //EOF KGT To: $shown_price = tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty']; $order->info['subtotal'] += $shown_price; and upload that file, the checkout page will come up, but will not acknowledge coupons. Then if I upload the file with the last code back in and refresh the checkout page it works!! Also, I believe I had to be signed in as a customer for it to work. Sorry if this is not making sense as I was up late messing with this to try and figure it out so not much sleep between then and getting up to get kids to school. Anyway, I tried to move that bit of code lower on the page to see if I did that there might be something above it that loaded first without it it would be happy, but nothing I tried worked. Does anyone know if the coupon code on the page here would be able to be triggered by the customer clicking on a radio button that would do what I was doing? I do not understand this php coding very well, so I am not sure if what I have found can be taken by someone and actually made to work. Feel free to contact me to discuss this as I have many hours in this endeaver and would love to get this working. The only problem I do have once I got it to work was that the coupon amount is being deducted from the subtotal right away and I really need it to be later and not effect the subtotal since most of the discounts I give are for shipping purposes, so I am hoping that someone will know how to adjust that part as well, but lets see if we can get it to work at all I guess. Thanks, Leslie
  9. allaboutwicker

    One Page Checkout Support

    Hi All, I am really struggling with this add on. I am hoping someone can guide me in the right direction. I am getting this error when I have discount module turned on: Fatal error: Call to undefined method: stdClass->calculate_discount() in ............................. classes/onepage_checkout.php on line 190 I have seen a few mentions of it on the thread, but no actual resolve of the problem. Does anyone have a clue for me?? Many Thanks
  10. allaboutwicker

    One Page Checkout Support

    I too am getting this error if I have discount module turned on. Did you ever figure this out? Thanks for any advice
  11. I have not been able to figure this out. I installed another contribution and now my images in the "grid" mode are all coming up as the full image size, but they are the thumbnail size in "List" mode. I am not sure where this information is pulled from so I am at a lost as to where to look. I have to keep it set to List mode, but I set it to Grid mode and saved it here: My link -Grid View and here is the page when I have it set to "list" mode: My link -list view Thanks in advance for any advice.
  12. I was just wondering if you thought that this thumbnail issue might have anything to do with another problem I am having which I have been ripping my hair out to try to find the solution. I cannot for the life of me get the ajax attribute manager contrib elements to show anymore on my product page in admin, so I cannot add or change any of the attributes there now. Do you think this thumbnail contribution issue is related??
  13. I believe you are right On the Fly, sounds like it. I will work on changing this later today when I have a block of time to devote to it. I will post back my results. Thank you for your help and all your contributions. They are Great!!!!
  14. Hi Sam, I am not sure which thumbnail contrib I installed as it has been so long now, but I will try to go through my old notes as I believe I still have them after we moved, I hope. Is there any way to check in the coding to tell which one I have installed that way? Thanks for your help.
  15. I have had this contribution installed for a while now and it was working fine in the thumbnails in grid mode which is what I prefer. However, now that I have added the simple multi image contribution I need to have it set to list as my images are huge in the grids where before they were small thumbnails. I checked the image source in each mode and found that in list mode I see this before the image source: /product_thumb.php?img= and in grid mode, that is not there, so it is just pulling the full image directly. Is there somewhere in the coding where I can change it so the grid mode will work so they will be small thumbnails? Thanks
  16. allaboutwicker

    AJAX Attribute Manager support

    I have an issue where I had the ajax attribute manager working, but some time ago I went to change attributes of an item and discovered it no longer is working. I have tried to upload several different versions of this contribution, but none of them work for me. Here is a screenshot of what I get when I go to the product page: And here is the source code I get on this page where the ajax attribute manager is: <td class="main"><img src="images/pixel_trans.gif" border="0" alt="" width="24" height="15"> <input type="text" name="products_price_gross" value="129.0000" OnKeyUp="updateNet()"></td> </tr> <!-- BOF - Zappo - Option Types v2 - AttribManager - AJAX Attribute Manager plugin //--> <tr> <td colspan="2"><div id="attributeManager"></div></td> </tr> <!-- EOF - Zappo - Option Types v2 - AttribManager - AJAX Attribute Manager plugin //--> <tr> <td colspan="2"><img src="images/pixel_trans.gif" border="0" alt="" width="1" height="10"></td> </tr> <script language="javascript"><!-- updateGross(); //--></script> <tr> <td class="main" valign="top">Products Description:</td> Does anyone have any ideas for me to look into to get this fixed?
  17. allaboutwicker

    AJAX Attribute Manager support

    Has anyone else come across this error and if so, how did you fix it???
  18. allaboutwicker

    AJAX Attribute Manager support

    Hi, I hope someone might be able to help me. I had this contrib working until recently, but now when I go into a product and upload a saved template of attributes I lose the attribute section on that product when I go back in to edit it. It just disappears. I can still add and delete attributes in products that I have not tried to add a template to without incident, but as soon as I try to load a saved template that whole section on the screen is gone when I go back into it and I can't figure out how to get it to come back. Thank you in advance for any advice you can give.
  19. Setting the 'Product Listing Image Width' to a blank value did it! My images look great now! Thank you!!!!!
  20. Hi, I was having an issue where it was pulling the image to display from the first additional image if there was any additional images as I have that contrib installed and Spooks advised me to comment out that one line in products_listing.php. That did solve that issue, however, it is still creating distorted thumbnails. It appears to be using the small image and mutating it so it is distorted and out of proportion. Any suggestions??
  21. Thank you so much, that worked as far as it now brings up the correct image. However, I am noticing that some, not all, of the thumbnails are pretty tiny and I can't seem to figure out why. I thought it had something to do with the additional images thing, but as I look at it, I realize some of the products don't have any extra images, so I don't think that is causing it. Any thoughts on that one?? Thanks again for your help!!
  22. Hi, Thank you for a wonderful contrib! I am wondering if I did something wrong or if I have a setting off somewhere. I have the Additional Images contrib installed as well and if I use the setting "thumbnail" it pulls the first additional image that I have added for the product and displays that instead of the main image for the product. If I have it set to listing view it is fine. Any ideas??? Thanks!
  23. allaboutwicker

    Links Manager II

    My main error message is as follows: Warning: mysql_query() [function.mysql-query]: Unable to save result set in /homepages/12/d188340574/htdocs/store/includes/functions/database.php on line 44 2008 - MySQL client ran out of memory I have looked at database.php which is mentioned in the error message around line 44 and see this coding: if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) { error_log('QUERY ' . $query . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); } $result = mysql_query($query, $$link) or tep_db_error($query, mysql_errno(), mysql_error()); if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) { $result_error = mysql_error(); error_log('RESULT ' . $result . ' ' . $result_error . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); } return $result; } I am not a programmer so I do not understand much of this php coding stuff. I have a feeling though that there may be something in here which is causing my error. I do hope someone can help me on this one as I am losing back links since their links do not come up on my website right now, just the error message. Thanks again for any help!!!
  24. allaboutwicker

    Links Manager II

    Hi Jack, I got this response from my host, 1 and 1: This is an update regarding the conversation we had about the mysql error on your website. The reason why your website is showing the said error right now has to do with a the limitation allowed for your mysql database. The thing is the Max_used_connections allowed within our shared hosting package for mysql is only up to 60. You have already exceeded this limit since you have a Max_used_connections of 65. Do you have any idea what he means by this or does this give you any incite as to what may be triggering this error message as it is only happening on my links.php page??? Thanks!
  25. allaboutwicker

    Links Manager II

    Thanks Jack, I was pulling my hair out trying to figure out what I had done wrong. I will contact them as you suggested.
×