now i feel a little silly for not noticing that
[Contribution] Ship In Cart
#501
Posted 15 January 2007, 08:14
now i feel a little silly for not noticing that
#502
Posted 17 January 2007, 10:27
thanks
Marcus
#503
Posted 01 March 2007, 13:20
But the Instructions in Instal.txt is not clear for me:
1. Run included SQL... How to run? The included SQL.txt runs by Notepad. Seems it is a wrong way.
Please advice.
Thanks
Sergei
#504
Posted 01 March 2007, 16:53
leveera, on Mar 1 2007, 08:20 AM, said:
But the Instructions in Instal.txt is not clear for me:
1. Run included SQL... How to run? The included SQL.txt runs by Notepad. Seems it is a wrong way.
Please advice.
Thanks
Sergei
management tool supplied by your host.
#505
Posted 02 March 2007, 04:18
Just installed the Ship In Cartand we are getting the following error
Fatal error: Cannot redeclare class in
httpclient in /includes/classes/http_client.php on line 37
Uhave searched everywhere an con not find an answer. can anyone point us in the correct direction
Thanks
joe
Long Island, New York
#506
Posted 02 March 2007, 06:56
applelinks, on Mar 1 2007, 11:18 PM, said:
Just installed the Ship In Cartand we are getting the following error
Fatal error: Cannot redeclare class in
httpclient in /includes/classes/http_client.php on line 37
Uhave searched everywhere an con not find an answer. can anyone point us in the correct direction
Thanks
joe
#507
Posted 02 March 2007, 10:09
I'm having trouble with Ship In Cart passing a value onto a Zone based shipping module for customers not logged in. (US shipping only)
The zone based shipping modules all use the following code (or a simialr version)
// if delivery is to other country, skip module in cart
if ($order->delivery['country']['iso_code_2'] != 'US') return;
$dest_state = $order->delivery['state'];
$dest_zone = 0;
$error = false;
for ($i=1; $i<=$this->num_zones; $i++) {
$state_table = constant('INTERSTATE_STATES_' . $i);
$state_zones = split("[ ,]", $state_table);
if (in_array($dest_state, $state_zones)) {
$dest_zone = $i;
break;
The country value seems to work just fine as the module will stop if a non US country is selected. The next line: $dest_state = $order->delivery['state']; is not returning any value at all (I'm peeved as I did have it working but then zapped the files and, for the life of me, I cannot get it going again)
I can hard code a state into the line $dest_state = $order->delivery['UT']; and it works fine.
(The zone based modules also rely on zone_code rather than zone_id but whichever I pull out in the dropdown menu in Ship in cart is not getting picked up by this module)
Any pointers/ideas
Bob
#508
Posted 03 March 2007, 07:28
sakwoya, on Mar 2 2007, 10:09 AM, said:
Answering my own posts again - OK the fix I used (maybe not graceful) is to pass the value for zone_code rather than zone_id in $string from the estimator to the zone shipping - you then need an if (customer is logged in) else $dest_state = $_POST['state'];
Graeme
#509
Posted 03 March 2007, 08:02
sakwoya, on Mar 3 2007, 02:28 AM, said:
Graeme
can you post your fix for everyone? You are one of the good ones, all closing-out your questions and all.
This was specifically related to the zone shipping only?
Edited by surfalot, 03 March 2007, 08:02.
#510
Posted 03 March 2007, 08:09
#511
Posted 07 March 2007, 15:52
I got SQL query run error: #1062 - Duplicate entry '19' for key 1
but I don't understand how to find "next available configuration_group_id in table"
I even can't spot 19 in the table. The configuration_group table has following:
Field _____________________ Type________Collation_____Null
configuration_group_id................int(11)...............................No
configuration_group_title.............varchar(64)....latin1_swedish_ci...No
configuration_group_description...varchar(255)..latin1_swedish_ci...No
sort_order..................................int(5)..........................Yes
visible........................................int(1)................Yes
Thanks
Sergei
#512
Posted 08 March 2007, 06:21
leveera, on Mar 7 2007, 10:52 AM, said:
I got SQL query run error: #1062 - Duplicate entry '19' for key 1
but I don't understand how to find "next available configuration_group_id in table"
I even can't spot 19 in the table. The configuration_group table has following:
Field _____________________ Type________Collation_____Null
configuration_group_id................int(11)...............................No
configuration_group_title.............varchar(64)....latin1_swedish_ci...No
configuration_group_description...varchar(255)..latin1_swedish_ci...No
sort_order..................................int(5)..........................Yes
visible........................................int(1)................Yes
Thanks
Sergei
#513
Posted 08 March 2007, 13:15
surfalot, on Mar 8 2007, 08:21 AM, said:
The question is that should be contrib's group number? Anybody know here how to find this
number?
I tried: 19, 20, 99, 256, 300, 360, 380, 580 - the result was always error: #1062 - Duplicate entry...
Any help is appreciated
Sergei
#514
Posted 08 March 2007, 18:41
leveera, on Mar 8 2007, 08:15 AM, said:
number?
I tried: 19, 20, 99, 256, 300, 360, 380, 580 - the result was always error: #1062 - Duplicate entry...
Any help is appreciated
Sergei
then you need to search and replace '19' with '56' in the SQL.txt. then run that in your SQL tool.
#515
Posted 09 March 2007, 09:33
configuration_group_ID
1. Login to address like http://mysql.yourdomain.com (provided by your host)
2. Look at a list of tables and find configuration_group, click it
3. Next find line configuration_group_id and mark its checkbox
4. On the top of the page click BROWSE tab
5. Now you see all used configuration_group_id-s
Hope it helps
Sergei
#516
Posted 13 April 2007, 22:29
When a user is logged in this contribution works flawless. When not logged in a user can get shipping estimates but when you click on a shipping method to have it applied to the order total estimate the page reloads and the state and zipcode information that the customer enter is gone and they have to start over.
Any help would be appreciated.
Ryan
#517
Posted 15 April 2007, 18:12
rkoechel2004, on Apr 13 2007, 05:29 PM, said:
When a user is logged in this contribution works flawless. When not logged in a user can get shipping estimates but when you click on a shipping method to have it applied to the order total estimate the page reloads and the state and zipcode information that the customer enter is gone and they have to start over.
Any help would be appreciated.
Ryan
tell me, after selecting the country and entering the post code and getting the first estimate, does the country and post code appear again in the appropriate boxes (before selecting a specific shipping method)?
#518
Posted 15 April 2007, 20:55
surfalot, on Apr 15 2007, 06:12 PM, said:
tell me, after selecting the country and entering the post code and getting the first estimate, does the country and post code appear again in the appropriate boxes (before selecting a specific shipping method)?
After getting the first estimate the post code box is empty and the state goes back to "Please Select"
#519
Posted 15 April 2007, 21:12
rkoechel2004, on Apr 15 2007, 03:55 PM, said:
whach u mean "state" goes back. the standard code is a country selector and zip code. are you working on a modified version?
#520
Posted 16 April 2007, 19:35
surfalot, on Apr 15 2007, 09:12 PM, said:
I was using a stock 2.0 install. I just updated to 2.2.1 to see if that fixed the problem and it didn't. But the stock 2.2.1 still gives me the option of selecting a state.
-Ryan














