Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Ship In Cart


Guest

Recommended Posts

I saw that one before, it was the police stuff site that didn't work.

But I don't think this link is any different then the actual contribution that is now in place? I thought this would show the 'development' version, or should I login to see the country dropdown?

 

Thanx,

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

OK I think I got it now...

 

y'all have to wait for this we to get to see the country/zip implementation...

 

Any idea's on showing the order totals in the basket as I've mensioned in this forum before?

Link to comment
Share on other sites

To gospelmusicstore...

 

You don't seem to have any shipping method...

If I follow the checkout, I don't see any shipping methods ...

 

Check your admin settings if any shipping method is selected.

Link to comment
Share on other sites

I do have zones shipping set up in the admin. But, as I said nothing shows up. Yesterday I set 3 different methods to choose from and still nothing shows up.

Link to comment
Share on other sites

My contribution doesn't change the checkout_shipping.php page at all and on that page the shipping methods doesn't appear eighter....

 

I hink their something else wrong with your shipping methods, because otherwise they would be visible in the checkout_shipping.

 

Can you send me the shopping_cart.php trough private message or email?

Link to comment
Share on other sites

The file send was ok.... But as you said, your problem isn't caused by my contribution.

 

Try searching the general and install forum topics on shipping modules not showing up...

 

I'm sure you'll find your answer there...

Link to comment
Share on other sites

I added a few things to the excellant work done by Edwin in providing such a handy add-on.

 

http://www.oscommerce.com/community/contributions,1094

 

This modification places everything in one infobox module file with one peice of code to insert in the shopping_cart.php or where ever you want to display this.

 

Shows Free Shipping on Virtual Products.

 

Shows Free Shipping when order $total is set to Free in Admin

 

Thanks again to Edwin Bekaert for such an excellant add-on!

Link to comment
Share on other sites

For those using Ian's Loaded 4

or when you get an error:

Fatal error: Call to undefined function: get_content_type() in /home/wizardsa/public_html/shopping_cart.php on line 18

Open catalog/includes/classes/shopping_cart.php and at the end, just before:

  } 

?>

put the following function:

function get_content_type() { 

 return "mixed"; 

}

Link to comment
Share on other sites

Thanx Linda....

Shows Free Shipping when order $total is set to Free in Admin
Ooops... so I forgot the free shipping .... :oops:

 

I'll check it this weekend...

Seems much easier to install hey...

 

I only think that the text definitions should be in the language files....

My future shop, if it ever gets finished, will be in dutch, french and english ....

Link to comment
Share on other sites

I think the language definitions should be seperated too. I had not had time to do so, so I stuck them in the top of the module.

 

They can be moved once this is working 100%

 

I think all the bases are covered, but I am not sure every issue has been addressed yet, so this was just to keep it all simple.

 

Later, when this is running happily under all conditions they can then be added to their own language file and accessed via an includ in the main laanguage files.

Link to comment
Share on other sites

Ok, I see...

 

So check back after this weekend when I've included the requested changes...

 

And it would be great if you could comment on my other contributions, because not much feedback is comming in...

 

Thanx again

Link to comment
Share on other sites

If you have the URLs for them, I will try to look at them when I have some free time.

 

In the middle of Attributes Sorter and Copier and Quantity Controller updates for MS1 right now ... and break time is over ... :cry:

Link to comment
Share on other sites

This looks a great addon, would it be a major job to make functional in older (pre MS1) snapshots.

 

I tried an install, just in case it worked :) but alas no.

 

Would be greatly appreciated if anyone has managed to get this to work in an odler snapshop.

 

Great work, very usefull addon

 

Cheers

 

Matt

www.consoleplus.co.uk

Link to comment
Share on other sites

Umm, please try to pay attention.

 

For those using Ian's Loaded 4

or when you get an error:

Fatal error: Call to undefined function: get_content_type() in /home/wizardsa/public_html/shopping_cart.php on line 18

Open catalog/includes/classes/shopping_cart.php and at the end, just before:  

  } 

?>

put the following function:  

function get_content_type() { 

 return "mixed"; 

}

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

// shipping cost

require('includes/classes/http_client.php'); // shipping in basket

 

when was http_client.php introduced, as this file is not used in my setup and causes obvious errors (ie. it don't exist:))

 

Im not familiar with the loaded snapshots, so not sure when loaded 4 was released, but those errors weren't apparant (yet) with my install.

 

I do try to pay attention ;)

 

Cheers

 

Matt

www.consoleplus.co.uk

Link to comment
Share on other sites

Sorry, ignore the above

 

Just discovered that is part of the new checkout code (i am way behind here with my old checkout version).

 

maybe i need to get with the times and upgrade *shudder*

 

Cheers

 

Matt

www.consoleplus.co.uk

Link to comment
Share on other sites

Oh, ok, you have really older snapshot then. What is that date on your snapshot?

 

Sorry about the snappy retort. I didn't mean it to come accross quite that harsh.

 

 

You might have considered qualifying your comment though, since loaded 4 is now considered one of the older versions.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

I use the Oct 31st snapshot (right before the checkout update)

 

yea i should have given more info, sorry bout that. no offence taken :)

 

I would consider upgrading, but my site is running nicely at the moment, seems to be stable and is doing all i ask of it - if it aint broke dont fix it i suppose, shame as i will no doubt miss out on some nice contributions. Wish I had the time to read the PHP book i bought so i could adapt them myself :)

 

Cheers

 

Matt

www.consoleplus.co.uk

Link to comment
Share on other sites

I faced that very same delima, however, I coped the DB, and called it new_catalog, and installed the new software in a subdirectory off of the main site. That way I was able to work on it a little at a time. It took me about 3 or 4 weeks working on it part time.

 

Thus far, the rewards have greatly outweighed the imvestment.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

maybe i need to get with the times and upgrade *shudder*

 

Be afraid ... be very afraid ... :shock:

 

Unless of course you are a glutton for punishment, then you are in for a good time ... 8)

Link to comment
Share on other sites

version 1.5 now posted !

 

Go test it and report your findings!

 

* Now includes country and zip selection if user isn't logged in.

* formats the adres if user is logged in.

* checks if shipping module doesn't return an error

* highlights the cheapes shipping

 

The contribution of Hatim Daginawala is NOT included in this package.

 

The updates of Linda are included.

 

Language will be seperated once finished...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...