Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Express and economy options with 'per item'

Express and economy options with 'per item'

Locked

Views: 1,420

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
7 Apr 2007, 12:46 AM
#1
psr_racing avatar

psr_racing

New Zenner

Join Date:
Feb 2007
Posts:
90
Plugin Contributions:
0

Express and economy options with 'per item'

I'm using the 'per item' shipping module but I would like to make it a choice of express or economy. Choosing express will simply add a fixed amount to the total. How can I do this.

7 Apr 2007, 12:56 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Express and economy options with 'per item'

Clone the perweightunit.php files and make perweightunitexpress.php and change the perweightunit to perweightunitexpress and the PERWEIGHTUNIT to PERWEIGHTUNITEXPRESS ...

Install it and add the Handling charge for the extra amount and change the defines on the language files and voila!! A new shipping module is born!! :smartalec:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Apr 2007, 8:32 PM
#3
henrietta avatar

henrietta

New Zenner

Join Date:
Mar 2007
Location:
WAY out West
Posts:
86
Plugin Contributions:
0

Re: Express and economy options with 'per item'

Wonderful stuff, and I thank you.

Install it and add the Handling charge for the extra amount and change the defines on the language files and voila!!

I have saved the new file and a copy in my new Custom Shipping folder. How do I install it? It does not appear in my shipping module page after refreshing.

Henrietta

17 Apr 2007, 12:49 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Express and economy options with 'per item'

There isn't a custom directory for the:
/includes/modules/shipping

There is a custom directory for the language files, but there has to be an original in the default directory:
/includes/languages/english/modules/shipping

As this is your own custom shipping, you can just put both in the two default directories:
/includes/modules/shipping
/includes/languages/english/modules/shipping

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Apr 2007, 4:03 AM
#5
henrietta avatar

henrietta

New Zenner

Join Date:
Mar 2007
Location:
WAY out West
Posts:
86
Plugin Contributions:
0

Re: Express and economy options with 'per item'

I am sorry to be so dim.

I put my new file: perweightunitexpress.php into
/includes/languages/english/modules/shipping

Then I go to /includes/modules/shipping where I will find another different perweightunit.php which I clone and change every reference to perweightunit to perweightunitexpress?

Are there more defines somewhere else?

Henrietta

17 Apr 2007, 4:09 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Express and economy options with 'per item'

In FTP:

You should see:
/includes/modules/shipping/flat.php
/includes/modules/shipping/item.php
etc.etc.etc.
/includes/modules/shipping/perweightunit.php
/includes/modules/shipping/perweightunitexpress.php

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Apr 2007, 6:57 AM
#7
psr_racing avatar

psr_racing

New Zenner

Join Date:
Feb 2007
Posts:
90
Plugin Contributions:
0

Re: Express and economy options with 'per item'

This is working well for me thanks.