Thread: ship to payment

Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Posts
    2
    Plugin Contributions
    0

    red flag ship to payment

    I can associate a shipment to a payment?

    example:

    I have 2 shipping method, UPS and STORE PICKUP

    For UPS I want to associate CREDIT CARD, CASH ON DELIVERY, and MONEY ORDER.

    For STORE PICKUP I want to associate ONLY direct payment with money.

    How I can DO?? TNKS

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

    Default Re: ship to payment

    $_SESSION['shipping']['id'] would give:
    item_item
    flat_flat
    freeoptions_freeoptions
    storepickup_storepickup
    ups_2DA
    ups_GND

    Example, is shipping method ups:
    PHP Code:
    substr_count($_SESSION['shipping']['id'], 'ups') !=0
    Payment module:
    PHP Code:
    $_SESSION['payment'
    This would give:
    moneyorder
    cc
    cod
    paypal
    etc.

    Now just control the $this->enabled in the module to decide when to show/hide the payment module ...
    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!

  3. #3
    Join Date
    Oct 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: ship to payment

    thank you Ajeh, I will create an admin contribution for shipping to paymet! Tnks

 

 

Similar Threads

  1. v151 Drop Ship and regualr ship into one setup?
    By amart79196 in forum Addon Shipping Modules
    Replies: 12
    Last Post: 1 Apr 2014, 04:10 PM
  2. checkout confirmation ship/payment questions
    By MB1 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 26 Jul 2010, 02:02 PM
  3. Setting-up USPS - problems with Ship From is Guam and Ship To is US
    By pamcc in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 26 Mar 2010, 03:07 AM
  4. Payment failure due to Ship To problem.
    By enquirer66 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 5 Jun 2008, 04:05 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