[Contribution] Ship In Cart
#161
Posted 23 July 2003, 06:23
David
#162
Posted 23 July 2003, 06:25
#163
Posted 23 July 2003, 16:31
FYI, I am only using the UPS XML shipping module. I have no experience using ship in cart with other shipping modules.
#164
Posted 23 July 2003, 17:25
#165
Posted 24 July 2003, 02:50
#166
Posted 24 July 2003, 04:55
When I did this I got "Error 404 doucment '_' not found" whenever I clicked on the "recalculate" or "select" links. It took me quite a while to figure out that when I followed the install intructions to the letter I placed the ship in cart form (<form></form) tags inside the shopping cart form tags. This is an invalid construct in HTML.
So, I needed to move the code in shopping_cart.php to include the ship in cart module immediately after the shopping cart </form> tag, but before the </td> that appeared after the </form>. Sheeesh, I hope that makes sense.
Anyway, there are still problems with the module on MS2 related to the bottom infobox showing "Total cost if you order today". I looked at it briefly and think it is related to how the check out process was reworked for MS2 (possibly involving use of session variables to maintain check out choices).
I decided, for now, that the totals including tax and being able to change totals by selecting different shipping choices was a relatively unimportant feature. My main concern is not losing shoppers (like me) who want to know what it will cost to ship without having to create an account first. I can't remember how many shopping carts I have orphaned on web sites that would not provide shipping costs without me first giving my personal information.
So, I set the one flag to turn off the order total box and (by hand) removed the "select" links that appear to the right of each shipping choice.
Good luck,
Paul
#167
Posted 24 July 2003, 19:20
The Contrib works great so far, but i am getting wrong rates in the order total display of the ship in cart contrib.
At the end of checkout the ups rates show up correctly. i only can't get the right order total in tht ship in cart window when i select an ups rate for shipping.
MS1 Loaded5, UPS XML 1.02, Ship in Cart 1.71
any help appreciated
Stephan
#168
Posted 25 July 2003, 16:14
#169
Posted 25 July 2003, 18:01
I assume i have to go to each install.txt file do what it says then move on to the next making sure those changes were made or complete them.
#170
Posted 05 August 2003, 06:10
Has anybody got it working?
"Pleasure in the job puts perfection in the work" -- Aristotle
#171
Posted 18 August 2003, 07:19
#172
Posted 18 August 2003, 10:10
#173
Posted 22 August 2003, 02:12
Really thanks to the contribution as this is the function I was looking for so long time, as the customers will be unhappy when the register several pages and find the shipping charge are even more than the products cost itself......
However I got some error when I install this mod, and hope to have some help....after I install it I got this error:
Fatal error: Call to undefined function: get_content_type() in /home/ezreef/public_html/catalog/includes/modules/shipping_estimator.php on line 186
And when I chen the line 186 on shipping_estimator.php it is:
if($cart->get_content_type() == 'virtual') {
Because I set the products download are false and I try to enable it but also with no luck....so any suggest what can I do??
My shopping cart file version are $Id: shopping_cart.php,v 1.67 2002/11/23 02:08:10 thomasamoulton Exp $
Thank you for your guys help....
#174
Posted 24 August 2003, 19:18
This is the error I get -
Quote
Now I look at line 206 and I have this
Quote
So its seems there is an undefined function as the error says. I can't find this in the shipping module so I would have to say its calling to a defined name that has changed in MS2... Anyone have any ideas what the new name is?
Or am I completely off track?
#175
Posted 25 August 2003, 20:13
In MS2, they have changed the way that error message are output. Instead of a function in general.php, a new class file, message_stack.php was created to handle all of the error messages.
To fix the error...
Locate the following line of code...
$ShipTxt.=tep_output_warning(CART_SHIPPING_OPTIONS_LOGIN);and replace it with this...
$ShipTxt.=$messageStack->add('header', CART_SHIPPING_OPTIONS_LOGIN, 'warning');
That should remove your error.
Hope this helps.
-R
It's difficult to diagnose an issue when the patient says, "I have this pain right here Doc, what do you think it is?"
#176
Posted 25 August 2003, 22:28
I have re-written this contribution for use with MS2 and have it installed...
So far, ITS WORKING!!! ...except for one small item.
With multiple Shipping modules loaded, (for testing purposes, I have Flat Rate Shipping and Table Shipping Rate active) when I click on the "select" link to choose a quote for a different shipping module rate, the page refreshes and the Shipping selection does not change.
Any ideas?
This seems to be the last piece before I can package it up and let all of you test it. I'm very close.
I'm also working on a new contribution that will integrate this contribution's functionality with the one I am writing.
Thanks.
-R
It's difficult to diagnose an issue when the patient says, "I have this pain right here Doc, what do you think it is?"
#177
Posted 28 August 2003, 12:58
#178
Posted 28 August 2003, 13:16
Quote
}
?>
</form>
</td>
I added this
Quote
<td><br><?php require(DIR_WS_MODULES . 'shipping_estimator.php'); ?></td>
</tr></table>
#179
Posted 28 August 2003, 13:30
I saw your site and the ship in cart shows Country as dropo down menu
and be able to post e post code..
I have downloaded the contribution and I didn't see that, also I one had to be registered see all that you have...
is it the same contribution or you have a modified one?
could you pls direct me on this?
Thanks
PS: By the way, it load very fast....
#180
Posted 28 August 2003, 20:56
Besides at little thing that does not put the store postcode in when you first start. but besides that it works fine.














