Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Flat Rate Shipping Clone

Flat Rate Shipping Clone

Views: 1,703

Results 1 to 8 of 8
21 Feb 2012, 8:50 PM
#1
laurelsstitchery avatar

laurelsstitchery

Zen Follower

Join Date:
Jun 2010
Posts:
145
Plugin Contributions:
0

Flat Rate Shipping Clone

I'm having a problem getting my flat rate clone to work. I've copied the flat.php file and changed all instances of flat to flatint and all instances of FLAT to FLATINT. Then I uploaded the files to the server in the correct places, but the option doesn't show up in the shipping module. Any idea what I might be doing wrong? Thanks! :)

21 Feb 2012, 9:52 PM
#2
laurelsstitchery avatar

laurelsstitchery

Zen Follower

Join Date:
Jun 2010
Posts:
145
Plugin Contributions:
0

Re: Flat Rate Shipping Clone

I forgot to include the answers to the new post questions:
What version of Zen Cart are you using? 1.50
Has your site been upgraded? When? From what version(s)? fresh install
If you've upgraded, HOW did you upgrade? (official upgrade procedure or an automated script from your hosting company?) n/a
What addons have you installed? When? none
HOW did you install it? (upload via FTP and run zc_install, or a one-click install from your hosting company? (one-click installs are NOT recommended)) upload via FTP and run zc_install
In what ways is your site customized or different from a brand new uncustomized install? I have the Alysa Rounded template installed, but nothing else
If you're encountering display/layout problems, post your site URL* so it can be seen in action. n/a
If you're encountering problems that could be related to your server or hosting company, include the name of your hosting company (not their URL). dreamhost
HAVE YOU LOOKED IN THE FAQ AREA for answers to your question? (ie: a search for your error message or what you want to edit/change, etc) yes, but the info was several years old and didn't apply to v1.50
Have you searched the FORUM for your error message or for answers to the question you're asking? yes, but again, only answers for 1.3x came up
WHEN did the problem "start"? How does that compare with other events of your hosting company, changes you've made to your site files/addons, or your admin settings, etc? started when I tried duplicating the flat rate shipping file and it didn't work
If this is your first store, have you tested all aspects of transactions before going live? yes

21 Feb 2012, 10:42 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Flat Rate Shipping Clone

Do you have any back up files in the:
/includes/modules/shipping

Do you see any debug logs in the /cache directory? If so, what do they say?

21 Feb 2012, 11:16 PM
#4
laurelsstitchery avatar

laurelsstitchery

Zen Follower

Join Date:
Jun 2010
Posts:
145
Plugin Contributions:
0

Re: Flat Rate Shipping Clone

Ajeh:

Do you have any back up files in the:
/includes/modules/shipping

Do you see any debug logs in the /cache directory? If so, what do they say?

I'm not sure what you mean by back up files, but I just have all the files that were in the v1.50 install plus the flatClone.php file I made.

There are no debug logs in the cache folder.

21 Feb 2012, 11:35 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Flat Rate Shipping Clone

You said in the first post:

and changed all instances of flat to flatint and all instances of FLAT to FLATINT

But in the last post you said:

I just have all the files that were in the v1.50 install plus the flatClone.php file I made.

If the file name is flatClone.php then you would change:
flat to flatClone
FLAT to FLATCLONE

If you want to use:
flat to flatint
FLAT to FLATINT

then call the files:
flatint.php

22 Feb 2012, 12:08 AM
#6
laurelsstitchery avatar

laurelsstitchery

Zen Follower

Join Date:
Jun 2010
Posts:
145
Plugin Contributions:
0

Re: Flat Rate Shipping Clone

Ajeh:

You said in the first post:

But in the last post you said:

If the file name is flatClone.php then you would change:
flat to flatClone
FLAT to FLATCLONE

If you want to use:
flat to flatint
FLAT to FLATINT

then call the files:
flatint.php

Ohhhhh! That makes sense. I'll try it. Thanks! :)

22 Feb 2012, 12:29 AM
#7
laurelsstitchery avatar

laurelsstitchery

Zen Follower

Join Date:
Jun 2010
Posts:
145
Plugin Contributions:
0

Re: Flat Rate Shipping Clone

laurelsstitchery:

Ohhhhh! That makes sense. I'll try it. Thanks! :)

It worked beautifully - thanks! :)

22 Feb 2012, 1:02 AM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Flat Rate Shipping Clone

Thanks for the update it was the naming that needed fixing on your cloned flat rate ... :smile: