Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Built-in Shipping and Payment Modules / install 2nd ship by weight for international (how to clone?)

install 2nd ship by weight for international (how to clone?)

Locked

Started by co_pablo on 26 Nov 2006, 5:40 AM · Views: 1,012

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Nov 2006, 5:40 AM
#1
co_pablo avatar

co_pablo

New Zenner

Join Date:
Nov 2006
Posts:
4
Plugin Contributions:
0

Post #1 by co_pablo

I would like to use ship by weight calculation to come up with prices for international shipping with different rates than US shipping.

So I figured I would clone the perweightunit module & I've been searching and have found this covered for per-item, but not perweightunit.

Can someone please help me out?

I've tried copying the files: perweightunit.php in both the /includes/languages/english/modules/shipping and in /includes/modules/shipping, and renamed to this in those to files (origonal names doesn't have int_ in the middle of the title):

MODULE_SHIPPING_perweightunit_int_TEXT_TITLE
MODULE_SHIPPING_perweightunit_int_TEXT_DESCRIPTION
MODULE_SHIPPING_perweightunit_int_TEXT_WAY

is there something else I need to do to make this work?

thanks-

Pablo

26 Nov 2006, 4:39 PM
#2
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Post #2 by pixxi

What problems/errors are you seeing?

26 Nov 2006, 5:05 PM
#3
ajeh avatar

ajeh

Oba-san

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

Post #3 by ajeh

Close ... but no cigar ... :eek:

perweightunit
perweightunitint

PERWEIGHTUNIT
PERWEIGHTUNITINT

1 global replace on as case sensative

2 don't use the underscore as you are creating a conflict between perweightunit and perweightunit_int

Call the clone files:
perweightunitint.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!

28 Nov 2006, 4:55 AM
#4
co_pablo avatar

co_pablo

New Zenner

Join Date:
Nov 2006
Posts:
4
Plugin Contributions:
0

Post #4 by co_pablo

Thank You very much.

that got it working.

-Pablo