X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   X-Cart v4.4.5 released (https://forum.x-cart.com/showthread.php?t=62444)

cflsystems 04-12-2012 10:11 AM

Re: X-Cart v4.4.5 released
 
I was just testing on new 4.4.5 so no - not with any usps patches. Looking through them now - it seems they do fix the issue so if you have the patches installed you are ok. I forgot about those. Anyone reading - ignore my bug report - just install the USPS patched QT provided somewhere in March - they should fix the problem as it is related to the USPS changes not XC

cflsystems 04-12-2012 09:14 PM

Re: X-Cart v4.4.5 released
 
Hm so I am back with the USPS patch. This actually seems to be in all versions of the patch. According to USPS when rates are requested weight is passed as ounces with max being 1120.0 - one digit after decimal point. XC passes it with 2 digits - max being 1120.00 - which result in an error "The ounces field must be less than 5 digits". This is for international rates. Even 340.00 ounces for example results in an error. Fixing it - in shipping/mod_USPS.php find

Code:

$ounces = func_units_convert(func_weight_in_grams(max($_pack['weight'],
0.01)), 'g', 'oz', 2);


and change it to

Code:

$ounces = func_units_convert(func_weight_in_grams(max($_pack['weight'], 0.1)), 'g', 'oz', 1);

This seems to fix it. I filed also a bug report so hopefully QT will chime in

cflsystems 04-16-2012 12:27 PM

Re: X-Cart v4.4.5 released
 
Official QT bug fix for the above - http://bugtracker.qtmsoft.com/view.php?id=41123

gotpump 04-16-2012 06:50 PM

Re: X-Cart v4.4.5 released
 
I'm getting the following errors trying to upgrade from 4.4.4 to 4.4.5

Code:

skin/common_files/modules/HTML_Editor/editors/ckeditor/plugins/find/dialogs/find.js  *** PATCH FILE FIND.JS.DIFF NOT FOUND

and

Code:

skin/common_files/modules/HTML_Editor/editors/ckeditor/plugins/link/dialogs/link.js *** PATCH FILE LINK.JS.DIFF NOT FOUND

Any ideas?

cflsystems 04-21-2012 10:47 AM

Re: X-Cart v4.4.5 released
 
This should be default XC as it seems 99.9% of customers (even some developers) are confused with XC OPC

Open /skin/common_files/modules/One_Page_Checkout/ajax.checkout.js and find

Code:

this.cbutton.addClass('inactive').bind('click', function(e) {
inside ajax.widgets.checkout.obj.prototype.disableCheckou tButton = function() {....} function

and immediately after add

Code:

// added by CFL Systems for message if customer is not logged in / no customer info
 xAlert("YOUR MESSAGE HERE.");


This will popup the message if customer tries to click on "place order" button before cart is ready for checkout

qualiteam 04-23-2012 12:01 AM

Re: X-Cart v4.4.5 released
 
I've re-posted the solution provided to our internal bugtracking system. So, X-Cart team could check and include it in the next version. Thank you.

flyclothing 04-23-2012 02:12 PM

Re: X-Cart v4.4.5 released
 
Steve,

I found the code mentioned in the quote but dont see where to add the additional code after this


inside ajax.widgets.checkout.obj.prototype.disableCheckou tButton = function() {....} function

cflsystems 04-23-2012 09:25 PM

Re: X-Cart v4.4.5 released
 
It's not after - it's inside

cflsystems 04-24-2012 09:01 AM

Re: X-Cart v4.4.5 released
 
Inventory update bug - inventory update will not update any variants as the search for them results in only one variant id returned.

Open /provider/inv_update.php and find

Code:

            if (!empty($active_modules['Product_Options'])) {
                $vid = func_query_first_cell("SELECT $sql_tbl[variants].variantid FROM $sql_tbl[variants], $sql_tbl[products] WHERE $sql_tbl[variants].productid = $sql_tbl[products].productid AND ($sql_tbl[variants].productcode='$columns[0]' OR $sql_tbl[variants].variantid = '$columns[0]') ".$provider_condition);
            }


replace with
Code:

            if (!empty($active_modules['Product_Options'])) {
                $vid = func_query_first_cell("SELECT $sql_tbl[variants].variantid FROM $sql_tbl[variants], $sql_tbl[products] WHERE $sql_tbl[variants].productid = $sql_tbl[products].productid AND ($sql_tbl[variants].productcode='$columns[0]' OR BINARY $sql_tbl[variants].variantid = '$columns[0]') ".$provider_condition);
            }


cflsystems 04-24-2012 09:07 AM

Re: X-Cart v4.4.5 released
 
This bug exists in 4.4.2, 4.4.3, 4.4.4 and 4.5.x. In 4.4.1 and earlier bug is not present

zebu 04-26-2012 02:04 AM

Re: X-Cart v4.4.5 released
 
Hi All, I see one of the fixes in 4.4.5 is :

08 Nov 2011, aim - Bug ( 0115237 ): X-Cart fails to reconnect to MySQL server properly. Fixed.

I have tried d to find this in Bug Tracker searching with 0115237 with no luck. Any ideas where I can find more info and hopefully a patch. I think our 4.4.4 store may be effected by it.

Cheers

cflsystems 04-26-2012 07:06 AM

Re: X-Cart v4.4.5 released
 
Unfortunatelly the bug tracker numbers have nothing to do with the bug numbers in the change logs. It's like 2 completelly different companies work there and each one has its own system. You have to ask QT directly via your Help Desk

Marc Washburn 05-01-2012 05:33 PM

Re: X-Cart v4.4.5 released
 
Quote:

Originally Posted by cflsystems
Inventory update bug - inventory update will not update any variants as the search for them results in only one variant id returned.

Open /provider/inv_update.php and find

Code:

            if (!empty($active_modules['Product_Options'])) {
                $vid = func_query_first_cell("SELECT $sql_tbl[variants].variantid FROM $sql_tbl[variants], $sql_tbl[products] WHERE $sql_tbl[variants].productid = $sql_tbl[products].productid AND ($sql_tbl[variants].productcode='$columns[0]' OR $sql_tbl[variants].variantid = '$columns[0]') ".$provider_condition);
            }


replace with
Code:

            if (!empty($active_modules['Product_Options'])) {
                $vid = func_query_first_cell("SELECT $sql_tbl[variants].variantid FROM $sql_tbl[variants], $sql_tbl[products] WHERE $sql_tbl[variants].productid = $sql_tbl[products].productid AND ($sql_tbl[variants].productcode='$columns[0]' OR BINARY $sql_tbl[variants].variantid = '$columns[0]') ".$provider_condition);
            }


I have tried this manual patch and it is NOT working. I place orders for products in a variant chart and the inventory does not get updated.

Please advise how this can be fixed as 50% of our products are in variant charts.

cflsystems 05-01-2012 05:55 PM

Re: X-Cart v4.4.5 released
 
This has nothing to do with orders. It is for updating products prices via admin inventory update link. Also it is for 4.4.5 not for 4.1.x or 4.2.x

Marc Washburn 05-01-2012 06:57 PM

Re: X-Cart v4.4.5 released
 
Quote:

Originally Posted by cflsystems
This has nothing to do with orders. It is for updating products prices via admin inventory update link. Also it is for 4.4.5 not for 4.1.x or 4.2.x

Your post states 'Inventory update bug - inventory update will not update any variants as the search for them results in only one variant id returned.'

This is a bug I am experiencing on my 4.4.5 test platform (which I hope to go live with in a few days). I have easily recreated the bug and when making a test purchase the inventory levels of a product in a variant chart does NOT get updated.

I tried your fix and it didn't fix it.

Am I missing something?

cflsystems 05-01-2012 07:33 PM

Re: X-Cart v4.4.5 released
 
Yes you are missing something. This is for updating products quantity or pricing using csv file via "inventory update" link in admin. It is not related to orders at all. it does not apply to front end of the store either.
Is it posible what you experience to bve related to some 3rd party mod? Do you have any 3rd party mods for variants like bcse variants mod for example?


All times are GMT -8. The time now is 03:18 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.