Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Posts
    14
    Plugin Contributions
    0

    Default Customer to Enter Shipping Amount

    I'm trying to set up the shipping system in the Checkout, so that local customers can select from three flat rate options $2 $5 or $10, and international customers can enter the amount (as per the amount in the item description) in an empty field.

    I've read about copying and renaming the flat.php file, so I could have flat1.php, flat2.php, unfortunately I seem to get stuck, when I click on copy file in my control panel, it asks me where I want to save the file, and then won't let me save it.

    A request total option in checkout for customers who are unsure of the total would also be really useful.

    As to the first part, if someone can suggest how I can complete the copy part of the process, I should be able to do the rest, changing all the flat to flat1, FLAT to FLAT1, and the same in the associated languages/english/modules/shipping/flat.php files.

    Yesterday I didn't know what PHP was, so a simple explanation might be better.

    Thanks

  2. #2
    Join Date
    Nov 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: Customer to Enter Shipping Amount

    Well, I worked out how to create a new file, copy the script from the old file, rename all the flat to flat1 etc, but kept getting warning messages when I checked it in the ZC admin. There was a new flat1 module there to be installed, but I wasn't game with all the error in line 174 messages everywhere.
    Can anyone tell me what my error in line 174 was?

  3. #3
    Join Date
    Nov 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: Customer to Enter Shipping Amount

    Despite being reasonably adequate at following instructions, I continue to get warning and error messages in admin after I create new flat.php files for the shipping module.
    Who else wishes they had actually just paid for a program that works?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Customer to Enter Shipping Amount

    Usually this is due to typos of mismatched case on the global replaces of flat with flatuk or FLATUK ...

    Or perhaps you included an underscore such as flat_uk which would run into a conflict with flat ...

    The modules need to "own" their own variables and filenames exclusively ...

    These conflicts can show up in the catalog or the admin ...
    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!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Customer to Enter Shipping Amount

    NOTE: there are also 109 lines to flat.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!

 

 

Similar Threads

  1. I want International Customer to Manually Enter Shipping Cost
    By toboldlygo in forum Addon Shipping Modules
    Replies: 0
    Last Post: 17 Jun 2010, 11:48 PM
  2. Ability for customer to enter custom shipping price?
    By jesselperry in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 18 Dec 2009, 01:48 AM
  3. Customer Has to Manually Enter Amount?
    By headsupfortails in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 24 Jun 2008, 10:17 AM
  4. Allow customer to enter their own shipping account?
    By hzp in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 13 Oct 2007, 03:37 PM
  5. Please enter an amount greater than zero....
    By 2scrappychixdesigns in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 30 Dec 2006, 04:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg