Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    Default International RFQ/ Shipping rate request needed for v157c

    I need to have international customers request their shipping options before checkout until I can find a better solution.
    There were some plugins that offered this for earlier versions of ZC. However, they are all very old, most for v1.3.x series Zen Carts. I ran into this same problem 13 years ago (https://www.zen-cart.com/showthread....t=RFQ+SHIP-ZEN). I don't expect any of the old plugins to work now, and I need to do this on a v157c.
    Is there a workaround for this in the admin? Or perhaps a repurposing of one of the existing shipping options that can be applied to this problem? Thank you.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: International RFQ/ Shipping rate request needed for v157c

    Was there anything about the plugin set that you mentioned, which wasn't filling the need?
    (ie: if just upgrading it for v157 would suffice, that'd be helpful to know)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    Default Re: International RFQ/ Shipping rate request needed for v157c

    Quote Originally Posted by DrByte View Post
    Was there anything about the plugin set that you mentioned, which wasn't filling the need?
    (ie: if just upgrading it for v157 would suffice, that'd be helpful to know)
    I didn't attempt the install because it appears to overwrite orders.php files, and the files have evolved since the plugin was released for v1.3.8. I also didn't understand them well enough to make the necessary changes. So I thought I should inquire about alternative plugins or admin workarounds that would accomplish the same.
    I believe an upgrade would work. It performed well in previous Zen Carts.

  4. #4
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    Default Re: International RFQ/ Shipping rate request needed for v157c

    The change to orders.php was actually minimal. And it seems the plugin file set had an error in it too.
    Code:
    define('TEXT_RQF', 'Request for Quote');
    should be
    Code:
    define('TEXT_RFQ', 'Request for Quote');
    There were also a couple of deprecated constructor warnings in rfq.php and rfq2.php which are fixed by replacing
    Code:
    function rfq
    and
    Code:
    function rfq2
    with
    Code:
    function __construct
    I also had a bit of trouble getting the image to show up (not sure why), but placing the .gif in my images directory and changing DIR_WS_ICONS in includes/modules/rfq.php to DIR_WS_IMAGES seems to have fixed that.

    Looks like it's working great with v1.5.7c

  5. #5
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: International RFQ/ Shipping rate request needed for v157c

    Yes, the renaming of the constructor function is required for modern PHP versions.

    The admin orders.php language file define could just be moved to its own extra_definitions file, so that no override is required.

    There's a possibility that some PHP warnings may occur if the module files are uploaded but the modules haven't been activated/enabled yet. But once enabled such warnings should disappear. That's just a matter of testing for certain defines that aren't present during the constructor loading, and exiting early if the module isn't enabled.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Request contact shipping quote for international orders?
    By picandnix in forum General Questions
    Replies: 0
    Last Post: 1 Nov 2011, 12:37 AM
  2. Shipping ... Free for USA/International Base Rate plus Charge Per Item
    By thegoodlifestore in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 6 Jul 2010, 02:09 PM
  3. How to set up so International customers call for shipping rate?
    By FlameAngel in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 24 Jan 2008, 04:55 PM
  4. Flat rate shipping-one rate euro, one rate international
    By schwimwastaken in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 11 Oct 2006, 04:59 AM
  5. Cut & Paste International ISO Codes for Zone Rate Shipping
    By shannda in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 6 Sep 2006, 07:03 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR