Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: payment options based on category - possible?

    In the event a customer orders both a subscription and a regular product, the entire order would be processed manually.

  2. #2
    Join Date
    Feb 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: payment options based on category - possible?

    Can someone please point me in the right direction? Maybe just give me a hint as to which files I should edit or maybe some syntax to detect if a product is of a certain category ID? I'm pushing a deadline and would really appreciate any help I could get. Thanks.

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

    Default Re: payment options based on category - possible?

    You can control whether or not a Payment module is displayed based on the:
    $this->enabled

    being true or false ...

    So, you can set a condition for that based on what is in the cart ...

    One method is to test if any of the Products in the cart use the master_categories_id that is for one set or the other set of Products ...

    I believe if you do a search on:
    $this->enabled

    you should find quite a few modules that give examples of various things that can be done to show or not show modules ...
    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. Is it possible to limit the payment options based on the product?
    By brimstone in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 9 Mar 2010, 09:25 AM
  2. Payment options based on customer type
    By scottmcclean in forum Managing Customers and Orders
    Replies: 3
    Last Post: 18 Dec 2009, 09:34 AM
  3. Region based Payment Options - help please!
    By entica in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 3 Apr 2009, 03:22 AM
  4. More payment options based on check and money order
    By martyndw2005 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Jan 2008, 03:43 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