Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    65
    Plugin Contributions
    0

    Default Tie payment to certain shipping?

    I have two shipping methods.

    a) send the products to the costumers (mail package)
    b) Pick up the products in the store.

    Can you tie my payment option "Pay in store when you pick up the package." to B? Now you can select to pay in store even though you might live in another country.

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

    Default Re: Tie payment to certain shipping?

    If you look in the modules ... there is a setting for $this->enabled

    When that value is true, the module can run ...

    When it is false the module cannot run ...

    To work around the $this->enabled = true for being installed, you can use a function to test some condition to control it beyond the fact that it was installed ...

    Using a function that tests the shipping method, you can determin when to allow which payment module to run ...
    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. v150 Tie Shipping to order status?
    By treblesand in forum General Questions
    Replies: 4
    Last Post: 14 Apr 2014, 02:20 PM
  2. Replies: 0
    Last Post: 2 May 2011, 10:14 PM
  3. Can I restrict certain payment methods for certain products?
    By one tall man in forum Built-in Shipping and Payment Modules
    Replies: 27
    Last Post: 6 Apr 2011, 08:40 PM
  4. Remove only certain Payment Options after selecting Shipping
    By RosscoB in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 17 Mar 2009, 04:24 PM
  5. How to disable certain payment methods for certain products?
    By AccurateOptics in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 29 Mar 2007, 06:53 PM

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