Jump to content

Duroniel

Members
  • Content count

    52
  • Joined

  • Last visited

Everything posted by Duroniel

  1. I have been using a ship in cart addon for my store, but now my webhost have announced that they will be upgrading to PHP 5.5.4 in January. When I view my site under these new "conditions", I get errormessages in the cart from the shipping module. Warning: Creating default object from empty value in C:\-----catalog\includes\modules\shipping_estimator.php on line 92 is the one I get when not logged in, and Warning: Illegal string offset 'title' in C:\----catalog\includes\classes\order.php on line 222 Warning: Illegal string offset 'cost' in C:\----catalog\includes\classes\order.php on line 223 these two when I am logged in. The addon I use is pretty old by now (http://addons.oscommerce.com/info/1781) and that got me thinking. I won't need the option to search postage cost by country or zip code or anything that fancy, since I only have one shipping option (well, that and free shipping for a very limited amount of customers that I have a personal relation with) so is there a way to add this amount to the cart without the need of a fancy addon? of course the shipping cost should be included in the shown order total, for both guests and signed in customers.
  2. Duroniel

    Shipping in cart without addon?

    I did not know that you should hide error messages in a live store, it does make a lot of sense though! I always kept them on for fixing problems with addons and the like (and for not knowing anything else), so thank you! I do have both a localhost and a "live" test, so I will keep that in mind and only hide the errors in the live one. Thank you both for all the help, I really do appreciate it! :D
  3. Duroniel

    Shipping in cart without addon?

    Wow... that is pretty bad news for me then... and I guess there is no way of adding/hardcoding the cost to the total either? As stated before, I only have one shipping charge (except for over a certain amount and it becomes free) And is there no way of hiding this error message? It seems as though the estimator works, but it doesn't look very pretty with that message there ;) Thanks for the heads-up anyway! =)
  4. Duroniel

    Shipping in cart without addon?

    I am using 2.3.3 at the moment, but will upgrade to the latest one when I have the time. I'm not sure about which version of PHP is the latest, but since the webhosting declared they are moving from 5.3.10, I can say that it worked on that version. As soon as I redirect my webpage to the new 5.5.5, the error appears. I don't even have to update anything in osc. No, no, I have had my webshop for a bit over a year, and I have never seen these errors before, as far as I can remember. I did actually write about this in the addons' support forum, but since it was so long ago anyone posted there (over a year I believe) I only waited for a few days before posting this, since I didn't think it would be updated again. PS. Since you said the code behaves strange, it might not make a difference, but I did read something about error reporting being on when redirecting to the 5.5.5, I don't know how osc works (I think the person was talking about Joomla or something) but I don't think I personally have made any changes to hide error reporting.
  5. Duroniel

    Shipping in cart without addon?

    Thank you so much for the help! Take all the time you need, I'm not in such a hurry ;) Well, I don't think they will allow it from what I can tell, but as I said before, they had a way of testing the website for 5.5.5, and from what I can tell the only errors I see are these messages, and one about deprecated mysql code, and that one disappears after I upgrade to 2.3.3.2 I think it was.
  6. Duroniel

    Shipping in cart without addon?

    Nope, that's not what they said I'm afraid. This is a copy from the mail I've gotten from them, in original and translated to english: "Uppgraderingen av PHP gör att vi går från version 5.3.10 till version 5.5.5." "The upgrade of the PHP takes us from version 5.3.10 to version 5.5.5" As for the extra ), I get this message when I try to remove it: Parse error: syntax error, unexpected ';', expecting ')' in C:\----------\includes\modules\shipping_estimator.php on line 95
  7. Duroniel

    [Contribution] Ship In Cart

    Today I noticed something on my localhost that does not appear in my live site, I get this errormessage in the shopping cart: Warning: Creating default object from empty value in C:\-----\includes\modules\shipping_estimator.php on line 82 Anyone knows why this has appeared? I have compared this file with the one on the live site, and they are identical..
  8. Duroniel

    Fancier Invoice & Packing Slip for 2.3.1

    Yes, I had a similar problem, all my text was in Times new roman and I just couldn't find out why, so I ended up just hardcoding it in, and it works for me, even if it's not the best way to do it. I'm glad I could actually help someone, even with my very limited knowledge ;)
  9. Duroniel

    Fancier Invoice & Packing Slip for 2.3.1

    Oh, I am so sorry! Of course this change should be made in admin/invoice.php, that's the one that changes the look on the page you can print. Right by that info, my code looks like this <td align="left" valign="top"><b><FONT FACE="Verdana" SIZE="2" COLOR="#000000"><?php echo ENTRY_SHIP_TO; ?></b></td> to get you an idea of where to start messing around. This, I think, is for the header, the actual text "Shipping address", <td> <FONT FACE="Verdana" SIZE="2" COLOR="#000000"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br> '); ?></td> this should be for the address itself. I am not at all a coder, and I have just tested my way into making it look lite I want it to.
  10. Duroniel

    Fancier Invoice & Packing Slip for 2.3.1

    http://forums.oscommerce.com/topic/391714-add-extra-fields-for-customer-details/#entry1663419 try this fix and change around the order of info. I think that $cr is a new line, but I am not certain so you'll have to try. I think you'll have to change the size in the admin/orders.php at "entry_shipping_address".
  11. Duroniel

    Fancier Invoice & Packing Slip for 2.3.1

    this is true for me aswell... can't seem to find anything that would exclude shipping and the other info that displays under the "product" row (except for messages, that one shows)
  12. Duroniel

    Fancier Invoice & Packing Slip for 2.3.1

    Okay, it seems that I solved the font issue by hardcoding the right font into the invoice.php.
  13. Duroniel

    Fancier Invoice & Packing Slip for 2.3.1

    @@Mort-lemur or anybody else have a clue as to why this is happening? I am most keen on solving the font issue, since this makes the invoice unnecessarily big, and comments might not fit the first page (and I find it annoying to have to print a second page with just a small comment :P)
  14. I now have another problem, kind of like the Paypal one, but reverse... I use a payment provider called Payson, and when I use a discount coupon the customer is charged the right amount and all that from Payson, but when the customer looks in the past orders, and the same when I do from admin, the discount is not registered. Is this an error from your side, or from Paysons side?
  15. Duroniel

    Fancier Invoice & Packing Slip for 2.3.1

    Well, I interpret this as the customer and company would get automatic, fancier confirmations: (taken from the install file) "A new facier invoice is e-mailed to both the Admin and the customer in a real nice HTML format (you must have Send MIME HTML E-mails enabled). Admin can turn this on or off through Admin / Configuration / E-mail Options. You may have multiple e-mail HTML invoice templates. Just save your template file in the templates folder and choose which template you want to use through Admin / Configuration / E-mail Options. Some invoice templates are included, the osC stock look and some fancier HTML invoices. This works with customers who have HTML e-mail receiving capabilities AND those who do not."
  16. Duroniel

    Fancier Invoice & Packing Slip for 2.3.1

    I have two minor problems: First, when an order is placed, the customer does not get an email-invoice. I guess I have done something wrong with this code, but I do have a payment-module that takes care of the payment, and that one does send out an email saying the order has been payed, so I thought it could be that one interfering. The other, very strange problem I have, is that my admin invoice is all written in times new roman, and I can't seem to change this or the text size, even though there is no times new roman in the stylesheet at all..
  17. Duroniel

    [Contribution] U HTML Emails

    I saw that someone managed to insert a logo instead of just store_name in the emails, but the reply is very old and atleast I can't get it to work.. is there any solution for 2.3.3?
  18. Has nobody figured out what is wrong with my admin section of this? :P Oh, and another thing: I assume that if I create a code and put in "1 use per customer" everyone who knows the code can use it, right? So it's not just one code, one time per customer?
  19. Duroniel

    KissIT Image Thumnailer

    First of all, thanks for a well needed addon! Second, I have a small issue. I don't know if it is because of this addon or not, but when I add another image to a product page, everything moves toward the middle. If I remove the second image, everything goes back to where it should be. So this happens as soon as I add a "large image", whether it is one (only showing one picture, but not the same as the thumbnail in listing) or two (the first is the same as listing, and then another one).
  20. Hi! I have just started with osc and the whole php thing, so I guess I have made some small mistake somewhere. The thing is that I can add coupons that work and all that, but my admin page looks... well, not that good. The dot in the radio button does not move when I click something else, and there is no "check" mark when I push "Include discount code in the order info" or "Exclude specials". Also, as the picture shows, the message boxes are quite small and only shows one option per box. You don't have to fix my upper right, those "buttons" work although it looks ugly, but those are only included if they can give a hint to what is causing this to look odd. And yes, I know that english is mixed with swedish there ;) Oh, and I use the 3,2 verson of discount codes, and the new 2,3,2 of osc.
×