Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    58
    Plugin Contributions
    0

    Default Payment Module Cloning Question.

    Hello,

    I have read and used Ajeh's excellent post on cloning the flat rate shipping, And I would like to do the same with the check/money order payment module.

    Can any module be cloned or specifically the check/money order payment module?

    Thanks in advance for any response,

    Steve
    Stuff: ZC v1.37 | Linux | mysql v 4.1x | php v 4.4x | phpmyadmin v 2.6x | Default Template

    Mods: Login Box v 1.41

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

    Default Re: Payment Module Cloning Question.

    As check/money order is not a true gateway with another system, but rather gathers just the bare info of saying "The check is in the mail ...", then it could be cloned in the same manner as Flat Rate flat shipping module where, if the cloned filename is:
    flatusa

    it would use:
    flatusa for flat
    FLATUSA for FLAT

    so Check/Money Order moneyorder would use for a clone called:
    somethingelse.php

    and it would use
    somethingelse for moneyorder
    SOMETHINGELSE for MONEYORDER
    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
    Mar 2007
    Posts
    58
    Plugin Contributions
    0

    Default Re: Payment Module Cloning Question.

    Thank you Linda,

    "Bare info" is exactly what I need.

    Steve
    Stuff: ZC v1.37 | Linux | mysql v 4.1x | php v 4.4x | phpmyadmin v 2.6x | Default Template

    Mods: Login Box v 1.41

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

    Default Re: Payment Module Cloning Question.

    You are most welcome ... glad that this was able to help you in cloning a payment method ...
    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
    Mar 2007
    Posts
    58
    Plugin Contributions
    0

    Default Re: Payment Module Cloning Question.

    Dang,
    I always get confused on the template overrides.

    I know the altered language file goes to /cart/includes/languages/english/modules/payment/MY_TEMPLATE/moneyorder.php but where do I place the altered /cart/includes/modules/payment/moneyorder.php ?

    My brain just doesn't get the override file structure.

    Thanks for any help,

    Steve
    Stuff: ZC v1.37 | Linux | mysql v 4.1x | php v 4.4x | phpmyadmin v 2.6x | Default Template

    Mods: Login Box v 1.41

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Payment Module Cloning Question.

    If you're cloning, then you're creating a new module, with new filenames, so there's no need to do overrides.
    .

    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. Cloning cod payment option
    By the.rampage.rado in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 2 Feb 2013, 11:58 PM
  2. Cloning Payment Customization
    By dbjsi83474 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 13 Aug 2011, 07:03 PM
  3. Shipping module cloning
    By jmp04 in forum Built-in Shipping and Payment Modules
    Replies: 21
    Last Post: 11 Dec 2010, 02:36 PM
  4. Cloning Store Pickup module question
    By ajcannon in forum Addon Shipping Modules
    Replies: 2
    Last Post: 4 Oct 2006, 07:09 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