Jump to content
piernas

Shipping table is now a real table :)

Recommended Posts

Today I decided I got angry for the last time updating a table rate based module. Afer several tryouts to change the shipping rates just to see I had a typo in the values string  -damned colons- and having to manually calculate the net prices for each row from the gross that came from the table provided by the courier... I had enough and modified the table rate module to show a real table where you can see what you're doing. Uses some javascript to update net/gross, add or remove rows and do some basic checks.

It can be adapted to any other module that uses the same system.

Note: The net pice is caclulated based on the tax class from the module. It will apply only to the countries in the module's zone and it's not savet to database but calculated on the fly. For this column to work you need to set up the tax rate first, save and enter the module configuration again.

Here is the file: https://apps.oscommerce.com/wyYLv&sgipping-table-module-update

@burt you can replace the stock one if you consider it fits the community project.

scr.thumb.jpg.fd066059da33bddf7f404e0995d8ae52.jpg

Share this post


Link to post
Share on other sites

Good work, this is the perfect application of an addon.  The user upload and installs.

Would probably have been useful to give it a totally new name (and include language file) => no need for inclusion in Core.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest Responsive osCommerce CE (community edition) here

Share this post


Link to post
Share on other sites
7 minutes ago, piernas said:

@LeeFoster I'm currently overwhelmed by work but can help if you have troubles adapting it!

Yeah I think I am going to have problems with it so will make do with it as it is for now.

Share this post


Link to post
Share on other sites
43 minutes ago, piernas said:

It shouldn't be too difficult - I'll take a look as sson as I have some time.

I appreciate it but don't worry if you don't have the time. 

I'm more of a cut and paste coder when it comes to oscommerce so it's beyond me.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×