Does anyone have a shipping module that is basically a copy of flat rate, that I can add to my site and rename it? Or anyone have any advice on how to copy a shipping module and make it work?
Does anyone have a shipping module that is basically a copy of flat rate, that I can add to my site and rename it? Or anyone have any advice on how to copy a shipping module and make it work?
I found the thread on cloning shipping modules and I did so. When I go to modules/shipping under admin and try to install the new cloned module, I get this error
Warning: reset(): Passed variable is not an array or object in /home/content/c/i/r/circlegt/html/shop/admin/modules.php on line 279
Warning: Variable passed to each() is not an array or object in /home/content/c/i/r/circlegt/html/shop/admin/modules.php on line 280
I went to this file and went to line 279 and 280 and they look like this
reset($mInfo->keys);
while (list($key, $value) = each($mInfo->keys)) {
Is there anybody out there that is familiar with cloning that can help?
flat.php ===> flatsomething.php
flat ===> flatsomething
FLAT ===> FLATSOMETHING
Two files to clone:
/includes/modules/shipping/flat.php ===>
/includes/modules/shipping/flatsomething.php
/includes/languages/english/modules/shipping/flat.php ===>
/includes/languages/english/modules/shipping/flatsomething.php
That's about all there is to it ...
Sounds like you have errors somewhere, missing or mixed up files, typos, etc. etc. etc.
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!
I will give it a try thanks
I am having a flat rate shipping error.
I have it configured to charge 8.50 per unit, It seems to be working properly, but there is the orange/yellow indicator that tells me it isnt.
I have it set-up as follows:
Flat Rate
Enable Flat Shipping
True
Shipping Cost
8.50
Tax Class
Taxable Goods
Tax Basis
Billing
Shipping Zone
New York ( New York )
Sort Order
1
I'm thinking it has to do with the Shipping Zone or sort order. I never have been able to figure exactly what the sort order is.
The Zone is triggering the orange dot to let you know that there is a "filter" or condition on the shipping module ...
The Sort Order is for the display order of the Shipping Modules when you have more than one ...
NOTE: Always be sure to set a Sort Order on ALL of the Modules, if you intend to set one of them ... otherwise, leaving the Sort Order at 0 will be okay on Shipping or Payment Modules ...
NOTE: Order Total Modules always need to have Sort Orders and usually the default Sort Orders are correct ...
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!