Jump to content
Latest News: (loading..)

jampjamp

Members
  • Content count

    38
  • Joined

  • Last visited

Profile Information

  • Real Name
    Mick

Recent Profile Visitors

902 profile views
  1. Simple attributes sorting

    Thanks @Omar_one I have in this part of code (int)$this->products_id instead of (int)$_GET['products_id'] but after this little change all works as I wanted. Thank you.
  2. Simple attributes sorting

    Hello, this problem is well known, but i would rather prefer to avoid installing any addons. I think it's doable by simple change in query. My problem is that in attribute list they are shown by ID so if I'll add it like 1 ID = aaa 2 ID = ccc 3 ID = ddd Then everything is shown right, but if I'll add later 4 ID = bbb it won't be shown between 1 and 2 ID's. I guess it's all about query in product_info.php So i'm trying to add somewhere But i'm not sure where to put it right cause this query is a little bit complicated. And actually i'm not sure if this "order by..." is correct because it looks like those tables are not recognized? I've tried also something like that: But it causes an error 1064 (SQL Syntax)
  3. @Gergely Thanks for your answer. What about query you've posted. Are we supposed to see something in results?
  4. @raiwa @Gergely Since our last posts I've tried many times to get the problem again and it didn't appear even once. But I've seen in "Order history" box that if I would buy a product (checkout success) as guest and make an interrupt on choosing if I want to register an account, then the last order will be in the box even after restarting the server. Of course I know it's actually normal, because it disappears on next page and is being kept for someone who chooses to set the password, but maybe in some circumstances it's shown for another customers? Or maybe sometimes I can see those orders because it's still same session and if it would be another customers they would never be able to see that? @Gergely I've missed your questions. PHP is 5.3.21. I didn't make an update to 2.3.4.1 because it's bootstrap edition I'm working on, so I guess it doesn't fit together. Your SQL query shows 16 rows. One is my own migrated account which I was using to tests, another are newer test accounts: https://i.imgur.com/Ugujox0.jpg I don't know what to do now, because I've spend a lot of time to get all backend & frontend to be ready for migration, but now I'm little bit scared if it won't happen again. Do you have any other ideas what should I check?
  5. @raiwa oh, of course I clean old database tables before importing another data into it. I need to check this customer id's, but now when I need it to occur, it doesn't happen :(
  6. Hi, sorry for long time of answer. At first I want to say that my shop migration from MS2.2 to BS Edge is still under testing in localhost, so there is nothing to worry about :) @burt @raiwa I'm using old ot_loyalty_discount.php order total module: https://apps.oscommerce.com/osgrq&customer-loyalty-discount-scheme It works in BS version with micro changes. I think it has nothing to do with this, just gets wrong informations as core engine. Ok, I will check it when the problem occurs once again, because now it doesn't want to happen and everything works as it should. Worst kind of problems, by the way. @Gergely Yes, it's true. Here are my session settings: https://i.imgur.com/IR4nkSP.png
  7. @raiwa maybe you got any (any) ideas what's the reason? I've done many tests yesterday and it didn't happen even once. But sometimes it is. I'm putting all data to register an account (or to buy without account), then it's being registered and in the box "Order history" and in account_history.php it shows some wrong orders, made by another clients.
  8. Sometimes when I register a new account or when I put all information to buy a product without an account (PWA BS module), there are some wrong orders in account history. It's serious issue, because it means that one client can see some orders of another clients, with all personal data. Also, I have loyalty discount module, so it counts those orders. I can't fully reproduce this problem, because it happens only sometimes, so it's hard to find a source of problem. Only one thing which I am almost sure is, it gets only orders done by clients without an account, but sometimes it's one order, sometimes few orders, usually none. Do you have any idea why does it happen?
  9. @auzStar thanks for your link, I've done little change, because at default, your addon gets randomly any product, which means that all available products could be selected as new. So in mysql query I used the order type taken from original 'What's new' box. In lines 251-252 and 277-278 of bm_whats_new_scroller.php exchange: order by rand() to order by products_date_added desc Anyway very nice addon. I've changed also data-slides from next-prev to prev-next (lines 99-100 and 105-106), because I think it looks better, when it slides in this way, but it's only my own opinion.
  10. Hi @auzStar, very nice addon! But, could you tell me how should I install this one? I think it's a box module, so the name would be bm_, but I can't find anything like this in your packages
  11. I mean this carousel especially for 'What's new': https://www.auzcommerce.com.au/osc234bs_test_sec I've seen some 'carousel' plugins, but I'm not sure which one should I use
  12. @raiwa I tried to put that class from order_qtpro.php to order.php (before and after original class) and delete those two lines you've quoted, but it doesn't work then - stops to change the quantity of bought attribute. But, if I just delete: $order = new order_qtpro; It still works as it should (order goes thru and stock of attribute is changed). Are you sure I need to make that change? Payment module is local polish service called dotpay, here is the original module file: https://pastebin.com/3zZCzAss
  13. @raiwa thanks for your answer I didn't, includes/classes/order.php is fully original (same bytes, also checked with notepad++'s "compare" plugin). Do you have any ideas how to get around of it?
  14. @raiwa I've done some "step by step" backups, so it was actually easy to find out what's the cause of my problem. It's about QTPro. It's all about one line of includes/modules/header_tags/ht_qtpro_stock_check.php. In function execute() there is a part with (starting at 61 line): } elseif (basename($PHP_SELF) == 'checkout_confirmation.php') { require('includes/classes/order_qtpro.php'); $order = new order_qtpro; All I have to fix my problem is delete the line: $order = new order_qtpro; Then my payment service gets the correct value of order, with price changes made by order_total modules. Luckily, it's your addon my friend :) So my question to you is, how important is that part of code? I don't think I can just put that in trash, so maybe you have some idea how to exchange it?
×